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

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c552 vf_vnics = hw_resc->max_vnics - bp->nr_vnics;
601 req->max_vnics = cpu_to_le16(vf_vnics);
632 hw_resc->max_vnics -= le16_to_cpu(req->min_vnics) * n;
671 vf_vnics = (hw_resc->max_vnics - bp->nr_vnics) / num_vfs;
724 hw_resc->max_vnics -= vf_vnics * num_vfs;
795 if (hw_resc->max_vnics - bp->nr_vnics < min_rx_rings ||
H A Dbnxt.c8714 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics);
8875 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics);
10244 return bp->hw_resc.max_vnics;
12405 int max_vnics, max_rss_ctxs; local
12422 max_vnics = bnxt_get_max_func_vnics(bp);
12429 if (hwr.vnic > max_vnics || hwr.rss_ctx > max_rss_ctxs) {
12433 min(max_rss_ctxs - 1, max_vnics - 1));
H A Dbnxt.h1292 u16 max_vnics; member in struct:bnxt_hw_resc
H A Dbnxt_hsi.h1704 __le16 max_vnics; member in struct:hwrm_func_qcaps_output
2616 __le16 max_vnics; member in struct:hwrm_func_resource_qcaps_output
2657 __le16 max_vnics; member in struct:hwrm_func_vf_resource_cfg_input

Completed in 346 milliseconds