diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2016-04-30 10:25:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-02 22:27:06 -0400 |
commit | a60c090361ea211625c27052dbbc11c5222e20e4 (patch) | |
tree | 21fd3ce2e442872d56b118959936170c35a91771 /drivers/scsi/sr.h | |
parent | 6dada9b10a0818ba72c249526a742c8c41274a73 (diff) |
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 'drivers/scsi/sr.h')
0 files changed, 0 insertions, 0 deletions