Thread (73 messages) 73 messages, 13 authors, 2021-12-01

Re: [PATCH v2 net-next 05/26] enetc: implement generic XDP stats callbacks

From: Alexander Lobakin <hidden>
Date: 2021-11-24 11:38:48
Also in: bpf, linux-rdma, lkml, netdev

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: Tue, 23 Nov 2021 17:09:20 +0000
On Tue, Nov 23, 2021 at 05:39:34PM +0100, Alexander Lobakin wrote:
quoted
Similarly to dpaa2, enetc stores 5 per-channel counters for XDP.
Add necessary callbacks to be able to access them using new generic
XDP stats infra.

Signed-off-by: Alexander Lobakin <redacted>
Reviewed-by: Jesse Brandeburg <redacted>
---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Thanks!
These counters can be dropped from ethtool, nobody depends on having
them there.
Got it, thanks. I'll remove them in v3 or, in case v2 gets accepted,
will send a follow-up patch(es) for removing redundant Ethtool
stats.
Side question: what does "nch" stand for?
"The number of channels". I was thinking of an intuitial, but short
term, as get_xdp_stats_channels is too long and breaks Tab aligment
of tons of net_device_ops across the tree.
It was "nqs" /number of queues/ previously, but we usually use term
"queue" referring to one-direction ring, in case of these stats and
XDP in general "queue pair" or simply "channel" is more correct.

Thanks,
Al
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help