aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tc_act/tc_ife.h
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2017-02-01 15:30:03 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-03 15:16:46 -0500
commit295a6e06d21e1f469c9f38b00125a13b60ad4e7c (patch)
tree56e1c64262e3ef4876e8d480555508d6a45358e7 /include/uapi/linux/tc_act/tc_ife.h
parentnet: Introduce ife encapsulation module (diff)
downloadlinux-dev-295a6e06d21e1f469c9f38b00125a13b60ad4e7c.tar.xz
linux-dev-295a6e06d21e1f469c9f38b00125a13b60ad4e7c.zip
net/sched: act_ife: Change to use ife module
Use the encode/decode functionality from the ife module instead of using implementation inside the act_ife. Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tc_act/tc_ife.h')
-rw-r--r--include/uapi/linux/tc_act/tc_ife.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/uapi/linux/tc_act/tc_ife.h b/include/uapi/linux/tc_act/tc_ife.h
index cd18360eca24..7c2817866c97 100644
--- a/include/uapi/linux/tc_act/tc_ife.h
+++ b/include/uapi/linux/tc_act/tc_ife.h
@@ -3,6 +3,7 @@
#include <linux/types.h>
#include <linux/pkt_cls.h>
+#include <linux/ife.h>
#define TCA_ACT_IFE 25
/* Flag bits for now just encoding/decoding; mutually exclusive */
@@ -28,13 +29,4 @@ enum {
};
#define TCA_IFE_MAX (__TCA_IFE_MAX - 1)
-#define IFE_META_SKBMARK 1
-#define IFE_META_HASHID 2
-#define IFE_META_PRIO 3
-#define IFE_META_QMAP 4
-#define IFE_META_TCINDEX 5
-/*Can be overridden at runtime by module option*/
-#define __IFE_META_MAX 6
-#define IFE_META_MAX (__IFE_META_MAX - 1)
-
#endif