[dpdk-dev] [PATCH v3] net/i40e: log when provided RSS key is not valid

Ferruh Yigit ferruh.yigit at intel.com
Tue Mar 26 15:51:39 CET 2019


On 3/26/2019 12:41 PM, Zhang, Qi Z wrote:
> 
> 
>> -----Original Message-----
>> From: Zhao1, Wei
>> Sent: Tuesday, March 26, 2019 4:35 PM
>> To: dev at dpdk.org
>> Cc: stable at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>; Yigit, Ferruh
>> <ferruh.yigit at intel.com>; Zhao1, Wei <wei.zhao1 at intel.com>
>> Subject: [PATCH v3] 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 at dpdk.org
>>
>> Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
>> Tested-by: Peng Yuan <yuan.peng at intel.com>
>>
>> ---
>>
>> v2:
>> update dev info message
>>
>> v3:
>> update log info
>> ---
>>  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 63ec813..5472312 100644
>> --- a/drivers/net/i40e/i40e_ethdev.c
>> +++ b/drivers/net/i40e/i40e_ethdev.c
>> @@ -12745,6 +12745,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, "No perfect RSS key config for i40e, using
>> +default\n");
> 
> s/perfect/valid to align with the title
> 
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>
> 
> Applied to dpdk-next-net-intel.

Message carried into next line to keep line length < 80 while merging next-net:

    PMD_DRV_LOG(INFO,
            "No valid RSS key config for i40e, using default\n");


More information about the dev mailing list