Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/hns3: fix possible truncation of hash key when config
[ upstream commit bb38316e738ad6009b3f20b3abfaf27ea8cb0202 ] The hash key length of hns3 driver is obtained from firmware. If the length is a multiple of HNS3_RSS_HASH_KEY_NUM (16), the last part of hash key will be truncated. Fixes: 88347111eb53 ("net/hns3: refactor set RSS hash algorithm and key interface") Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
- Loading branch information