Re: [PATCH net 3/3] net/mlx5e: Account for netdev stats in ndo_get_stats64

From: Jakub Kicinski

Date: Tue Jan 27 2026 - 22:53:36 EST


On Mon, 26 Jan 2026 09:14:55 +0200 Tariq Toukan wrote:
> The driver's ndo_get_stats64 callback is only reporting mlx5 counters,
> without accounting for the netdev stats, causing errors from the network
> stack to be invisible in statistics.

I cooked up a patch to fix this generically in the core... but I can't
actually find any "errors from the network stack" that are accounted
to dev->stats. Could you be more specific about the issues you were
seeing?