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

/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.h63 enum protocol_type type, u32 *vf_cid);
H A Dqed_cxt.c329 enum protocol_type type, u32 *vf_cid)
331 if (vf_cid)
332 *vf_cid = p_hwfn->p_cxt_mngr->conn_cfg[type].cids_per_vf;
328 qed_cxt_get_proto_cid_count(struct qed_hwfn *p_hwfn, enum protocol_type type, u32 *vf_cid) argument
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A 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, argument
H A Dbnx2x_sriov.c1783 /* extract vf and rxq index from vf_cid - relies on the following:
1838 static struct bnx2x_virtf *bnx2x_vf_by_cid(struct bnx2x *bp, int vf_cid) argument
1840 /* extract the vf from vf_cid - relies on the following:
1844 int abs_vfid = (vf_cid >> BNX2X_VF_CID_WND) & (BNX2X_MAX_NUM_OF_VFS-1);
1848 void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, argument
1856 vf = bnx2x_vf_by_cid(bp, vf_cid);
1859 /* extract queue index from vf_cid - relies on the following:
1863 int q_index = vf_cid & ((1 << BNX2X_VF_CID_WND)-1);
1866 BNX2X_ERR("No vf matching cid %d\n", vf_cid);

Completed in 149 milliseconds