| To: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming |
| From: | Nivedita Singhvi <niv@xxxxxxxxxx> |
| Date: | Thu, 19 May 2005 08:10:13 -0700 |
| Cc: | Jon Mason <jdmason@xxxxxxxxxx>, shemminger@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <E1DYayB-0005Sk-00@xxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <E1DYayB-0005Sk-00@xxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 |
Herbert Xu wrote: Jon Mason <jdmason@xxxxxxxxxx> wrote:checksum and scatter gather as features of the bridge device. In the case that the physical ethernet device does not support scatter gather or hardware checksum, dev_queue_xmit() will check thedev->features and do the necessary linearization and calculate the checksum.Unfortunately skb_linearize is a lot more expensive than not generating the non-linear skb's in the first place. So this is going to hurt people using the bridge devices over physical devices that don't support SG. Fair point - though I would argue that devices that support SG are much more common now - so optimizing for the more common case might be preferable - since people using bridging with devices that support checksum offload are taking quite a hit when they do bridging - perhaps this could be a conditional? thanks, Nivedita |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Fw: 2.6.12-rc4-mm[12] - ULOG problem, jamal |
|---|---|
| Next by Date: | Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming, Nivedita Singhvi |
| Previous by Thread: | Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming, Herbert Xu |
| Next by Thread: | Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |