Home
last modified time | relevance | path

Searched refs:abs_vfid (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c61 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_idx_by_abs_fid() argument
66 if (bnx2x_vf(bp, idx, abs_vfid) == abs_vfid) in bnx2x_vf_idx_by_abs_fid()
72 struct bnx2x_virtf *bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_by_abs_fid() argument
74 u16 idx = (u16)bnx2x_vf_idx_by_abs_fid(bp, abs_vfid); in bnx2x_vf_by_abs_fid()
86 u32 func_encode = vf->abs_vfid; in bnx2x_vf_igu_ack_sb()
133 vf->abs_vfid, in bnx2x_vfop_qctor_dump_tx()
151 vf->abs_vfid, in bnx2x_vfop_qctor_dump_rx()
221 rxq_p->rss_engine_id = FW_VF_HANDLE(vf->abs_vfid); in bnx2x_vfop_qctor_prep()
241 DP(BNX2X_MSG_IOV, "vf[%d:%d]\n", vf->abs_vfid, qid); in bnx2x_vf_queue_create()
283 DP(BNX2X_MSG_IOV, "vf[%d]\n", vf->abs_vfid); in bnx2x_vf_queue_destroy()
[all …]
Dbnx2x_vfpf.c548 u8 func_id = FW_VF_HANDLE(vf->abs_vfid); in bnx2x_leading_vfq_init()
1064 void bnx2x_vf_enable_mbx(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_enable_mbx() argument
1066 bnx2x_vf_flr_clnup_epilog(bp, abs_vfid); in bnx2x_vf_enable_mbx()
1069 storm_memset_vf_mbx_ack(bp, abs_vfid); in bnx2x_vf_enable_mbx()
1070 storm_memset_vf_mbx_valid(bp, abs_vfid); in bnx2x_vf_enable_mbx()
1073 bnx2x_vf_enable_access(bp, abs_vfid); in bnx2x_vf_enable_mbx()
1168 rc = bnx2x_copy32_vf_dmae(bp, false, pf_addr, vf->abs_vfid, in bnx2x_vf_mbx_resp_send_msg()
1174 vf->abs_vfid); in bnx2x_vf_mbx_resp_send_msg()
1181 storm_memset_vf_mbx_ack(bp, vf->abs_vfid); in bnx2x_vf_mbx_resp_send_msg()
1186 rc = bnx2x_copy32_vf_dmae(bp, false, pf_addr, vf->abs_vfid, in bnx2x_vf_mbx_resp_send_msg()
[all …]
Dbnx2x_sriov.h183 u8 abs_vfid; member
232 #define HW_VF_HANDLE(bp, abs_vfid) \ argument
233 (u16)(BP_ABS_FUNC((bp)) | (1<<3) | ((u16)(abs_vfid) << 4))
237 #define FW_VF_HANDLE(abs_vfid) \ argument
238 (abs_vfid + FW_PF_MAX_HANDLE)
422 void bnx2x_vf_enable_mbx(struct bnx2x *bp, u8 abs_vfid);
483 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid);
489 int bnx2x_vf_flr_clnup_epilog(struct bnx2x *bp, u8 abs_vfid);
490 void bnx2x_vf_enable_access(struct bnx2x *bp, u8 abs_vfid);
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c706 struct qed_ptt *p_ptt, u8 abs_vfid) in qed_iov_vf_pglue_clear_err() argument
709 PGLUE_B_REG_WAS_ERROR_VF_31_0_CLR + (abs_vfid >> 5) * 4, in qed_iov_vf_pglue_clear_err()
710 1 << (abs_vfid & 0x1f)); in qed_iov_vf_pglue_clear_err()
4020 u16 abs_vfid) in qed_sriov_get_vf_from_absid() argument
4024 if (!_qed_iov_pf_sanity_check(p_hwfn, (int)abs_vfid - min, false)) { in qed_sriov_get_vf_from_absid()
4028 abs_vfid); in qed_sriov_get_vf_from_absid()
4032 return &p_hwfn->pf_iov_info->vfs_array[(u8)abs_vfid - min]; in qed_sriov_get_vf_from_absid()
4036 u16 abs_vfid, struct regpair *vf_msg) in qed_sriov_vfpf_msg() argument
4039 abs_vfid); in qed_sriov_vfpf_msg()