Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c85 pf->num_vnics--; in nfp_net_pf_free_vnic()
133 pf->num_vnics++; in nfp_net_pf_alloc_vnic()
238 NFP_NET_MIN_VNIC_IRQS * pf->num_vnics, in nfp_net_pf_alloc_irqs()
248 vnics_left = pf->num_vnics; in nfp_net_pf_alloc_irqs()
Dnfp_main.h134 unsigned int num_vnics; member
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c688 req->num_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_cfg()
Dbnxt.c3820 int num_vnics = 1; in bnxt_alloc_vnics() local
3824 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()
3828 num_vnics++; in bnxt_alloc_vnics()
3830 bp->vnic_info = kcalloc(num_vnics, sizeof(struct bnxt_vnic_info), in bnxt_alloc_vnics()
3835 bp->nr_vnics = num_vnics; in bnxt_alloc_vnics()
6279 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_pf_rings()
6323 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_vf_rings()
Dbnxt_hsi.h1547 __le16 num_vnics; member
1962 __le16 num_vnics; member