[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070627.004453.55726417.davem@davemloft.net>
Date: Wed, 27 Jun 2007 00:44:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: kaber@...sh.net, herbert.xu@...hat.com, netdev@...r.kernel.org,
mchan@...adcom.com
Subject: Re: [RFC] IPV6 checksum offloading in network devices
From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Wed, 30 May 2007 14:00:34 -0700
> This is better.
> There is still a possiblity when a device allows IPV6 and not IPV4
> checksumming, that the checksum will be done in the fixup code in
> dev_queue_xmit.
>
> The existing model for checksum offload does not correctly handle
> devices that can offload IPV4 and IPV6 only. The NETIF_F_HW_CSUM flag
> implies device can do any arbitrary protocol.
>
> This patch:
> * adds NETIF_F_IPV6_CSUM for those devices
> * fixes bnx2 and tg3 devices that need it
> * add NETIF_F_IPV6_CSUM to ipv6 output (incl GSO)
> * fixes assumptions about NETIF_F_ALL_CSUM in nat
> * adjusts bridge union of checksumming computation
I've applied this to net-2.6.23, we can back it out or rework
it if there are problems.
Several of these checksum feature tests are getting out of
hand :-)
-
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