]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
devlink: Document zero policer identifier
authorIdo Schimmel <idosch@mellanox.com>
Tue, 23 Jun 2020 20:06:09 +0000 (23:06 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 6 Jul 2020 18:14:24 +0000 (11:14 -0700)
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>
man/man8/devlink-trap.8

index 1e69342758d5a4d797928716ce15e72d54222766..f5e66412f1b72574b9c566c6a2465c840d36d4c0 100644 (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