From: Ido Schimmel Date: Tue, 23 Jun 2020 20:06:09 +0000 (+0300) Subject: devlink: Document zero policer identifier X-Git-Tag: v5.8.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d4c3f65e2dfb60152b9adef366bb4c266599448;p=thirdparty%2Fiproute2.git 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 Suggested-by: Alex Kushnarov Signed-off-by: Stephen Hemminger --- diff --git a/man/man8/devlink-trap.8 b/man/man8/devlink-trap.8 index 1e6934275..f5e66412f 100644 --- a/man/man8/devlink-trap.8 +++ b/man/man8/devlink-trap.8 @@ -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