Skip to content
Snippets Groups Projects
Commit 04909bfc authored by shenjian's avatar shenjian Committed by 谢秀奇
Browse files

net: hns3: fix vf max rss size error


driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

For some case, the available queues of VF is less than
hdev->max_rss_size. But the VF initializes the indir table
with the max_rss_size, then we can see max queue id is larger
show by ethtool -x is larger than ethtool -l.

As HNS3 drier need alloc irq for ROCE, the param num_msi_left needs
include ROCE irq, or the ROCE can not get right irq number and
insmod fail.

Feature or Bugfix:Bugfix

Signed-off-by: default avatarshenjian (K) <shenjian15@huawei.com>
Reviewed-by: default avatarlipeng <lipeng321@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent c0cc4592
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment