summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2018-03-12 14:58:47 +0200
committerSimon Horman <simon.horman@netronome.com>2018-03-21 09:59:29 +0100
commit83e866067ea67807e573c64fc6ee69d47f6d5b7c (patch)
tree9b0718fd4b2a8bfabaaca364dbb981795109c579 /acinclude.m4
parent40c5aa11b1ac1c90aeacb197c3fb0e0dac9cc382 (diff)
downloadopenvswitch-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 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d61e37a5e..dd264b39a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -178,10 +178,10 @@ dnl Configure Linux tc compat.
AC_DEFUN([OVS_CHECK_LINUX_TC], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([#include <linux/pkt_cls.h>], [
- int x = TCA_FLOWER_KEY_IP_TTL_MASK;
+ int x = TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST;
])],
- [AC_DEFINE([HAVE_TCA_FLOWER_KEY_IP_TTL_MASK], [1],
- [Define to 1 if TCA_FLOWER_KEY_IP_TTL_MASK is avaiable.])])
+ [AC_DEFINE([HAVE_TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST], [1],
+ [Define to 1 if TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST is avaiable.])])
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([#include <linux/tc_act/tc_vlan.h>], [