summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorWei Zhao <wei.zhao1@intel.com>2018-10-23 17:20:56 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2018-10-26 22:14:05 +0200
commit3c90743dd3b9d8ad461b5d5483006de5ac38045c (patch)
treeb374bbfecf7723381ddbdc3673200d8d5825d956 /app
parent01e5b16c571c146a9731d38b116c75d5e476f657 (diff)
downloaddpdk-3c90743dd3b9d8ad461b5d5483006de5ac38045c.zip
dpdk-3c90743dd3b9d8ad461b5d5483006de5ac38045c.tar.gz
dpdk-3c90743dd3b9d8ad461b5d5483006de5ac38045c.tar.xz
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 <yuan.peng@intel.com> Signed-off-by: Wei Zhao <wei.zhao1@intel.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 1696623..56afe46 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 },