Subject: Re: [PATCH net-next V2 3/5] net/mlx5e: Report TX csum netdev stats

From: Jakub Kicinski <[email-masked]>
Date: Thu, 12 Mar 2026 07:22:26 -0700

On Thu, 12 Mar 2026 11:50:10 +0200 Gal Pressman wrote:
> > Looking at drivers currently implementing this it seems like the idea
> > was to avoid having to increment two counters in the drivers, given
> > that TSO always implies csum offload  
> 
> I don't think I understand what you're trying to say here.

The existing drivers seem to do something like:

	tx->needs_csum += just_csum + tso_segs;

IOW for packets that need tso/uso they don't increment any csum stat 
on the fastpath.