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:
Ido Schimmel 2020-06-23 23:06:09 +03:00 committed by Stephen Hemminger
parent eb09a15c12
commit 2d4c3f65e2
1 changed files with 2 additions and 1 deletions

View File

@ -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