[dpdk-dev] [PATCH v3 2/2] app/testpmd: add RSS offload types extending support

Simei Su simei.su at intel.com
Wed Sep 25 16:06:44 CEST 2019


This patch adds cmdline support for extended rss types configuration.

Signed-off-by: Simei Su <simei.su at intel.com>
---
 app/test-pmd/config.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 1a5a5c1..b95bd43 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -103,6 +103,12 @@
 	{ "tcp", ETH_RSS_TCP },
 	{ "sctp", ETH_RSS_SCTP },
 	{ "tunnel", ETH_RSS_TUNNEL },
+	{ "l2-src-only", ETH_RSS_L2_SRC_ONLY },
+	{ "l2-dst-only", ETH_RSS_L2_DST_ONLY },
+	{ "l3-src-only", ETH_RSS_L3_SRC_ONLY },
+	{ "l3-dst-only", ETH_RSS_L3_DST_ONLY },
+	{ "l4-src-only", ETH_RSS_L4_SRC_ONLY },
+	{ "l4-dst-only", ETH_RSS_L4_DST_ONLY },
 	{ NULL, 0 },
 };
 
-- 
1.8.3.1



More information about the dev mailing list