Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ !
Dqed_spq.c63 struct qed_spq_entry *p_ent, in __qed_spq_block() argument
69 comp_done = (struct qed_spq_comp_done *)p_ent->comp_cb.cookie; in __qed_spq_block()
91 struct qed_spq_entry *p_ent, in qed_spq_block() argument
102 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, false); in qed_spq_block()
108 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, true); in qed_spq_block()
127 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, true); in qed_spq_block()
131 comp_done = (struct qed_spq_comp_done *)p_ent->comp_cb.cookie; in qed_spq_block()
143 le32_to_cpu(p_ent->elem.hdr.cid), in qed_spq_block()
144 qed_get_ramrod_cmd_id_str(p_ent->elem.hdr.protocol_id, in qed_spq_block()
145 p_ent->elem.hdr.cmd_id), in qed_spq_block()
[all …]
Dqed_sp_commands.c25 struct qed_spq_entry *p_ent) in qed_sp_destroy_request() argument
31 if (p_ent->queue == &p_hwfn->p_spq->unlimited_pending) in qed_sp_destroy_request()
32 kfree(p_ent); in qed_sp_destroy_request()
34 qed_spq_return_entry(p_hwfn, p_ent); in qed_sp_destroy_request()
42 struct qed_spq_entry *p_ent = NULL; in qed_sp_init_request() local
53 p_ent = *pp_ent; in qed_sp_init_request()
55 p_ent->elem.hdr.cid = cpu_to_le32(opaque_cid); in qed_sp_init_request()
56 p_ent->elem.hdr.cmd_id = cmd; in qed_sp_init_request()
57 p_ent->elem.hdr.protocol_id = protocol; in qed_sp_init_request()
59 p_ent->priority = QED_SPQ_PRIORITY_NORMAL; in qed_sp_init_request()
[all …]
Dqed_roce.c228 struct qed_spq_entry *p_ent; in qed_roce_sp_create_responder() local
258 rc = qed_sp_init_request(p_hwfn, &p_ent, ROCE_RAMROD_CREATE_QP, in qed_roce_sp_create_responder()
289 p_ramrod = &p_ent->ramrod.roce_create_qp_resp; in qed_roce_sp_create_responder()
338 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_roce_sp_create_responder()
366 struct qed_spq_entry *p_ent; in qed_roce_sp_create_requester() local
396 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_roce_sp_create_requester()
420 p_ramrod = &p_ent->ramrod.roce_create_qp_req; in qed_roce_sp_create_requester()
470 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_roce_sp_create_requester()
496 struct qed_spq_entry *p_ent; in qed_roce_sp_modify_responder() local
514 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_roce_sp_modify_responder()
[all …]
Dqed_nvmetcp.c59 struct qed_spq_entry *p_ent = NULL; in qed_sp_nvmetcp_func_start() local
69 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_nvmetcp_func_start()
75 p_ramrod = &p_ent->ramrod.nvmetcp_init; in qed_sp_nvmetcp_func_start()
116 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_nvmetcp_func_start()
123 struct qed_spq_entry *p_ent = NULL; in qed_sp_nvmetcp_func_stop() local
133 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_nvmetcp_func_stop()
139 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_nvmetcp_func_stop()
274 struct qed_spq_entry *p_ent = NULL; in qed_sp_nvmetcp_conn_offload() local
287 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_nvmetcp_conn_offload()
293 p_ramrod = &p_ent->ramrod.nvmetcp_conn_offload; in qed_sp_nvmetcp_conn_offload()
[all …]
Dqed_rdma.c559 struct qed_spq_entry *p_ent; in qed_rdma_start_fw() local
574 rc = qed_sp_init_request(p_hwfn, &p_ent, RDMA_RAMROD_FUNC_INIT, in qed_rdma_start_fw()
581 &p_ent->ramrod.iwarp_init_func); in qed_rdma_start_fw()
582 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw()
584 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw()
619 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_rdma_start_fw()
698 struct qed_spq_entry *p_ent; in qed_rdma_stop() local
740 rc = qed_sp_init_request(p_hwfn, &p_ent, RDMA_RAMROD_FUNC_CLOSE, in qed_rdma_stop()
745 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop()
750 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_rdma_stop()
[all …]
Dqed_iscsi.c146 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_func_start() local
160 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_iscsi_func_start()
166 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start()
177 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_iscsi_func_start()
257 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_iscsi_func_start()
268 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_conn_offload() local
288 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_iscsi_conn_offload()
294 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload()
446 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_iscsi_conn_offload()
455 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_conn_update() local
[all …]
Dqed_l2.c346 struct qed_spq_entry *p_ent = NULL; in qed_sp_eth_vport_start() local
361 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_eth_vport_start()
367 p_ramrod = &p_ent->ramrod.vport_start; in qed_sp_eth_vport_start()
413 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_eth_vport_start()
667 struct qed_spq_entry *p_ent = NULL; in qed_sp_vport_update() local
686 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vport_update()
693 p_ramrod = &p_ent->ramrod.vport_update; in qed_sp_vport_update()
727 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_vport_update()
741 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vport_update()
748 struct qed_spq_entry *p_ent; in qed_sp_vport_stop() local
[all …]
Dqed_fcoe.c94 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_func_start() local
109 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_fcoe_func_start()
115 p_ramrod = &p_ent->ramrod.fcoe_init; in qed_sp_fcoe_func_start()
214 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_fcoe_func_start()
219 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_fcoe_func_start()
231 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_conn_offload() local
244 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_fcoe_conn_offload()
250 p_ramrod = &p_ent->ramrod.fcoe_conn_ofld; in qed_sp_fcoe_conn_offload()
300 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_fcoe_conn_offload()
310 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_conn_destroy() local
[all …]
Dqed_sp.h215 struct qed_spq_entry *p_ent,
267 struct qed_spq_entry *p_ent);
396 struct qed_spq_entry *p_ent);
Dqed_iwarp.c189 struct qed_spq_entry *p_ent; in qed_iwarp_create_qp() local
221 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_create_qp()
227 p_ramrod = &p_ent->ramrod.iwarp_create_qp; in qed_iwarp_create_qp()
272 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_iwarp_create_qp()
292 struct qed_spq_entry *p_ent; in qed_iwarp_modify_fw() local
302 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_modify_fw()
308 p_ramrod = &p_ent->ramrod.iwarp_modify_qp; in qed_iwarp_modify_fw()
321 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_iwarp_modify_fw()
465 struct qed_spq_entry *p_ent; in qed_iwarp_fw_destroy() local
474 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_fw_destroy()
[all …]
Dqed_ll2.c965 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_rx_queue_start() local
976 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_rx_queue_start()
982 p_ramrod = &p_ent->ramrod.core_rx_queue_start; in qed_sp_ll2_rx_queue_start()
1020 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_ll2_rx_queue_start()
1029 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_tx_queue_start() local
1048 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_tx_queue_start()
1054 p_ramrod = &p_ent->ramrod.core_tx_queue_start; in qed_sp_ll2_tx_queue_start()
1108 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_ll2_tx_queue_start()
1122 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_rx_queue_stop() local
1132 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_rx_queue_stop()
[all …]
Dqed_sriov.c49 struct qed_spq_entry *p_ent = NULL; in qed_sp_vf_start() local
60 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vf_start()
66 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
82 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_vf_start()
105 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vf_start()
112 struct qed_spq_entry *p_ent = NULL; in qed_sp_vf_stop() local
122 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vf_stop()
128 p_ramrod = &p_ent->ramrod.vf_stop; in qed_sp_vf_stop()
132 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vf_stop()