git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6ce3921
)
datapath: Add definition for FCoE offload.
author
Jesse Gross
<jesse@nicira.com>
Thu, 30 Dec 2010 21:13:04 +0000
(13:13 -0800)
committer
Jesse Gross
<jesse@nicira.com>
Mon, 7 Feb 2011 21:49:01 +0000
(13:49 -0800)
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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
patch
|
blob
|
history
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
(file)
--- 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