]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: add STP xstats
authorVivien Didelot <vivien.didelot@gmail.com>
Thu, 12 Dec 2019 01:07:10 +0000 (20:07 -0500)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 15 Dec 2019 04:02:36 +0000 (20:02 -0800)
commitde1799667b002331609e8ee6b924ccfd51968d99
treee8793d7755a11bd522455a4913cdb24788dd9086
parentea6a547669b37453f2b1a5d85188d75b3613dfaa
net: bridge: add STP xstats

This adds rx_bpdu, tx_bpdu, rx_tcn, tx_tcn, transition_blk,
transition_fwd xstats counters to the bridge ports copied over via
netlink, providing useful information for STP.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
include/uapi/linux/if_bridge.h
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_stp.c
net/bridge/br_stp_bpdu.c