Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/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.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c660 req.num_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_cfg()
Dbnxt.c3392 int num_vnics = 1; in bnxt_alloc_vnics() local
3396 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()
3400 num_vnics++; in bnxt_alloc_vnics()
3402 bp->vnic_info = kcalloc(num_vnics, sizeof(struct bnxt_vnic_info), in bnxt_alloc_vnics()
3407 bp->nr_vnics = num_vnics; in bnxt_alloc_vnics()
6021 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_pf_rings()
6063 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_vf_rings()
Dbnxt_hsi.h1176 __le16 num_vnics; member
1487 __le16 num_vnics; member