[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 15 Dec 2006 13:24:32 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: romosan@...orax.lbl.gov (Alex Romosan)
Cc: shemminger@...l.org, netdev@...r.kernel.org
Subject: Re: 2.6.20-rc1 sky2 problems (regression?)
Alex Romosan <romosan@...orax.lbl.gov> wrote:
/** does the HW need to evaluate checksum for TCP or UDP packets?
> if (pMessage->ip_summed == CHECKSUM_HW)
>
> maybe this needs to be replace with CHECKSUM_PARTIAL. the second one
>
> /** TCP checksum offload
> if ((pSKPacket->pMbuf->ip_summed == CHECKSUM_HW) &&
> (SetOpcodePacketFlag == SK_TRUE)
>
> i wonder if this is supposed to be CHECKSUM_COMPLETE
The rule of thumb is that it's COMPLETE for RX, and PARTIAL for TX.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists