diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2020-05-15 13:40:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-15 19:23:11 +0200 |
commit | ca44b738e59420ae73d9e04a1be630a405e3a0f1 (patch) | |
tree | 784b626e5506912ca66f140dfdbf28d0e4ab73a6 /COPYING | |
parent | net: sched: introduce terse dump flag (diff) | |
download | linux-ca44b738e59420ae73d9e04a1be630a405e3a0f1.tar.xz linux-ca44b738e59420ae73d9e04a1be630a405e3a0f1.zip |
net: sched: implement terse dump support in act
Extend tcf_action_dump() with boolean argument 'terse' that is used to
request terse-mode action dump. In terse mode only essential data needed to
identify particular action (action kind, cookie, etc.) and its stats is put
to resulting skb and everything else is omitted. Implement
tcf_exts_terse_dump() helper in cls API that is intended to be used to
request terse dump of all exts (actions) attached to the filter.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions