Searched refs:bnx2x_vf (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 66 if (bnx2x_vf(bp, idx, abs_vfid) == abs_vfid) in bnx2x_vf_idx_by_abs_fid() 922 if (bnx2x_vf(bp, i, state) != VF_RESET || in bnx2x_vf_flr_clnup() 923 !bnx2x_vf(bp, i, flr_clnup_stage)) in bnx2x_vf_flr_clnup() 1268 bnx2x_vf(bp, i, index) = i; in bnx2x_iov_init_one() 1269 bnx2x_vf(bp, i, abs_vfid) = iov->first_vf_in_pf + i; in bnx2x_iov_init_one() 1270 bnx2x_vf(bp, i, state) = VF_FREE; in bnx2x_iov_init_one() 1271 mutex_init(&bnx2x_vf(bp, i, op_mutex)); in bnx2x_iov_init_one() 1272 bnx2x_vf(bp, i, op_current) = CHANNEL_TLV_NONE; in bnx2x_iov_init_one() 1274 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one()
|
D | bnx2x_vfpf.c | 2281 dma_addr_t vf_addr = bnx2x_vf(bp, vf, bulletin_map); in bnx2x_post_vf_bulletin() 2285 if (bnx2x_vf(bp, vf, state) != VF_ENABLED && in bnx2x_post_vf_bulletin() 2286 bnx2x_vf(bp, vf, state) != VF_ACQUIRED) in bnx2x_post_vf_bulletin() 2292 (bnx2x_vf(bp, vf, cfg_flags) & in bnx2x_post_vf_bulletin() 2297 bnx2x_vf(bp, vf, abs_vfid), U64_HI(vf_addr), in bnx2x_post_vf_bulletin()
|
D | bnx2x_sriov.h | 322 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var) macro
|