git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Inline trivial functions.
[sliver-openvswitch.git]
/
datapath
/
compat.h
diff --git
a/datapath/compat.h
b/datapath/compat.h
index
bc7e880
..
f8f0469
100644
(file)
--- a/
datapath/compat.h
+++ b/
datapath/compat.h
@@
-32,10
+32,10
@@
static inline void skb_clear_rxhash(struct sk_buff *skb)
#endif
}
#endif
}
-#if
def HAVE_PARALLEL_OPS
-#define
SET_PARALLEL_OPS .parallel_ops = true,
+#if
LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
+#define
GROUP_ID(grp) 0
#else
#else
-#define
SET_PARALLEL_OPS
+#define
GROUP_ID(grp) ((grp)->id)
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)