DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/testpmd: support more types for flow RSS
@ 2018-10-22  7:49 Wei Zhao
  2018-10-22 10:44 ` Iremonger, Bernard
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Wei Zhao @ 2018-10-22  7:49 UTC (permalink / raw)
  To: dev; +Cc: qi.z.zhang, stable, yuan.peng, Wei Zhao

Some user and tester require flow RSS to support more types,
so and "all" and "none" to make configuration more easy for users.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 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 bf3cd0a..f068da1 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -74,6 +74,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.7.5

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-10-23 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-22  7:49 [dpdk-dev] [PATCH] app/testpmd: support more types for flow RSS Wei Zhao
2018-10-22 10:44 ` Iremonger, Bernard
2018-10-23  9:37   ` Zhao1, Wei
2018-10-23  6:20 ` Peng, Yuan
2018-10-23  9:20 ` [dpdk-dev] [PATCH v2] " Wei Zhao
2018-10-23  9:50   ` Zhao1, Wei
2018-10-23 10:11   ` Iremonger, Bernard
2018-10-23 14:13     ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).