DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] [PATCH] app/testpmd: increase rss max queue indices size
  2019-10-23 14:00 [dpdk-dev] [PATCH] app/testpmd: increase rss max queue indices size Yahui Cao
@ 2019-10-23 12:08 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2019-10-23 12:08 UTC (permalink / raw)
  To: Yahui Cao, Adrien Mazarguil, Wenzhuo Lu, Jingjing Wu, Bernard Iremonger
  Cc: dev, Qi Zhang

On 10/23/2019 3:00 PM, Yahui Cao wrote:
> Max queue indices ACTION_RSS_QUEUE_NUM , which limits testpmd actions
> rss queue size, has worked for a long time.
> 
> As more powered PMD is merged, more rss queues are supported(e.g. intel
> ice driver FDIR supports up to 128 rss queue numbers).
> 
> The original max queue indices number doesn't satisfy PMD's requirement
> and it needs to become bigger.
> 
> Signed-off-by: Yahui Cao <yahui.cao@intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.

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

* [dpdk-dev] [PATCH] app/testpmd: increase rss max queue indices size
@ 2019-10-23 14:00 Yahui Cao
  2019-10-23 12:08 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Yahui Cao @ 2019-10-23 14:00 UTC (permalink / raw)
  To: Adrien Mazarguil, Wenzhuo Lu, Jingjing Wu, Bernard Iremonger
  Cc: dev, Qi Zhang, Yahui Cao

Max queue indices ACTION_RSS_QUEUE_NUM , which limits testpmd actions
rss queue size, has worked for a long time.

As more powered PMD is merged, more rss queues are supported(e.g. intel
ice driver FDIR supports up to 128 rss queue numbers).

The original max queue indices number doesn't satisfy PMD's requirement
and it needs to become bigger.

Signed-off-by: Yahui Cao <yahui.cao@intel.com>
---
 app/test-pmd/cmdline_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index b26b8bfe2..983a33d4a 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -315,7 +315,7 @@ enum index {
 	(sizeof(struct rte_flow_item_raw) + ITEM_RAW_PATTERN_SIZE)
 
 /** Maximum number of queue indices in struct rte_flow_action_rss. */
-#define ACTION_RSS_QUEUE_NUM 32
+#define ACTION_RSS_QUEUE_NUM 128
 
 /** Storage for struct rte_flow_action_rss including external data. */
 struct action_rss_data {
-- 
2.17.1


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

end of thread, other threads:[~2019-10-23 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 14:00 [dpdk-dev] [PATCH] app/testpmd: increase rss max queue indices size Yahui Cao
2019-10-23 12:08 ` 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).