diff options
author | Nikolay Aleksandrov | 2016-04-30 10:25:29 +0200 |
---|---|---|
committer | David S. Miller | 2016-05-03 04:27:06 +0200 |
commit | a60c090361ea211625c27052dbbc11c5222e20e4 (patch) | |
tree | 21fd3ce2e442872d56b118959936170c35a91771 /include/linux/semaphore.h | |
parent | bridge: vlan: learn to count (diff) | |
download | kernel-qcow2-linux-a60c090361ea211625c27052dbbc11c5222e20e4.tar.gz kernel-qcow2-linux-a60c090361ea211625c27052dbbc11c5222e20e4.tar.xz kernel-qcow2-linux-a60c090361ea211625c27052dbbc11c5222e20e4.zip |
bridge: netlink: export per-vlan stats
Add a new LINK_XSTATS_TYPE_BRIDGE attribute and implement the
RTM_GETSTATS callbacks for IFLA_STATS_LINK_XSTATS (fill_linkxstats and
get_linkxstats_size) in order to export the per-vlan stats.
The paddings were added because soon these fields will be needed for
per-port per-vlan stats (or something else if someone beats me to it) so
avoiding at least a few more netlink attributes.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/semaphore.h')
0 files changed, 0 insertions, 0 deletions