From 3c90743dd3b9d8ad461b5d5483006de5ac38045c Mon Sep 17 00:00:00 2001 From: Wei Zhao Date: Tue, 23 Oct 2018 17:20:56 +0800 Subject: [PATCH] app/testpmd: support more types for flow RSS Some user and tester require flow RSS to support more types, so add "all" and "none" to make configuration more easy for users. Tested-by: Yuan Peng Signed-off-by: Wei Zhao Acked-by: Bernard Iremonger --- app/test-pmd/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 1696623210..56afe46c03 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -75,6 +75,10 @@ static const struct { }; const struct rss_type_info rss_type_table[] = { + { "all", ETH_RSS_IP | ETH_RSS_TCP | + ETH_RSS_UDP | ETH_RSS_SCTP | + ETH_RSS_L2_PAYLOAD }, + { "none", 0 }, { "ipv4", ETH_RSS_IPV4 }, { "ipv4-frag", ETH_RSS_FRAG_IPV4 }, { "ipv4-tcp", ETH_RSS_NONFRAG_IPV4_TCP }, -- 2.20.1