summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-03-18 16:56:34 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-22 01:00:26 -0700
commit27660515a21bf913e3208ded3f27abd0529fae0e (patch)
treee07baa50f459b227eff6aa0dfbb6041f501bfb90 /include/linux
parent736561a01f11114146b1b7f82d486fa9c95828ef (diff)
downloadop-kernel-dev-27660515a21bf913e3208ded3f27abd0529fae0e.zip
op-kernel-dev-27660515a21bf913e3208ded3f27abd0529fae0e.tar.gz
net: implement dev_disable_lro() hw_features compatibility
Implement compatibility with new hw_features for dev_disable_lro(). This is a transition path - dev_disable_lro() should be later integrated into netdev_fix_features() after all drivers are converted. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ethtool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index b297f28..ae757bc 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -648,6 +648,9 @@ enum ethtool_sfeatures_retval_bits {
#include <linux/rculist.h>
+/* needed by dev_disable_lro() */
+extern int __ethtool_set_flags(struct net_device *dev, u32 flags);
+
struct ethtool_rx_ntuple_flow_spec_container {
struct ethtool_rx_ntuple_flow_spec fs;
struct list_head list;
OpenPOWER on IntegriCloud