Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.h63 enum protocol_type type, u32 *vf_cid);
Dqed_cxt.c329 enum protocol_type type, u32 *vf_cid) in qed_cxt_get_proto_cid_count() argument
331 if (vf_cid) in qed_cxt_get_proto_cid_count()
332 *vf_cid = p_hwfn->p_cxt_mngr->conn_cfg[type].cids_per_vf; in qed_cxt_get_proto_cid_count()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h413 void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid,
564 static inline void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, in bnx2x_iov_set_queue_sp_obj() argument
Dbnx2x_sriov.c1834 static struct bnx2x_virtf *bnx2x_vf_by_cid(struct bnx2x *bp, int vf_cid) in bnx2x_vf_by_cid() argument
1840 int abs_vfid = (vf_cid >> BNX2X_VF_CID_WND) & (BNX2X_MAX_NUM_OF_VFS-1); in bnx2x_vf_by_cid()
1844 void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, in bnx2x_iov_set_queue_sp_obj() argument
1852 vf = bnx2x_vf_by_cid(bp, vf_cid); in bnx2x_iov_set_queue_sp_obj()
1859 int q_index = vf_cid & ((1 << BNX2X_VF_CID_WND)-1); in bnx2x_iov_set_queue_sp_obj()
1862 BNX2X_ERR("No vf matching cid %d\n", vf_cid); in bnx2x_iov_set_queue_sp_obj()