diff options
author | Jie Wang <wangjie125@huawei.com> | 2022-06-11 20:25:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-13 11:56:01 +0100 |
commit | 71b215f36dca1a3d5d1c576b2099e6d7ea03047e (patch) | |
tree | bedbbd4ccebbea45d6a00cd835b0438c93a0fc93 /mm | |
parent | e93530ae0e5d8fcf2d908933d206e0c93bc3c09b (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 'mm')
0 files changed, 0 insertions, 0 deletions