Home
last modified time | relevance | path

Searched refs:p_ent (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_spq.c88 struct qed_spq_entry *p_ent, in __qed_spq_block() argument
94 comp_done = (struct qed_spq_comp_done *)p_ent->comp_cb.cookie; in __qed_spq_block()
116 struct qed_spq_entry *p_ent, in qed_spq_block() argument
127 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, false); in qed_spq_block()
133 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, true); in qed_spq_block()
152 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, true); in qed_spq_block()
156 comp_done = (struct qed_spq_comp_done *)p_ent->comp_cb.cookie; in qed_spq_block()
165 le32_to_cpu(p_ent->elem.hdr.cid), in qed_spq_block()
166 p_ent->elem.hdr.cmd_id, in qed_spq_block()
167 p_ent->elem.hdr.protocol_id, in qed_spq_block()
[all …]
Dqed_sp_commands.c51 struct qed_spq_entry *p_ent) in qed_sp_destroy_request() argument
57 if (p_ent->queue == &p_hwfn->p_spq->unlimited_pending) in qed_sp_destroy_request()
58 kfree(p_ent); in qed_sp_destroy_request()
60 qed_spq_return_entry(p_hwfn, p_ent); in qed_sp_destroy_request()
68 struct qed_spq_entry *p_ent = NULL; in qed_sp_init_request() local
79 p_ent = *pp_ent; in qed_sp_init_request()
81 p_ent->elem.hdr.cid = cpu_to_le32(opaque_cid); in qed_sp_init_request()
82 p_ent->elem.hdr.cmd_id = cmd; in qed_sp_init_request()
83 p_ent->elem.hdr.protocol_id = protocol; in qed_sp_init_request()
85 p_ent->priority = QED_SPQ_PRIORITY_NORMAL; in qed_sp_init_request()
[all …]
Dqed_roce.c252 struct qed_spq_entry *p_ent; in qed_roce_sp_create_responder() local
278 rc = qed_sp_init_request(p_hwfn, &p_ent, ROCE_RAMROD_CREATE_QP, in qed_roce_sp_create_responder()
283 p_ramrod = &p_ent->ramrod.roce_create_qp_resp; in qed_roce_sp_create_responder()
364 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_roce_sp_create_responder()
393 struct qed_spq_entry *p_ent; in qed_roce_sp_create_requester() local
419 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_roce_sp_create_requester()
425 p_ramrod = &p_ent->ramrod.roce_create_qp_req; in qed_roce_sp_create_requester()
491 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_roce_sp_create_requester()
517 struct qed_spq_entry *p_ent; in qed_roce_sp_modify_responder() local
531 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_roce_sp_modify_responder()
[all …]
Dqed_rdma.c583 struct qed_spq_entry *p_ent; in qed_rdma_start_fw() local
598 rc = qed_sp_init_request(p_hwfn, &p_ent, RDMA_RAMROD_FUNC_INIT, in qed_rdma_start_fw()
605 &p_ent->ramrod.iwarp_init_func); in qed_rdma_start_fw()
606 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw()
608 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw()
640 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_rdma_start_fw()
719 struct qed_spq_entry *p_ent; in qed_rdma_stop() local
761 rc = qed_sp_init_request(p_hwfn, &p_ent, RDMA_RAMROD_FUNC_CLOSE, in qed_rdma_stop()
766 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop()
771 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_rdma_stop()
[all …]
Dqed_iscsi.c172 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_func_start() local
186 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_iscsi_func_start()
192 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start()
203 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_iscsi_func_start()
286 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_iscsi_func_start()
297 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_conn_offload() local
316 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_iscsi_conn_offload()
322 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload()
467 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_iscsi_conn_offload()
476 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_conn_update() local
[all …]
Dqed_l2.c369 struct qed_spq_entry *p_ent = NULL; in qed_sp_eth_vport_start() local
384 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_eth_vport_start()
390 p_ramrod = &p_ent->ramrod.vport_start; in qed_sp_eth_vport_start()
433 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_eth_vport_start()
687 struct qed_spq_entry *p_ent = NULL; in qed_sp_vport_update() local
706 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vport_update()
713 p_ramrod = &p_ent->ramrod.vport_update; in qed_sp_vport_update()
747 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_vport_update()
761 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vport_update()
768 struct qed_spq_entry *p_ent; in qed_sp_vport_stop() local
[all …]
Dqed_fcoe.c119 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_func_start() local
134 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_fcoe_func_start()
140 p_ramrod = &p_ent->ramrod.fcoe_init; in qed_sp_fcoe_func_start()
241 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_fcoe_func_start()
246 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_fcoe_func_start()
258 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_conn_offload() local
270 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_fcoe_conn_offload()
276 p_ramrod = &p_ent->ramrod.fcoe_conn_ofld; in qed_sp_fcoe_conn_offload()
326 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_fcoe_conn_offload()
336 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_conn_destroy() local
[all …]
Dqed_sp.h245 struct qed_spq_entry *p_ent,
294 struct qed_spq_entry *p_ent);
414 struct qed_spq_entry *p_ent);
Dqed_iwarp.c213 struct qed_spq_entry *p_ent; in qed_iwarp_create_qp() local
245 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_create_qp()
251 p_ramrod = &p_ent->ramrod.iwarp_create_qp; in qed_iwarp_create_qp()
296 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_iwarp_create_qp()
316 struct qed_spq_entry *p_ent; in qed_iwarp_modify_fw() local
325 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_modify_fw()
331 p_ramrod = &p_ent->ramrod.iwarp_modify_qp; in qed_iwarp_modify_fw()
339 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_iwarp_modify_fw()
483 struct qed_spq_entry *p_ent; in qed_iwarp_fw_destroy() local
492 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_fw_destroy()
[all …]
Dqed_ll2.c947 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_rx_queue_start() local
958 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_rx_queue_start()
964 p_ramrod = &p_ent->ramrod.core_rx_queue_start; in qed_sp_ll2_rx_queue_start()
999 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_ll2_rx_queue_start()
1008 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_tx_queue_start() local
1027 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_tx_queue_start()
1033 p_ramrod = &p_ent->ramrod.core_tx_queue_start; in qed_sp_ll2_tx_queue_start()
1086 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_ll2_tx_queue_start()
1100 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_rx_queue_stop() local
1110 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_rx_queue_stop()
[all …]
Dqed_sriov.c72 struct qed_spq_entry *p_ent = NULL; in qed_sp_vf_start() local
83 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vf_start()
89 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
104 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_vf_start()
127 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vf_start()
134 struct qed_spq_entry *p_ent = NULL; in qed_sp_vf_stop() local
144 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vf_stop()
150 p_ramrod = &p_ent->ramrod.vf_stop; in qed_sp_vf_stop()
154 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vf_stop()