summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2024-03-06 13:49:18 +0100
committerDavid S. Miller <davem@davemloft.net>2024-03-08 10:35:47 +0000
commit95fedd7685912f96304615efe50485588b1c3567 (patch)
tree2cbe1e76b6a7f0d77872c383ef3430f71dbc3006 /include/net
parentf4676ea74b8549cd88dbfe2a592ce4530039e61f (diff)
net: nexthop: Expose nexthop group stats to user space
Add netlink support for reading NH group stats. This data is only for statistics of the traffic in the SW datapath. HW nexthop group statistics will be added in the following patches. Emission of the stats is keyed to a new op_stats flag to avoid cluttering the netlink message with stats if the user doesn't need them: NHA_OP_FLAG_DUMP_STATS. Co-developed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions