From: Wei Zhao Date: Tue, 26 Mar 2019 08:35:24 +0000 (+0800) Subject: net/i40e: log when provided RSS key is not valid X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7cb745230ffb39420387e612c79afa23e4d3b646;p=dpdk.git 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 Tested-by: Yuan Peng Acked-by: Qi Zhang --- diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 63ec8136d1..3815aef6cb 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);