Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c66 if (bnx2x_vf(bp, idx, abs_vfid) == abs_vfid) in bnx2x_vf_idx_by_abs_fid()
914 if (bnx2x_vf(bp, i, state) != VF_RESET || in bnx2x_vf_flr_clnup()
915 !bnx2x_vf(bp, i, flr_clnup_stage)) in bnx2x_vf_flr_clnup()
1261 bnx2x_vf(bp, i, index) = i; in bnx2x_iov_init_one()
1262 bnx2x_vf(bp, i, abs_vfid) = iov->first_vf_in_pf + i; in bnx2x_iov_init_one()
1263 bnx2x_vf(bp, i, state) = VF_FREE; in bnx2x_iov_init_one()
1264 mutex_init(&bnx2x_vf(bp, i, op_mutex)); in bnx2x_iov_init_one()
1265 bnx2x_vf(bp, i, op_current) = CHANNEL_TLV_NONE; in bnx2x_iov_init_one()
1267 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one()
Dbnx2x_vfpf.c2295 dma_addr_t vf_addr = bnx2x_vf(bp, vf, bulletin_map); in bnx2x_post_vf_bulletin()
2299 if (bnx2x_vf(bp, vf, state) != VF_ENABLED && in bnx2x_post_vf_bulletin()
2300 bnx2x_vf(bp, vf, state) != VF_ACQUIRED) in bnx2x_post_vf_bulletin()
2306 (bnx2x_vf(bp, vf, cfg_flags) & in bnx2x_post_vf_bulletin()
2311 bnx2x_vf(bp, vf, abs_vfid), U64_HI(vf_addr), in bnx2x_post_vf_bulletin()
Dbnx2x_sriov.h323 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var) macro