Home
last modified time | relevance | path

Searched refs:BNX2X_NR_VIRTFN (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c75 return (idx < BNX2X_NR_VIRTFN(bp)) ? BP_VF(bp, idx) : NULL; in bnx2x_vf_by_abs_fid()
908 for (i = 0; i < BNX2X_NR_VIRTFN(bp); i++) { in bnx2x_vf_flr_clnup()
915 i, BNX2X_NR_VIRTFN(bp)); in bnx2x_vf_flr_clnup()
1246 bp->vfdb->vfs = kcalloc(BNX2X_NR_VIRTFN(bp), in bnx2x_iov_init_one()
1360 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * in bnx2x_iov_alloc_mem()
1379 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp); in bnx2x_iov_alloc_mem()
1387 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE; in bnx2x_iov_alloc_mem()
1396 tot_size = BNX2X_NR_VIRTFN(bp) * BULLETIN_CONTENT_SIZE; in bnx2x_iov_alloc_mem()
2415 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2424 if (num_vfs_param > BNX2X_NR_VIRTFN(bp)) { in bnx2x_sriov_configure()
[all …]
Dbnx2x_sriov.h219 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) macro
222 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++)
Dbnx2x_vfpf.c2201 BNX2X_NR_VIRTFN(bp)) { in bnx2x_vf_mbx_schedule()
2203 vfpf_event->vf_id, BNX2X_NR_VIRTFN(bp)); in bnx2x_vf_mbx_schedule()