Thread (10 messages) 10 messages, 5 authors, 18d ago

RE: [Intel-wired-lan] [PATCH iwl-next v2 1/4] ice: pass the return value of skb_checksum_help()

From: Rinitha, SX <hidden>
Date: 2026-06-02 03:56:14
Also in: intel-wired-lan

-----Original Message-----
From: Intel-wired-lan <redacted> On Behalf Of Michal Swiatkowski
Sent: 12 May 2026 14:17
To: intel-wired-lan@lists.osuosl.org
Cc: netdev@vger.kernel.org; Michal Swiatkowski <redacted>; Loktionov, Aleksandr <redacted>
Subject: [Intel-wired-lan] [PATCH iwl-next v2 1/4] ice: pass the return value of skb_checksum_help()

skb_checksum_help() can fail. Pass its return value back to the caller.

Commonize this software path in goto.

Instead of just returning error try calculating software checksum first.
There is a check for TSO in checksum_sw_fb.

Reviewed-by: Aleksandr Loktionov <redacted>
Signed-off-by: Michal Swiatkowski <redacted>
---
drivers/net/ethernet/intel/ice/ice_txrx.c | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
Tested-by: Rinitha S <redacted> (A Contingent worker at Intel)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help