summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2024-03-06 15:49:18 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-08 13:35:47 +0300
commit95fedd7685912f96304615efe50485588b1c3567 (patch)
tree2cbe1e76b6a7f0d77872c383ef3430f71dbc3006 /init
parentf4676ea74b8549cd88dbfe2a592ce4530039e61f (diff)
downloadlinux-95fedd7685912f96304615efe50485588b1c3567.tar.xz
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 'init')
0 files changed, 0 insertions, 0 deletions