flow dpdk avf: add support for using l2tpv3 as RSS type 01/38901/2
authorXinyao Cai <xinyao.cai@intel.com>
Thu, 25 May 2023 01:16:57 +0000 (09:16 +0800)
committerDamjan Marion <dmarion@0xa5.net>
Sun, 1 Oct 2023 21:17:07 +0000 (21:17 +0000)
This patch adds support for using l2tpv3 as RSS type

Type: feature
Signed-off-by: Xinyao Cai <xinyao.cai@intel.com>
Change-Id: Ic3e0935a4754d084184f1cc38ea9531ddfd9e7bc

src/plugins/avf/avf_advanced_flow.h
src/plugins/dpdk/device/dpdk.h
src/vnet/flow/flow.h

index 4e3ca21..685147a 100644 (file)
   _ (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")                              \
index 53a25b4..2864791 100644 (file)
@@ -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")                              \
index 9069bd1..ada8222 100644 (file)
@@ -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")                                          \