Re: [RFC] IPV6 checksum offloading in network devices

2007-06-27 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> 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 offlo

Re: [RFC] IPV6 checksum offloading in network devices

2007-05-30 Thread Stephen Hemminger
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 f

Re: [RFC] IPV6 checksum offloading in network devices

2007-05-30 Thread Patrick McHardy
Stephen Hemminger wrote: > Here is a proposed change to address hardware that can do IPV6 checksum > offload, but doesn't truly do generic hw checksumming. The bnx2 and tg3 > are like this for some revisions, and upcoming Marvell 88e8071 is similar. > > > --- a/include/linux/netdevice.h 20

[RFC] IPV6 checksum offloading in network devices

2007-05-30 Thread Stephen Hemminger
Here is a proposed change to address hardware that can do IPV6 checksum offload, but doesn't truly do generic hw checksumming. The bnx2 and tg3 are like this for some revisions, and upcoming Marvell 88e8071 is similar. --- a/drivers/net/bnx2.c2007-05-30 08:26:18.0 -0700 +++ b/dri