aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJie Wang <wangjie125@huawei.com>2022-06-11 20:25:28 +0800
committerDavid S. Miller <davem@davemloft.net>2022-06-13 11:56:01 +0100
commit71b215f36dca1a3d5d1c576b2099e6d7ea03047e (patch)
treebedbbd4ccebbea45d6a00cd835b0438c93a0fc93 /lib
parente93530ae0e5d8fcf2d908933d206e0c93bc3c09b (diff)
net: hns3: fix PF rss size initialization bug
Currently hns3 driver misuses the VF rss size to initialize the PF rss size in hclge_tm_vport_tc_info_update. So this patch fix it by checking the vport id before initialization. Fixes: 7347255ea389 ("net: hns3: refactor PF rss get APIs with new common rss get APIs") Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions