devlink: Document zero policer identifier
When setting a policer to a trap group, a value of "0" will unbind the currently bound policer from the group. The behavior is intentional and tested in kernel selftests, so document it. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Suggested-by: Alex Kushnarov <alexanderk@mellanox.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
eb09a15c12
commit
2d4c3f65e2
|
|
@ -118,7 +118,8 @@ skipped.
|
|||
|
||||
.TP
|
||||
.BI policer " POLICER"
|
||||
packet trap policer. The policer to bind to the packet trap group.
|
||||
packet trap policer. The policer to bind to the packet trap group. A value of
|
||||
"0" will unbind the currently bound policer.
|
||||
|
||||
.TP
|
||||
.B nopolicer
|
||||
|
|
|
|||
Loading…
Reference in New Issue