[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191216204541.0540deb2@hermes.lan>
Date: Mon, 16 Dec 2019 20:45:41 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vivien Didelot <vivien.didelot@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>,
netdev@...r.kernel.org, bridge@...ts.linux-foundation.org,
David Ahern <dsahern@...il.com>
Subject: Re: [PATCH iproute2 v4] iplink: add support for STP xstats
On Wed, 11 Dec 2019 20:07:11 -0500
Vivien Didelot <vivien.didelot@...il.com> wrote:
> Add support for the BRIDGE_XSTATS_STP xstats, as follow:
>
> # ip link xstats type bridge_slave dev lan4 stp
> lan4
> STP BPDU: RX: 0 TX: 61
> STP TCN: RX: 0 TX: 0
> STP Transitions: Blocked: 2 Forwarding: 1
>
> Or below as JSON:
>
> # ip -j -p link xstats type bridge_slave dev lan0 stp
> [ {
> "ifname": "lan0",
> "stp": {
> "rx_bpdu": 0,
> "tx_bpdu": 500,
> "rx_tcn": 0,
> "tx_tcn": 0,
> "transition_blk": 0,
> "transition_fwd": 0
> }
> } ]
>
> Signed-off-by: Vivien Didelot <vivien.didelot@...il.com>
This patch depends on new kernel features, should be to iproute2-next
Powered by blists - more mailing lists