Home
last modified time | relevance | path

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

/Linux-v4.19/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()
919 for (i = 0; i < BNX2X_NR_VIRTFN(bp); i++) { in bnx2x_vf_flr_clnup()
926 i, BNX2X_NR_VIRTFN(bp)); in bnx2x_vf_flr_clnup()
1256 bp->vfdb->vfs = kcalloc(BNX2X_NR_VIRTFN(bp), in bnx2x_iov_init_one()
1368 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * in bnx2x_iov_alloc_mem()
1387 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp); in bnx2x_iov_alloc_mem()
1395 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE; in bnx2x_iov_alloc_mem()
1404 tot_size = BNX2X_NR_VIRTFN(bp) * BULLETIN_CONTENT_SIZE; in bnx2x_iov_alloc_mem()
2423 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2432 if (num_vfs_param > BNX2X_NR_VIRTFN(bp)) { in bnx2x_sriov_configure()
[all …]
Dbnx2x_sriov.h216 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) macro
219 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++)
Dbnx2x_vfpf.c2198 BNX2X_NR_VIRTFN(bp)) { in bnx2x_vf_mbx_schedule()
2200 vfpf_event->vf_id, BNX2X_NR_VIRTFN(bp)); in bnx2x_vf_mbx_schedule()