[ovs-dev] [PATCH 3/4] datapath: Add definition for FCoE offload.
Jesse Gross
jesse at nicira.com
Sun Feb 6 00:14:48 UTC 2011
FCoE offload was introduced in 2.6.30, so this introduces a null
definition for it on earlier kernels.
Signed-off-by: Jesse Gross <jesse at nicira.com>
---
.../linux-2.6/compat-2.6/include/linux/netdevice.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h b/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
index d44312f..da24b1c 100644
--- a/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
+++ b/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
@@ -137,4 +137,8 @@ static inline struct net_device *dev_get_by_index_rcu(struct net *net, int ifind
}
#endif
+#ifndef NETIF_F_FSO
+#define NETIF_F_FSO 0
+#endif
+
#endif
--
1.7.1
More information about the dev
mailing list