> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of 
> Michal Swiatkowski
> Sent: Tuesday, April 28, 2026 12:07 AM
> To: [email protected]
> Cc: [email protected]; [email protected]; Nguyen, Anthony L 
> <[email protected]>; Kitszel, Przemyslaw 
> <[email protected]>; Loktionov, 
> Aleksandr <[email protected]>; Michal Swiatkowski 
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-net v1 2/2] ice: use NETIF_F_HW_CSUM 
> instead of IP/IPV6
> 
> The hardware is capable of calculating checksum for IPV6 packets with 
> extension header. To not drop 
> such packets switch from IP/IPV6 checksum to HW_CSUM.
> 
> HW_CSUM is also used in previous generation (i40e).
> 
> Previously HW_CSUM was used to indicate that hardware supports general 
> checksum. Drop it assuming 
> that if the hardware supports it, it is used.
> 
> Disabling offload for E830 in case of TSO isn't needed anymore as the check 
> for TSO is done in Tx path 
> just before preparation of the special GCS descriptor.
> 
> The commit from Fixes didn't introduce a bug, it just shown that the driver 
> is doing sth wrong with the 
> checksum features.
> 
> Suggested-by: Jakub Ramaseuski <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> Fixes: 04c20a9356f2 ("net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header 
> contains extension")
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 21 +--------------------
>  1 file changed, 1 insertion(+), 20 deletions(-)

Tested-by: Alexander Nowlin <[email protected]>

Reply via email to