Home
last modified time | relevance | path

Searched refs:active_vfs (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c59 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
63 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
419 bp->pf.active_vfs = 0; in bnxt_free_vf_resources()
619 pf->active_vfs = i + 1; in bnxt_hwrm_func_vf_resc_cfg()
623 if (pf->active_vfs) { in bnxt_hwrm_func_vf_resc_cfg()
624 u16 n = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
638 rc = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
710 pf->active_vfs = i + 1; in bnxt_hwrm_func_cfg()
719 if (pf->active_vfs) { in bnxt_hwrm_func_cfg()
727 rc = pf->active_vfs; in bnxt_hwrm_func_cfg()
[all …]
Dbnxt.h1380 u16 active_vfs; member
2782 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
Dbnxt_ethtool.c1502 if (BNXT_PF(bp) && vf > bp->pf.active_vfs) in bnxt_srxclsrlins()
4860 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
Dbnxt.c2809 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
5829 if (fltr->base.vf_idx >= pf->active_vfs) in bnxt_hwrm_l2_filter_free()
5856 if (fltr->base.vf_idx >= pf->active_vfs) in bnxt_hwrm_l2_filter_alloc()
12252 int n = pf->active_vfs; in bnxt_reenable_sriov()
13576 if (bp->pf.active_vfs && in bnxt_fw_reset()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_config.h82 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)
164 u16 active_vfs; member
Doctep_cn9k_pf.c215 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cn93_pf()
230 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cn93_pf()
375 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; in octep_poll_pfvf_mailbox() local
381 active_vfs = CFG_GET_ACTIVE_VFS(oct->conf); in octep_poll_pfvf_mailbox()
383 for (vf = 0; vf < active_vfs; vf++) { in octep_poll_pfvf_mailbox()
Doctep_cnxk_pf.c239 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cnxk_pf()
249 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cnxk_pf()
404 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; in octep_poll_pfvf_mailbox_cnxk_pf() local
409 active_vfs = CFG_GET_ACTIVE_VFS(oct->conf); in octep_poll_pfvf_mailbox_cnxk_pf()
411 for (vf = 0; vf < active_vfs; vf++) { in octep_poll_pfvf_mailbox_cnxk_pf()
Doctep_pfvf_mbox.c245 num_vfs = oct->conf->sriov_cfg.active_vfs; in octep_setup_pfvf_mbox()
281 int num_vfs = oct->conf->sriov_cfg.active_vfs; in octep_delete_pfvf_mbox()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h785 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dmain.c4178 int active_vfs = 0; in mlx4_remove_one() local
4192 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4193 if (active_vfs) { in mlx4_remove_one()
4208 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()