Re: [PATCH net-next 03/21] ethtool, stats: introduce standard XDP statistics

From: Alexander Lobakin
Date: Tue Oct 26 2021 - 05:24:04 EST


From: Saeed Mahameed <saeed@xxxxxxxxxx>
Date: Tue, 03 Aug 2021 16:57:22 -0700

[ snip ]

> XDP is going to always be eBPF based ! why not just report such stats
> to a special BPF_MAP ? BPF stack can collect the stats from the driver
> and report them to this special MAP upon user request.

I really dig this idea now. How do you see it?
<ifindex:channel:stat_id> as a key and its value as a value or ...?

[ snip ]

Thanks,
Al