]> git.proxmox.com Git - mirror_iproute2.git/commit
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)
commit2d4c3f65e2dfb60152b9adef366bb4c266599448
tree6d89ac660e4419afff0aaa31a8561150c2d08a32
parenteb09a15c12fb597de39303c8bc327d17eb04126b
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>
man/man8/devlink-trap.8