summaryrefslogtreecommitdiff
path: root/drivers/uwb/uwb-debug.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2016-04-30 08:25:27 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-03 02:27:06 (GMT)
commit97a47facf3468fb6ebd697324fc2a7245755c417 (patch)
tree10bc448c6ffb007070c0e031976178d821205a00 /drivers/uwb/uwb-debug.c
parente8872a25a05efcf0a133ca7ed6511fe9f908dc41 (diff)
downloadlinux-97a47facf3468fb6ebd697324fc2a7245755c417.tar.xz
net: rtnetlink: add linkxstats callbacks and attribute
Add callbacks to calculate the size and fill link extended statistics which can be split into multiple messages and are dumped via the new rtnl stats API (RTM_GETSTATS) with the IFLA_STATS_LINK_XSTATS attribute. Also add that attribute to the idx mask check since it is expected to be able to save state and resume dumping (e.g. future bridge per-vlan stats will be dumped via this attribute and callbacks). Each link type should nest its private attributes under the per-link type attribute. This allows to have any number of separated private attributes and to avoid one call to get the dev link type. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uwb/uwb-debug.c')
0 files changed, 0 insertions, 0 deletions