aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXinyao Cai <xinyao.cai@intel.com>2023-05-25 09:16:57 +0800
committerDamjan Marion <dmarion@0xa5.net>2023-10-01 21:17:07 +0000
commit6cb7273949cb1a6965dc376d727f4eacf690e930 (patch)
treed5d144880facbfd9a70785a2b08bca9cadd57bce /src
parentbef2d6da4ea5d67647d310a3cca5ede09385cf05 (diff)
flow dpdk avf: add support for using l2tpv3 as RSS type
This patch adds support for using l2tpv3 as RSS type Type: feature Signed-off-by: Xinyao Cai <xinyao.cai@intel.com> Change-Id: Ic3e0935a4754d084184f1cc38ea9531ddfd9e7bc
Diffstat (limited to 'src')
-rw-r--r--src/plugins/avf/avf_advanced_flow.h1
-rw-r--r--src/plugins/dpdk/device/dpdk.h1
-rw-r--r--src/vnet/flow/flow.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/avf/avf_advanced_flow.h b/src/plugins/avf/avf_advanced_flow.h
index 4e3ca21b97f..685147a5ed4 100644
--- a/src/plugins/avf/avf_advanced_flow.h
+++ b/src/plugins/avf/avf_advanced_flow.h
@@ -248,6 +248,7 @@
_ (19, AVF_ETH_RSS_NVGRE, "nvgre") \
_ (20, AVF_ETH_RSS_GTPU, "gtpu") \
_ (21, AVF_ETH_RSS_ESP, "esp") \
+ _ (22, AVF_ETH_RSS_L2TPV3, "l2tpv3") \
_ (60, AVF_ETH_RSS_L4_DST_ONLY, "l4-dst-only") \
_ (61, AVF_ETH_RSS_L4_SRC_ONLY, "l4-src-only") \
_ (62, AVF_ETH_RSS_L3_DST_ONLY, "l3-dst-only") \
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 53a25b49272..28647913d1c 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -427,6 +427,7 @@ void dpdk_update_link_state (dpdk_device_t * xd, f64 now);
_ (19, RTE_ETH_RSS_NVGRE, "nvgre") \
_ (20, RTE_ETH_RSS_GTPU, "gtpu") \
_ (21, RTE_ETH_RSS_ESP, "esp") \
+ _ (22, RTE_ETH_RSS_L2TPV3, "l2tpv3") \
_ (60, RTE_ETH_RSS_L4_DST_ONLY, "l4-dst-only") \
_ (61, RTE_ETH_RSS_L4_SRC_ONLY, "l4-src-only") \
_ (62, RTE_ETH_RSS_L3_DST_ONLY, "l3-dst-only") \
diff --git a/src/vnet/flow/flow.h b/src/vnet/flow/flow.h
index 9069bd1cea5..ada822257e3 100644
--- a/src/vnet/flow/flow.h
+++ b/src/vnet/flow/flow.h
@@ -200,6 +200,7 @@ typedef enum
_ (19, NVGRE, "nvgre") \
_ (20, GTPU, "gtpu") \
_ (21, ESP, "esp") \
+ _ (22, L2TPV3, "l2tpv3") \
_ (60, L4_DST_ONLY, "l4-dst-only") \
_ (61, L4_SRC_ONLY, "l4-src-only") \
_ (62, L3_DST_ONLY, "l3-dst-only") \