Re: [PATCH net-next v2] ixgbe: implement get_queue_stats_rx
From: Simon Horman
Date: Mon Jun 08 2026 - 14:55:50 EST
On Wed, Jun 03, 2026 at 11:18:51PM +0530, Kshitiz Bartariya wrote:
> Hook into the netdev_stat_ops interface to expose per RX queue
> statistics through the netdev generic netlink API.
>
> The following counters are filled:
>
> - alloc_fail: sum of alloc_rx_page_failed and alloc_rx_buff_failed
>
> - csum_bad: maps directly to csum_err, which is incremented for both
> IP header and L4 checksum errors in ixgbe_rx_checksum().
>
> The new per-queue stats can be observed with:
> $ ynltool qstats show scope queue
>
> Signed-off-by: Kshitiz Bartariya <kshitiz.bartariya@xxxxxxxxxxx>
> ---
> v2:
> Amended commit message with command to get RX queue stats as
> suggested by Jedrzej Jagielski.
>
> v1: https://lore.kernel.org/lkml/20260602100932.21838-1-kshitiz.bartariya@xxxxxxxxxxx/
>
>
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
Hi Kshitiz,
There is AI-generated review of this patch-set available on both
https://sashiko.dev and https://netdev-ai.bots.linux.dev/sashiko/
I would appreciate it if you could look over that.