Alex Romosan <[EMAIL PROTECTED]> 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~} <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html