From 8b79b0363032a09bc0b6878f6aaa011df73b91a3 Mon Sep 17 00:00:00 2001 From: Yahui Cao Date: Wed, 23 Oct 2019 22:00:30 +0800 Subject: [PATCH] app/testpmd: increase RSS max queue size 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 Reviewed-by: Ferruh Yigit --- 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 970bdef1da..f48f4eb83f 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -318,7 +318,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.20.1