DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: fix flow RSS key array error
@ 2018-05-07  5:34 Wei Zhao
  2018-05-07  6:27 ` Zhang, Qi Z
  2018-05-07  6:40 ` Zhang, Qi Z
  0 siblings, 2 replies; 6+ messages in thread
From: Wei Zhao @ 2018-05-07  5:34 UTC (permalink / raw)
  To: dev; +Cc: qi.z.zhang, adrien.mazarguil, Wei Zhao

This is a bug introduced into RSS key array span.

Fixes: ac8d22de2394 ("ethdev: flatten RSS configuration in flow API")
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/i40e/i40e_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h
index 2cccc4f..4dd50eb 100644
--- a/drivers/net/i40e/i40e_ethdev.h
+++ b/drivers/net/i40e/i40e_ethdev.h
@@ -886,7 +886,7 @@ struct i40e_rte_flow_rss_conf {
 	struct rte_flow_action_rss conf; /**< RSS parameters. */
 	uint16_t queue_region_conf; /**< Queue region config flag */
 	uint8_t key[(I40E_VFQF_HKEY_MAX_INDEX > I40E_PFQF_HKEY_MAX_INDEX ?
-		     I40E_VFQF_HKEY_MAX_INDEX : I40E_PFQF_HKEY_MAX_INDEX) + 1 *
+		     I40E_VFQF_HKEY_MAX_INDEX : I40E_PFQF_HKEY_MAX_INDEX + 1) *
 		    sizeof(uint32_t)]; /* Hash key. */
 	uint16_t queue[I40E_MAX_Q_PER_TC]; /**< Queues indices to use. */
 };
-- 
2.7.5

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

end of thread, other threads:[~2018-05-08  1:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07  5:34 [dpdk-dev] [PATCH] net/i40e: fix flow RSS key array error Wei Zhao
2018-05-07  6:27 ` Zhang, Qi Z
2018-05-07  6:30   ` Zhao1, Wei
2018-05-07  6:35     ` Zhang, Qi Z
2018-05-07  6:40 ` Zhang, Qi Z
2018-05-08  1:56   ` Zhang, Helin

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).