Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp_fw_funcs.c48 static inline u32 calc_rw_task_size(struct nvmetcp_task_params *task_params, in calc_rw_task_size() argument
54 io_size = task_params->tx_io_size; in calc_rw_task_size()
56 io_size = task_params->rx_io_size; in calc_rw_task_size()
64 static inline void init_sqe(struct nvmetcp_task_params *task_params, in init_sqe() argument
68 if (!task_params->sqe) in init_sqe()
71 memset(task_params->sqe, 0, sizeof(*task_params->sqe)); in init_sqe()
72 task_params->sqe->task_id = cpu_to_le16(task_params->itid); in init_sqe()
79 SET_FIELD(task_params->sqe->contlen_cdbsize, in init_sqe()
81 SET_FIELD(task_params->sqe->flags, NVMETCP_WQE_WQE_TYPE, in init_sqe()
83 if (task_params->tx_io_size) { in init_sqe()
[all …]
Dqed_nvmetcp_fw_funcs.h21 void init_nvmetcp_host_read_task(struct nvmetcp_task_params *task_params,
25 void init_nvmetcp_host_write_task(struct nvmetcp_task_params *task_params,
29 void init_nvmetcp_init_conn_req_task(struct nvmetcp_task_params *task_params,
33 void init_cleanup_task_nvmetcp(struct nvmetcp_task_params *task_params);
/Linux-v6.6/drivers/scsi/qedf/
Ddrv_fcoe_fw_funcs.c10 static inline void init_common_sqe(struct fcoe_task_params *task_params, in init_common_sqe() argument
13 memset(task_params->sqe, 0, sizeof(*(task_params->sqe))); in init_common_sqe()
14 SET_FIELD(task_params->sqe->flags, FCOE_WQE_REQ_TYPE, in init_common_sqe()
16 task_params->sqe->task_id = task_params->itid; in init_common_sqe()
19 int init_initiator_rw_fcoe_task(struct fcoe_task_params *task_params, in init_initiator_rw_fcoe_task() argument
25 struct fcoe_task_context *ctx = task_params->context; in init_initiator_rw_fcoe_task()
38 io_size = (task_params->task_type == FCOE_TASK_TYPE_WRITE_INITIATOR ? in init_initiator_rw_fcoe_task()
39 task_params->tx_io_size : task_params->rx_io_size); in init_initiator_rw_fcoe_task()
45 y_st_ctx->task_type = (u8)task_params->task_type; in init_initiator_rw_fcoe_task()
51 t_st_ctx->read_only.dev_type = (u8)(task_params->is_tape_device == 1 ? in init_initiator_rw_fcoe_task()
[all …]
Ddrv_fcoe_fw_funcs.h38 int init_initiator_rw_fcoe_task(struct fcoe_task_params *task_params,
56 struct fcoe_task_params *task_params,
68 int init_initiator_abort_fcoe_task(struct fcoe_task_params *task_params);
77 int init_initiator_cleanup_fcoe_task(struct fcoe_task_params *task_params);
88 struct fcoe_task_params *task_params,
Dqedf_io.c149 kfree(io_req->task_params); in qedf_cmd_mgr_free()
233 io_req->task_params = kzalloc(sizeof(*io_req->task_params), in qedf_cmd_mgr_alloc()
235 if (!io_req->task_params) { in qedf_cmd_mgr_alloc()
606 memset(io_req->task_params, 0, sizeof(struct fcoe_task_params)); in qedf_init_task()
623 io_req->task_params->context = task_ctx; in qedf_init_task()
624 io_req->task_params->sqe = sqe; in qedf_init_task()
625 io_req->task_params->task_type = task_type; in qedf_init_task()
626 io_req->task_params->tx_io_size = tx_io_size; in qedf_init_task()
627 io_req->task_params->rx_io_size = rx_io_size; in qedf_init_task()
628 io_req->task_params->conn_cid = fcport->fw_cid; in qedf_init_task()
[all …]
Dqedf_els.c734 orig_io_req->task_params->sqe = sqe; in qedf_initiate_seq_cleanup()
736 init_initiator_sequence_recovery_fcoe_task(orig_io_req->task_params, in qedf_initiate_seq_cleanup()
Dqedf.h144 struct fcoe_task_params *task_params; member
/Linux-v6.6/drivers/scsi/qedi/
Dqedi_fw_api.c52 static u32 calc_rw_task_size(struct iscsi_task_params *task_params, in calc_rw_task_size() argument
61 io_size = task_params->tx_io_size; in calc_rw_task_size()
63 io_size = task_params->rx_io_size; in calc_rw_task_size()
90 static void init_sqe(struct iscsi_task_params *task_params, in init_sqe() argument
98 if (!task_params->sqe) in init_sqe()
101 memset(task_params->sqe, 0, sizeof(*task_params->sqe)); in init_sqe()
102 task_params->sqe->task_id = cpu_to_le16(task_params->itid); in init_sqe()
104 SET_FIELD(task_params->sqe->flags, ISCSI_WQE_WQE_TYPE, in init_sqe()
115 init_dif_context_flags(&task_params->sqe->prot_flags, in init_sqe()
118 SET_FIELD(task_params->sqe->flags, ISCSI_WQE_WQE_TYPE, in init_sqe()
[all …]
Dqedi_fw_iscsi.h40 int init_initiator_rw_iscsi_task(struct iscsi_task_params *task_params,
56 int init_initiator_login_request_task(struct iscsi_task_params *task_params,
69 int init_initiator_nop_out_task(struct iscsi_task_params *task_params,
82 int init_initiator_logout_request_task(struct iscsi_task_params *task_params,
93 int init_initiator_tmf_request_task(struct iscsi_task_params *task_params,
104 int init_initiator_text_request_task(struct iscsi_task_params *task_params,
113 int init_cleanup_task(struct iscsi_task_params *task_params);
Dqedi_fw.c965 struct iscsi_task_params task_params; in qedi_send_iscsi_login() local
992 memset(&task_params, 0, sizeof(task_params)); in qedi_send_iscsi_login()
1034 task_params.context = fw_task_ctx; in qedi_send_iscsi_login()
1035 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_send_iscsi_login()
1036 task_params.itid = tid; in qedi_send_iscsi_login()
1037 task_params.cq_rss_number = 0; in qedi_send_iscsi_login()
1038 task_params.tx_io_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1039 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_login()
1042 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_login()
1044 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_send_iscsi_login()
[all …]
/Linux-v6.6/include/linux/qed/
Dqed_nvmetcp_if.h237 void (*init_read_io)(struct nvmetcp_task_params *task_params,
242 void (*init_write_io)(struct nvmetcp_task_params *task_params,
247 void (*init_icreq_exchange)(struct nvmetcp_task_params *task_params,
252 void (*init_task_cleanup)(struct nvmetcp_task_params *task_params);