Home
last modified time | relevance | path

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

/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()
912 for (i = 0; i < BNX2X_NR_VIRTFN(bp); i++) { in bnx2x_vf_flr_clnup()
919 i, BNX2X_NR_VIRTFN(bp)); in bnx2x_vf_flr_clnup()
1250 bp->vfdb->vfs = kcalloc(BNX2X_NR_VIRTFN(bp), in bnx2x_iov_init_one()
1364 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * in bnx2x_iov_alloc_mem()
1383 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp); in bnx2x_iov_alloc_mem()
1391 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE; in bnx2x_iov_alloc_mem()
1400 tot_size = BNX2X_NR_VIRTFN(bp) * BULLETIN_CONTENT_SIZE; in bnx2x_iov_alloc_mem()
2419 num_vfs_param, BNX2X_NR_VIRTFN(bp)); in bnx2x_sriov_configure()
2428 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.c2204 BNX2X_NR_VIRTFN(bp)) { in bnx2x_vf_mbx_schedule()
2206 vfpf_event->vf_id, BNX2X_NR_VIRTFN(bp)); in bnx2x_vf_mbx_schedule()