Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_config.h82 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)
164 u16 active_vfs; member
H A 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()
H A 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()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h1387 u16 active_vfs; member
2852 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
H A Dbnxt_ethtool.c1527 if (BNXT_PF(bp) && vf > bp->pf.active_vfs) in bnxt_srxclsrlins()
4943 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
H A Dbnxt.c2887 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
6021 if (fltr->base.vf_idx >= pf->active_vfs) in bnxt_hwrm_l2_filter_free()
6048 if (fltr->base.vf_idx >= pf->active_vfs) in bnxt_hwrm_l2_filter_alloc()
12650 int n = pf->active_vfs; in bnxt_reenable_sriov()
13976 if (bp->pf.active_vfs && in bnxt_fw_reset()