[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200623200609.77470-1-idosch@idosch.org>
Date: Tue, 23 Jun 2020 23:06:09 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...il.com,
alexanderk@...lanox.com, mlxsw@...lanox.com,
Ido Schimmel <idosch@...lanox.com>
Subject: [iproute2 master] devlink: Document zero policer identifier
From: Ido Schimmel <idosch@...lanox.com>
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@...lanox.com>
Suggested-by: Alex Kushnarov <alexanderk@...lanox.com>
---
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 1e69342758d5..f5e66412f1b7 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.26.2
Powered by blists - more mailing lists