Home
last modified time | relevance | path

Searched refs:num_vnics (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c91 pf->num_vnics--; in nfp_net_pf_free_vnic()
140 pf->num_vnics++; in nfp_net_pf_alloc_vnic()
249 NFP_NET_MIN_VNIC_IRQS * pf->num_vnics, in nfp_net_pf_alloc_irqs()
259 vnics_left = pf->num_vnics; in nfp_net_pf_alloc_irqs()
Dnfp_main.h132 unsigned int num_vnics; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h214 u32 num_vnics = BNX2X_PORT2_MODE_NUM_VNICS; in bnx2x_map_q_cos() local
219 num_vnics = BNX2X_PORT4_MODE_NUM_VNICS; in bnx2x_map_q_cos()
227 for (vnic = 0; vnic < num_vnics; vnic++) { in bnx2x_map_q_cos()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c688 req->num_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_cfg()
Dbnxt.c3703 int num_vnics = 1; in bnxt_alloc_vnics() local
3707 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()
3711 num_vnics++; in bnxt_alloc_vnics()
3713 bp->vnic_info = kcalloc(num_vnics, sizeof(struct bnxt_vnic_info), in bnxt_alloc_vnics()
3718 bp->nr_vnics = num_vnics; in bnxt_alloc_vnics()
6111 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_pf_rings()
6155 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_vf_rings()
Dbnxt_hsi.h1475 __le16 num_vnics; member
1842 __le16 num_vnics; member