> -----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 1/2] ice: always do GCS if > hardware supports it > > There is no need to check for NETIF_HW_CSUM. If the code reach calculating > checksum it means that > correct checksum flags are set, because kernel is checking that when setting > ip->summed. > > Instead of netdev feature flag use Tx ring flag to check if the hardware can > use special descriptor for > checksum calculating. > > Reviewed-by: Przemek Kitszel <[email protected]> > Reviewed-by: Aleksandr Loktionov <[email protected]> > Signed-off-by: Michal Swiatkowski <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_lib.c | 4 ++++ > drivers/net/ethernet/intel/ice/ice_txrx.c | 2 +- > drivers/net/ethernet/intel/ice/ice_txrx.h | 1 + > 3 files changed, 6 insertions(+), 1 deletion(-)
Tested-by: Alexander Nowlin <[email protected]>
