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)
commitfb507934fd6faa00b3d833facb53b90c71ddc307
treec2871d863a9f0bd601bfc737cda441e27d6a577d
parent78e47fe4194ca7fac2cc29d25f1327db86922724
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