diff options
author | Petr Machata <petrm@nvidia.com> | 2024-03-06 15:49:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-08 13:35:46 +0300 |
commit | a207eab1039b501daddc8e729c9cc5d99fe93d18 (patch) | |
tree | f752c6c25c5301067ee241a3efa874be32ca3185 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2118f9390d83cf942de8b34faf3d35b54f9f4eee (diff) | |
download | linux-a207eab1039b501daddc8e729c9cc5d99fe93d18.tar.xz |
net: nexthop: Add NHA_OP_FLAGS
In order to add per-nexthop statistics, but still not increase netlink
message size for consumers that do not care about them, there needs to be a
toggle through which the user indicates their desire to get the statistics.
To that end, add a new attribute, NHA_OP_FLAGS. The idea is to be able to
use the attribute for carrying of arbitrary operation-specific flags, i.e.
not make it specific for get / dump.
Add the new attribute to get and dump policies, but do not actually allow
any flags yet -- those will come later as the flags themselves are defined.
Add the necessary parsing code.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions