RDMA/hns: Add cap_flag check for check_vf_support()
driver inclusion category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I8O0QJ -------------------------------------------------------------------------- check_vf_support() aims to prevent the init of roce vf whose corresponding pf is in a bond group. For devices that doesn't support bonding, there is no need to execute this checking. Fixes: a1598d86 ("RDMA/hns: fix the error of RoCE VF based on RoCE Bonding PF") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>
Loading
Please sign in to comment