]> git.baikalelectronics.ru Git - kernel.git/commit
net: convert xen-netfront to hw_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 31 Mar 2011 01:01:35 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Apr 2011 03:56:29 +0000 (20:56 -0700)
commit6e568406034efd15c426561fa3ebc616de716a03
treec2871d863a9f0bd601bfc737cda441e27d6a577d
parent2035fa41c44fb4dec1887cbd97a8fa4ec808d9de
net: convert xen-netfront to hw_features

Not tested in any way. The original code for offload setting seems broken
as it resets the features on every netback reconnect.

This will set GSO_ROBUST at device creation time (earlier than connect time).

RX checksum offload is forced on - so advertise as it is.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c