Re: [PATCH 01/16] net/hns3: fix possible truncation of hash key when config

2023-03-28 Thread lihuisong (C)
在 2023/3/11 3:36, Ferruh Yigit 写道: On 3/10/2023 9:35 AM, Dongdong Liu wrote: From: Huisong Li The hash key length of hns3 driver is obtained from firmware. If the length isn't a multiple of HNS3_RSS_HASH_KEY_NUM (16), the last part of hash key will be truncated. I am not sure if the explan

Re: [PATCH 01/16] net/hns3: fix possible truncation of hash key when config

2023-03-10 Thread Ferruh Yigit
On 3/10/2023 9:35 AM, Dongdong Liu wrote: > From: Huisong Li > > The hash key length of hns3 driver is obtained from firmware. If the > length isn't a multiple of HNS3_RSS_HASH_KEY_NUM (16), the last part > of hash key will be truncated. > I am not sure if the explanation is correct, according

[PATCH 01/16] net/hns3: fix possible truncation of hash key when config

2023-03-10 Thread Dongdong Liu
From: Huisong Li The hash key length of hns3 driver is obtained from firmware. If the length isn't a multiple of HNS3_RSS_HASH_KEY_NUM (16), the last part of hash key will be truncated. Fixes: 4a7384e3c34d ("net/hns3: refactor set RSS hash algorithm and key interface") Fixes: c37ca66f2b27 ("net