Thread (5 messages) flat view 5 messages, 2 authors, 2011-07-15

Re: [PATCH 07/10] net: remove NETIF_F_NO_CSUM feature

From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date: 2011-07-14 20:56:25

On Wed, Jul 13, 2011 at 05:30:37PM -0700, Tom Herbert wrote:
On Wed, Jul 13, 2011 at 5:23 PM, Ben Hutchings [off-list ref]wrote:
quoted
On Thu, 2011-07-14 at 02:10 +0200, Michał Mirosław wrote:
quoted
There are no explicit users, so this is now equivalent to
NETIF_F_HW_CSUM.
[...]
I think this is still a useful distinction, even the networking core
currently doesn't care about the difference.
Agreed.  It seems like this is the only way to distinguish virtual devices
from HW devices (like we did with nocachecopy check).
You can't reliably detect virtual devices by this method. No tunnel devices
use this flag and it also doesn't detect e.g. IPsec being used on the route
(and no-cache copy should be disabled at least for software encryption).

That's why its turned off by default and should be enabled only when user
knows he will win some pps with it.

Best Regards,
Michał Mirosław
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help