From 2d4c3f65e2dfb60152b9adef366bb4c266599448 Mon Sep 17 00:00:00 2001 From: Ido Schimmel Date: Tue, 23 Jun 2020 23:06:09 +0300 Subject: [PATCH] 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 --- man/man8/devlink-trap.8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2