X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fcompat.h;h=65734ff151bc1424c2a534c47bab3478d3330978;hb=14002a5984e97f0f2482acdbb445c45266e2c6a1;hp=4dfd1926df979ad354e287fb1497ab08966951fb;hpb=9b764edf063160f3428b85cc0a1bb52bd3f51061;p=sliver-openvswitch.git diff --git a/datapath/compat.h b/datapath/compat.h index 4dfd1926d..65734ff15 100644 --- a/datapath/compat.h +++ b/datapath/compat.h @@ -61,6 +61,13 @@ static inline void skb_clear_rxhash(struct sk_buff *skb) #define SET_NETNSOK .netnsok = true, #endif +#ifdef HAVE_PARALLEL_OPS +#define SET_PARALLEL_OPS .parallel_ops = true, +#else +#define SET_PARALLEL_OPS +#endif + + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) #ifdef CONFIG_NETFILTER static inline u32 skb_get_mark(struct sk_buff *skb)