Home
last modified time | relevance | path

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

/dpdk/drivers/common/qat/
H A Dqat_pf2vf.c11 struct qat_pf2vf_msg pf2vf_msg, in qat_pf2vf_exch_msg() argument
26 switch (pf2vf_msg.msg_type) { in qat_pf2vf_exch_msg()
38 if ((pf2vf_msg.msg_type & type_mask) != pf2vf_msg.msg_type) { in qat_pf2vf_exch_msg()
40 pf2vf_msg.msg_type); in qat_pf2vf_exch_msg()
47 msg = (pf2vf_msg.msg_type << type_shift) | in qat_pf2vf_exch_msg()
48 (pf2vf_msg.msg_data << (data_shift)); in qat_pf2vf_exch_msg()
50 msg = (pf2vf_msg.msg_type << type_shift) | in qat_pf2vf_exch_msg()
51 ((pf2vf_msg.msg_data + i) << (data_shift)); in qat_pf2vf_exch_msg()
52 if (pf2vf_msg.block_hdr > 0) in qat_pf2vf_exch_msg()
53 msg |= pf2vf_msg.block_hdr << blck_hdr_shift; in qat_pf2vf_exch_msg()
[all …]
H A Dqat_pf2vf.h17 struct qat_pf2vf_msg pf2vf_msg, int len, uint8_t *ret);
/dpdk/drivers/common/qat/dev/
H A Dqat_dev_gen4.c37 struct qat_pf2vf_msg pf2vf_msg; in qat_query_svc_gen4() local
39 pf2vf_msg.msg_type = ADF_VF2PF_MSGTYPE_GET_SMALL_BLOCK_REQ; in qat_query_svc_gen4()
40 pf2vf_msg.block_hdr = ADF_VF2PF_BLOCK_MSG_GET_RING_TO_SVC_REQ; in qat_query_svc_gen4()
41 pf2vf_msg.msg_data = 2; in qat_query_svc_gen4()
42 return qat_pf2vf_exch_msg(qat_dev, pf2vf_msg, 2, val); in qat_query_svc_gen4()
254 struct qat_pf2vf_msg pf2vf_msg; in qat_reset_ring_pairs_gen4() local
256 pf2vf_msg.msg_type = ADF_VF2PF_MSGTYPE_RP_RESET; in qat_reset_ring_pairs_gen4()
257 pf2vf_msg.block_hdr = -1; in qat_reset_ring_pairs_gen4()
259 pf2vf_msg.msg_data = i; in qat_reset_ring_pairs_gen4()
260 ret = qat_pf2vf_exch_msg(qat_pci_dev, pf2vf_msg, 1, data); in qat_reset_ring_pairs_gen4()