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:shenjian (K) <shenjian15@huawei.com> Reviewed-by:
lipeng <lipeng321@huawei.com> Reviewed-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Please register or sign in to comment