Stephen Hemminger
2019-Dec-10 00:13 UTC
[Bridge] [PATCH iproute2 v2] iplink: add support for STP xstats
On Mon, 9 Dec 2019 18:05:22 -0500 Vivien Didelot <vivien.didelot at gmail.com> wrote:> Add support for the BRIDGE_XSTATS_STP xstats, as follow: > > # ip link xstats type bridge_slave dev lan5 > STP BPDU: > RX: 0 > TX: 39 > STP TCN: > RX: 0 > TX: 0 > STP Transitions: > Blocked: 0 > Forwarding: 1 > IGMP queries: > RX: v1 0 v2 0 v3 0 > TX: v1 0 v2 0 v3 0 > ...Might I suggest a more concise format: STP BPDU: RX: 0 TX: 39 STP TCN: RX: 0 TX:0 STP Transitions: Blocked: 0 Forwarding: 1 ...
Vivien Didelot
2019-Dec-10 18:16 UTC
[Bridge] [PATCH iproute2 v2] iplink: add support for STP xstats
Hi Stephen, On Mon, 9 Dec 2019 16:13:45 -0800, Stephen Hemminger <stephen at networkplumber.org> wrote:> On Mon, 9 Dec 2019 18:05:22 -0500 > Vivien Didelot <vivien.didelot at gmail.com> wrote: > > > Add support for the BRIDGE_XSTATS_STP xstats, as follow: > > > > # ip link xstats type bridge_slave dev lan5 > > STP BPDU: > > RX: 0 > > TX: 39 > > STP TCN: > > RX: 0 > > TX: 0 > > STP Transitions: > > Blocked: 0 > > Forwarding: 1 > > IGMP queries: > > RX: v1 0 v2 0 v3 0 > > TX: v1 0 v2 0 v3 0 > > ... > > Might I suggest a more concise format: > STP BPDU: RX: 0 TX: 39 > STP TCN: RX: 0 TX:0 > STP Transitions: Blocked: 0 Forwarding: 1 > ...I don't mind if you prefer this format ;-)