netdev
[Top] [All Lists]

Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Thu, 19 May 2005 13:43:03 -0700
Cc: herbert@xxxxxxxxxxxxxxxxxxx, jdmason@xxxxxxxxxx, shemminger@xxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050519.115141.21926463.davem@xxxxxxxxxxxxx>
References: <E1DYayB-0005Sk-00@xxxxxxxxxxxxxxxxxxxxxxxx> <428CAC55.4000202@xxxxxxxxxx> <20050519.115141.21926463.davem@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707
David S. Miller wrote:

I think instead we should look at ways to propagate
the hardware device features to the bridge.  Even if
a bridge is composed of multiple devices, we just
advertise the subset of features actually supported.

Just for some background:

In the typical Xen virtual environment, the primary
interface is typically bridged with virtual interfaces
that talk to other partitions.

Since currently the bridge doesn't advertise them,
this results in the loss of hw checksum offload,
segmentation offload, and sendfile exploitation
(sendfile() falls down to the usual tcp_sendmsg()
case) etc on the primary partition traffic talking
to remote hosts.

This can be rather painful, and performance comparisons
with other OSs which don't do this are even more of
an apples to oranges comparison since this is
somewhat silently happening.

Hence the need for enhancing the bridging environment
somewhat :).

thanks,
Nivedita


<Prev in Thread] Current Thread [Next in Thread>