Re: [PATCH v2 net-next 21/26] ice: add XDP and XSK generic per-channel statistics
From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-11-30 15:14:21
Also in:
bpf, linux-doc, lkml, netdev
From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-11-30 15:14:21
Also in:
bpf, linux-doc, lkml, netdev
On Tue, 30 Nov 2021 12:55:47 +0100 Petr Machata wrote:
I still think it would be better to report HW_STATS explicitly as well though. One reason is simply convenience. The other is that OK, now we have SW stats, and XDP stats, and total stats, and I (as a client) don't necessarily know how it all fits together. But the contract for HW_STATS is very clear.
Would be good to check with Jiri, my recollection is that this argument was brought up when CPU_HIT stats were added. I don't recall the reasoning. <insert xkcd standards>