/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_spq.c | 62 struct qed_spq_entry *p_ent, in __qed_spq_block() argument 68 comp_done = (struct qed_spq_comp_done *)p_ent->comp_cb.cookie; in __qed_spq_block() 90 struct qed_spq_entry *p_ent, in qed_spq_block() argument 101 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, false); in qed_spq_block() 107 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, true); in qed_spq_block() 126 rc = __qed_spq_block(p_hwfn, p_ent, p_fw_ret, true); in qed_spq_block() 130 comp_done = (struct qed_spq_comp_done *)p_ent->comp_cb.cookie; in qed_spq_block() 142 le32_to_cpu(p_ent->elem.hdr.cid), in qed_spq_block() 143 p_ent->elem.hdr.cmd_id, in qed_spq_block() 144 p_ent->elem.hdr.protocol_id, in qed_spq_block() [all …]
|
D | qed_sp_commands.c | 25 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 …]
|
D | qed_roce.c | 220 struct qed_spq_entry *p_ent; in qed_roce_sp_create_responder() local 250 rc = qed_sp_init_request(p_hwfn, &p_ent, ROCE_RAMROD_CREATE_QP, in qed_roce_sp_create_responder() 281 p_ramrod = &p_ent->ramrod.roce_create_qp_resp; in qed_roce_sp_create_responder() 330 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_roce_sp_create_responder() 358 struct qed_spq_entry *p_ent; in qed_roce_sp_create_requester() local 388 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_roce_sp_create_requester() 412 p_ramrod = &p_ent->ramrod.roce_create_qp_req; in qed_roce_sp_create_requester() 462 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_roce_sp_create_requester() 488 struct qed_spq_entry *p_ent; in qed_roce_sp_modify_responder() local 506 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_roce_sp_modify_responder() [all …]
|
D | qed_rdma.c | 586 struct qed_spq_entry *p_ent; in qed_rdma_start_fw() local 601 rc = qed_sp_init_request(p_hwfn, &p_ent, RDMA_RAMROD_FUNC_INIT, in qed_rdma_start_fw() 608 &p_ent->ramrod.iwarp_init_func); in qed_rdma_start_fw() 609 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw() 611 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw() 646 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_rdma_start_fw() 725 struct qed_spq_entry *p_ent; in qed_rdma_stop() local 767 rc = qed_sp_init_request(p_hwfn, &p_ent, RDMA_RAMROD_FUNC_CLOSE, in qed_rdma_stop() 772 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop() 777 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_rdma_stop() [all …]
|
D | qed_iscsi.c | 145 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_func_start() local 159 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_iscsi_func_start() 165 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start() 176 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_iscsi_func_start() 256 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_iscsi_func_start() 267 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_conn_offload() local 287 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_iscsi_conn_offload() 293 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload() 445 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_iscsi_conn_offload() 454 struct qed_spq_entry *p_ent = NULL; in qed_sp_iscsi_conn_update() local [all …]
|
D | qed_l2.c | 346 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() 412 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_eth_vport_start() 666 struct qed_spq_entry *p_ent = NULL; in qed_sp_vport_update() local 685 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vport_update() 692 p_ramrod = &p_ent->ramrod.vport_update; in qed_sp_vport_update() 726 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_vport_update() 740 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vport_update() 747 struct qed_spq_entry *p_ent; in qed_sp_vport_stop() local [all …]
|
D | qed_fcoe.c | 93 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_func_start() local 108 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_fcoe_func_start() 114 p_ramrod = &p_ent->ramrod.fcoe_init; in qed_sp_fcoe_func_start() 213 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_fcoe_func_start() 218 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_fcoe_func_start() 230 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_conn_offload() local 243 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_fcoe_conn_offload() 249 p_ramrod = &p_ent->ramrod.fcoe_conn_ofld; in qed_sp_fcoe_conn_offload() 299 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_fcoe_conn_offload() 309 struct qed_spq_entry *p_ent = NULL; in qed_sp_fcoe_conn_destroy() local [all …]
|
D | qed_sp.h | 214 struct qed_spq_entry *p_ent, 263 struct qed_spq_entry *p_ent); 383 struct qed_spq_entry *p_ent);
|
D | qed_iwarp.c | 187 struct qed_spq_entry *p_ent; in qed_iwarp_create_qp() local 219 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_create_qp() 225 p_ramrod = &p_ent->ramrod.iwarp_create_qp; in qed_iwarp_create_qp() 270 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_iwarp_create_qp() 290 struct qed_spq_entry *p_ent; in qed_iwarp_modify_fw() local 300 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_modify_fw() 306 p_ramrod = &p_ent->ramrod.iwarp_modify_qp; in qed_iwarp_modify_fw() 319 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_iwarp_modify_fw() 463 struct qed_spq_entry *p_ent; in qed_iwarp_fw_destroy() local 472 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_iwarp_fw_destroy() [all …]
|
D | qed_ll2.c | 921 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_rx_queue_start() local 932 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_rx_queue_start() 938 p_ramrod = &p_ent->ramrod.core_rx_queue_start; in qed_sp_ll2_rx_queue_start() 975 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_ll2_rx_queue_start() 984 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_tx_queue_start() local 1003 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_tx_queue_start() 1009 p_ramrod = &p_ent->ramrod.core_tx_queue_start; in qed_sp_ll2_tx_queue_start() 1062 rc = qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_ll2_tx_queue_start() 1076 struct qed_spq_entry *p_ent = NULL; in qed_sp_ll2_rx_queue_stop() local 1086 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_ll2_rx_queue_stop() [all …]
|
D | qed_sriov.c | 47 struct qed_spq_entry *p_ent = NULL; in qed_sp_vf_start() local 58 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vf_start() 64 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start() 80 qed_sp_destroy_request(p_hwfn, p_ent); in qed_sp_vf_start() 103 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vf_start() 110 struct qed_spq_entry *p_ent = NULL; in qed_sp_vf_stop() local 120 rc = qed_sp_init_request(p_hwfn, &p_ent, in qed_sp_vf_stop() 126 p_ramrod = &p_ent->ramrod.vf_stop; in qed_sp_vf_stop() 130 return qed_spq_post(p_hwfn, p_ent, NULL); in qed_sp_vf_stop()
|