Home
last modified time | relevance | path

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

/Linux-v5.4/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
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c663 req.num_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_cfg()
Dbnxt.c3340 int num_vnics = 1; in bnxt_alloc_vnics() local
3344 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()
3348 num_vnics++; in bnxt_alloc_vnics()
3350 bp->vnic_info = kcalloc(num_vnics, sizeof(struct bnxt_vnic_info), in bnxt_alloc_vnics()
3355 bp->nr_vnics = num_vnics; in bnxt_alloc_vnics()
5763 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_pf_rings()
5805 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_vf_rings()
Dbnxt_hsi.h1055 __le16 num_vnics; member
1324 __le16 num_vnics; member