Home
last modified time | relevance | path

Searched refs:max_vnics (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c552 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()
593 req->max_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_vf_resc_cfg()
624 hw_resc->max_vnics -= le16_to_cpu(req->min_vnics) * n; in bnxt_hwrm_func_vf_resc_cfg()
663 vf_vnics = (hw_resc->max_vnics - bp->nr_vnics) / num_vfs; in bnxt_hwrm_func_cfg()
716 hw_resc->max_vnics -= vf_vnics * num_vfs; in bnxt_hwrm_func_cfg()
788 if (hw_resc->max_vnics - bp->nr_vnics < min_rx_rings || in bnxt_sriov_enable()
Dbnxt.c7569 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics); in bnxt_hwrm_func_resc_qcaps()
7724 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics); in __bnxt_hwrm_func_qcaps()
9031 return bp->hw_resc.max_vnics; in bnxt_get_max_func_vnics()
11137 int vnics, max_vnics, max_rss_ctxs; in bnxt_rfs_capable() local
11145 max_vnics = bnxt_get_max_func_vnics(bp); in bnxt_rfs_capable()
11150 max_rss_ctxs = max_vnics; in bnxt_rfs_capable()
11151 if (vnics > max_vnics || vnics > max_rss_ctxs) { in bnxt_rfs_capable()
11155 min(max_rss_ctxs - 1, max_vnics - 1)); in bnxt_rfs_capable()
Dbnxt.h1094 u16 max_vnics; member
Dbnxt_hsi.h1597 __le16 max_vnics; member
2406 __le16 max_vnics; member
2442 __le16 max_vnics; member