DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: add warning info when no perfect RSS key
@ 2019-03-20  3:31 Wei Zhao
  2019-03-20  3:31 ` Wei Zhao
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Wei Zhao @ 2019-03-20  3:31 UTC (permalink / raw)
  To: dev; +Cc: yuan.peng, stable, qi.z.zhang, Wei Zhao

There need a warning info when no perfect RSS key is config,
so i40e will use default key.

Fixes: ecad87d22383 ("net/i40e: move RSS to flow API")
Cc: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/i40e/i40e_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index dca61f0..9235b08 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -12744,6 +12744,7 @@ i40e_config_rss_filter(struct i40e_pf *pf,
 		rss_conf.rss_key = (uint8_t *)rss_key_default;
 		rss_conf.rss_key_len = (I40E_PFQF_HKEY_MAX_INDEX + 1) *
 							sizeof(uint32_t);
+		PMD_DRV_LOG(INFO, "Warning! No perfect RSS key config for i40e, so use default configuration\n");
 	}
 
 	i40e_hw_rss_hash_set(pf, &rss_conf);
-- 
2.7.5

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

end of thread, other threads:[~2019-03-26 14:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20  3:31 [dpdk-dev] [PATCH] net/i40e: add warning info when no perfect RSS key Wei Zhao
2019-03-20  3:31 ` Wei Zhao
2019-03-20  9:21 ` Peng, Yuan
2019-03-20  9:21   ` Peng, Yuan
2019-03-20  9:23   ` Zhao1, Wei
2019-03-20  9:23     ` Zhao1, Wei
2019-03-20 12:20 ` Kevin Traynor
2019-03-20 12:20   ` Kevin Traynor
2019-03-22  1:27   ` Zhao1, Wei
2019-03-22  1:27     ` Zhao1, Wei
2019-03-22  2:16 ` [dpdk-dev] [PATCH v2] " Wei Zhao
2019-03-22  2:16   ` Wei Zhao
2019-03-22  3:06 ` Wei Zhao
2019-03-22  3:06   ` Wei Zhao
2019-03-22 13:30   ` Zhang, Qi Z
2019-03-22 13:30     ` Zhang, Qi Z
2019-03-26  8:35   ` [dpdk-dev] [PATCH v3] net/i40e: log when provided RSS key is not valid Wei Zhao
2019-03-26  8:35     ` Wei Zhao
2019-03-26 12:41     ` Zhang, Qi Z
2019-03-26 12:41       ` Zhang, Qi Z
2019-03-26 14:51       ` Ferruh Yigit
2019-03-26 14:51         ` 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).