Thread (15 messages) 15 messages, 8 authors, 2020-02-19

Re: [RFC net-next] net: mvneta: align xdp stats naming scheme to mlx5 driver

From: David Ahern <hidden>
Date: 2020-02-18 23:24:20
Also in: bpf

On 2/18/20 4:19 PM, Daniel Borkmann wrote:
On 2/18/20 11:23 PM, Toke Høiland-Jørgensen wrote:
quoted
Jakub Kicinski [off-list ref] writes:
quoted
On Tue, 18 Feb 2020 01:14:29 +0100 Lorenzo Bianconi wrote:
quoted
Introduce "rx" prefix in the name scheme for xdp counters
on rx path.
Differentiate between XDP_TX and ndo_xdp_xmit counters

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Sorry for coming in late.

I thought the ability to attach a BPF program to a fexit of another BPF
program will put an end to these unnecessary statistics. IOW I maintain
my position that there should be no ethtool stats for XDP.

As discussed before real life BPF progs will maintain their own stats
at the granularity of their choosing, so we're just wasting datapath
cycles.
+1
There is value in having something as essential as stats available
through standard APIs and tooling. mlx5, i40e, sfc, etc, etc already
provide stats via ethtool. This patch is making mvneta consistent with
existing stats from these other drivers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help