diff options
author | Roi Dayan <roid@mellanox.com> | 2018-03-12 14:58:47 +0200 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2018-03-21 09:59:29 +0100 |
commit | 83e866067ea67807e573c64fc6ee69d47f6d5b7c (patch) | |
tree | 9b0718fd4b2a8bfabaaca364dbb981795109c579 /include/linux/pkt_cls.h | |
parent | 40c5aa11b1ac1c90aeacb197c3fb0e0dac9cc382 (diff) | |
download | openvswitch-83e866067ea67807e573c64fc6ee69d47f6d5b7c.tar.gz |
netdev-tc-offloads: Add support for IP fragmentation
Add support for frag no, first and later.
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Shahar Klein <shahark@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'include/linux/pkt_cls.h')
-rw-r--r-- | include/linux/pkt_cls.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h index f7bc7ea70..60976f3f7 100644 --- a/include/linux/pkt_cls.h +++ b/include/linux/pkt_cls.h @@ -1,7 +1,7 @@ #ifndef __LINUX_PKT_CLS_WRAPPER_H #define __LINUX_PKT_CLS_WRAPPER_H 1 -#if defined(__KERNEL__) || defined(HAVE_TCA_FLOWER_KEY_IP_TTL_MASK) +#if defined(__KERNEL__) || defined(HAVE_TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST) #include_next <linux/pkt_cls.h> #else @@ -201,8 +201,9 @@ enum { enum { TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = (1 << 0), + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = (1 << 1), }; -#endif /* __KERNEL__ || !HAVE_TCA_FLOWER_KEY_IP_TTL_MASK */ +#endif /* __KERNEL__ || !HAVE_TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST */ #endif /* __LINUX_PKT_CLS_WRAPPER_H */ |