summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Zhao <wei.zhao1@intel.com>2019-03-26 16:35:24 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-29 17:25:32 +0100
commit7cb745230ffb39420387e612c79afa23e4d3b646 (patch)
tree84d878787d0a9f59ebb19122600bbd73acc1b19c
parentd7d150b93070d590aedc0938baa30948ce27d3f0 (diff)
downloaddpdk-next-eventdev-7cb745230ffb39420387e612c79afa23e4d3b646.zip
dpdk-next-eventdev-7cb745230ffb39420387e612c79afa23e4d3b646.tar.gz
dpdk-next-eventdev-7cb745230ffb39420387e612c79afa23e4d3b646.tar.xz
net/i40e: log when provided RSS key is not valid
A log message is required when provided RSS key is not valid so that driver will use the default RSS key. Fixes: ecad87d22383 ("net/i40e: move RSS to flow API") Cc: stable@dpdk.org Signed-off-by: Wei Zhao <wei.zhao1@intel.com> Tested-by: Yuan Peng <yuan.peng@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
-rw-r--r--drivers/net/i40e/i40e_ethdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 63ec813..3815aef 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -12745,6 +12745,8 @@ 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,
+ "No valid RSS key config for i40e, using default\n");
}
i40e_hw_rss_hash_set(pf, &rss_conf);