app/testpmd: increase rss max queue indices size

Message ID 20191023140030.72472-1-yahui.cao@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series app/testpmd: increase rss max queue indices size |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-compilation success Compile Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Cao, Yahui Oct. 23, 2019, 2 p.m. UTC
  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(-)
  

Comments

Ferruh Yigit Oct. 23, 2019, 12:08 p.m. UTC | #1
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.
  

Patch

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 {