summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorNogah Frankel <nogahf@mellanox.com>2016-09-16 16:05:38 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-19 05:33:42 +0300
commitfc1bbb0f1831cc22326c86fb21d88cca44999b3e (patch)
tree9ac04fd87ecd80fd0a46b03b48748ba06c8075d7 /include/linux/errqueue.h
parent69ae6ad2ff37911903a90256e216d7e7ae460002 (diff)
downloadlinux-fc1bbb0f1831cc22326c86fb21d88cca44999b3e.tar.xz
mlxsw: spectrum: Implement offload stats ndo and expose HW stats by default
Change the default statistics ndo to return HW statistics (like the one returned by ethtool_ops). The HW stats are collected to a cache by delayed work every 1 sec. Implement the offload stat ndo. Add a function to get SW statistics, to be called from this function. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions