Lines Matching refs:task_params
967 struct iscsi_task_params task_params; in qedi_send_iscsi_login() local
994 memset(&task_params, 0, sizeof(task_params)); in qedi_send_iscsi_login()
1036 task_params.context = fw_task_ctx; in qedi_send_iscsi_login()
1037 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_send_iscsi_login()
1038 task_params.itid = tid; in qedi_send_iscsi_login()
1039 task_params.cq_rss_number = 0; in qedi_send_iscsi_login()
1040 task_params.tx_io_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login()
1041 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_login()
1044 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_login()
1046 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_send_iscsi_login()
1047 rval = init_initiator_login_request_task(&task_params, in qedi_send_iscsi_login()
1070 struct iscsi_task_params task_params; in qedi_send_iscsi_logout() local
1095 memset(&task_params, 0, sizeof(task_params)); in qedi_send_iscsi_logout()
1110 task_params.context = fw_task_ctx; in qedi_send_iscsi_logout()
1111 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_send_iscsi_logout()
1112 task_params.itid = tid; in qedi_send_iscsi_logout()
1113 task_params.cq_rss_number = 0; in qedi_send_iscsi_logout()
1114 task_params.tx_io_size = 0; in qedi_send_iscsi_logout()
1115 task_params.rx_io_size = 0; in qedi_send_iscsi_logout()
1118 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_logout()
1119 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_send_iscsi_logout()
1121 rval = init_initiator_logout_request_task(&task_params, in qedi_send_iscsi_logout()
1428 struct iscsi_task_params task_params; in send_iscsi_tmf() local
1456 memset(&task_params, 0, sizeof(task_params)); in send_iscsi_tmf()
1484 task_params.context = fw_task_ctx; in send_iscsi_tmf()
1485 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in send_iscsi_tmf()
1486 task_params.itid = tid; in send_iscsi_tmf()
1487 task_params.cq_rss_number = 0; in send_iscsi_tmf()
1488 task_params.tx_io_size = 0; in send_iscsi_tmf()
1489 task_params.rx_io_size = 0; in send_iscsi_tmf()
1492 task_params.sqe = &ep->sq[sq_idx]; in send_iscsi_tmf()
1494 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in send_iscsi_tmf()
1495 init_initiator_tmf_request_task(&task_params, &tmf_pdu_header); in send_iscsi_tmf()
1543 struct iscsi_task_params task_params; in qedi_send_iscsi_text() local
1572 memset(&task_params, 0, sizeof(task_params)); in qedi_send_iscsi_text()
1608 task_params.context = fw_task_ctx; in qedi_send_iscsi_text()
1609 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_send_iscsi_text()
1610 task_params.itid = tid; in qedi_send_iscsi_text()
1611 task_params.cq_rss_number = 0; in qedi_send_iscsi_text()
1612 task_params.tx_io_size = ntoh24(text_hdr->dlength); in qedi_send_iscsi_text()
1613 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_text()
1616 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_text()
1618 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_send_iscsi_text()
1619 rval = init_initiator_text_request_task(&task_params, in qedi_send_iscsi_text()
1643 struct iscsi_task_params task_params; in qedi_send_iscsi_nopout() local
1671 memset(&task_params, 0, sizeof(task_params)); in qedi_send_iscsi_nopout()
1725 task_params.context = fw_task_ctx; in qedi_send_iscsi_nopout()
1726 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_send_iscsi_nopout()
1727 task_params.itid = tid; in qedi_send_iscsi_nopout()
1728 task_params.cq_rss_number = 0; in qedi_send_iscsi_nopout()
1729 task_params.tx_io_size = data_len; in qedi_send_iscsi_nopout()
1730 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_nopout()
1733 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_nopout()
1735 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_send_iscsi_nopout()
1736 rval = init_initiator_nop_out_task(&task_params, in qedi_send_iscsi_nopout()
1984 struct iscsi_task_params task_params; in qedi_iscsi_send_ioreq() local
2016 memset(&task_params, 0, sizeof(task_params)); in qedi_iscsi_send_ioreq()
2085 task_params.context = fw_task_ctx; in qedi_iscsi_send_ioreq()
2086 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_iscsi_send_ioreq()
2087 task_params.itid = tid; in qedi_iscsi_send_ioreq()
2088 task_params.cq_rss_number = cq_idx; in qedi_iscsi_send_ioreq()
2090 task_params.tx_io_size = scsi_bufflen(sc); in qedi_iscsi_send_ioreq()
2092 task_params.rx_io_size = scsi_bufflen(sc); in qedi_iscsi_send_ioreq()
2095 task_params.sqe = &ep->sq[sq_idx]; in qedi_iscsi_send_ioreq()
2106 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_iscsi_send_ioreq()
2108 if (task_params.tx_io_size != 0) in qedi_iscsi_send_ioreq()
2110 if (task_params.rx_io_size != 0) in qedi_iscsi_send_ioreq()
2113 rval = init_initiator_rw_iscsi_task(&task_params, &conn_params, in qedi_iscsi_send_ioreq()
2132 struct iscsi_task_params task_params; in qedi_iscsi_cleanup_task() local
2145 memset(&task_params, 0, sizeof(task_params)); in qedi_iscsi_cleanup_task()
2150 task_params.sqe = &ep->sq[sq_idx]; in qedi_iscsi_cleanup_task()
2151 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_iscsi_cleanup_task()
2152 task_params.itid = cmd->task_id; in qedi_iscsi_cleanup_task()
2154 rval = init_cleanup_task(&task_params); in qedi_iscsi_cleanup_task()