doubt about qla3xxx checksum "fix"
Subsystems (2)
David Miller
maintainerI don't think it's %100 right, I'm referring specifically to
e68a8c10c4c5daf363e946d10c1a5cba77d7f92c
Sure, qla3xxx is only handling ipv4 in that ql_hw_csum_setup() function, but if you check the call site it really wants CHECKSUM_PARTIAL skb's to work on. And CHECKSUM_PARTIAL skbs are only setup for paths that advertise the NETIF_F_HW_CSUM capability.
With Stephen's change it now won't checksum offload anything at all.
Quoted 9 lines · On Sun, 03 Jun 2007 18:00:51 -0700 (PDT) David Miller <[email protected]>…
I don't think it's %100 right, I'm referring specifically to
e68a8c10c4c5daf363e946d10c1a5cba77d7f92cSure, qla3xxx is only handling ipv4 in that
ql_hw_csum_setup()function, but if you check the call site it really wantsCHECKSUM_PARTIALskb's to work on. AndCHECKSUM_PARTIALskbs are only setup for paths that advertise theNETIF_F_HW_CSUMcapability.
CHECKSUM_PARTIAL is used on xmit for both NETIF_F_HWCSUM and NETIF_F_IPCSUM See acenic, 3c59x, ...
Signature · 1 line
Stephen Hemminger <[email protected]>
David Miller
maintainerFrom: Stephen Hemminger <[email protected]>
Date: Sun, 3 Jun 2007 18:50:59 -0700
Quoted 8 lines
Quoted 5 lines · On Sun, 03 Jun 2007 18:00:51 -0700 (PDT) David Miller <[email protected]>…
I don't think it's %100 right, I'm referring specifically to
e68a8c10c4c5daf363e946d10c1a5cba77d7f92c
Quoted 7 lines
Quoted 4 lines
Sure, qla3xxx is only handling ipv4 in that
ql_hw_csum_setup()function, but if you check the call site it really wantsCHECKSUM_PARTIALskb's to work on. AndCHECKSUM_PARTIALskbs are only setup for paths that advertise theNETIF_F_HW_CSUMcapability.
CHECKSUM_PARTIALis used on xmit for bothNETIF_F_HWCSUMandNETIF_F_IPCSUMSee acenic, 3c59x, ...
I missed that, thanks a lot Stephen.