Home
last modified time | relevance | path

Searched refs:num_sges (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/qedf/
Ddrv_scsi_fw_funcs.c9 bool scsi_is_slow_sgl(u16 num_sges, bool small_mid_sge) in scsi_is_slow_sgl() argument
11 return (num_sges > SCSI_NUM_SGES_SLOW_SGL_THR && small_mid_sge); in scsi_is_slow_sgl()
19 u8 num_sges_to_init = sgl_task_params->num_sges > in init_scsi_sgl_context()
21 sgl_task_params->num_sges; in init_scsi_sgl_context()
31 ctx_sgl_params->sgl_num_sges = cpu_to_le16(sgl_task_params->num_sges); in init_scsi_sgl_context()
Ddrv_scsi_fw_funcs.h15 u16 num_sges; member
69 bool scsi_is_slow_sgl(u16 num_sges, bool small_mid_sge);
Ddrv_fcoe_fw_funcs.c36 slow_sgl = scsi_is_slow_sgl(sgl_task_params->num_sges, in init_initiator_rw_fcoe_task()
91 cpu_to_le16(sgl_task_params->num_sges); in init_initiator_rw_fcoe_task()
170 FCOE_WQE_NUM_SGES, tx_sgl_task_params->num_sges); in init_initiator_midpath_unsolicited_fcoe_task()
Dqedf_io.c646 io_req->sgl_task_params->num_sges = bd_count; in qedf_init_task()
737 tx_sgl_task_params.num_sges = 1; in qedf_init_mp_task()
746 rx_sgl_task_params.num_sges = 1; in qedf_init_mp_task()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw_api.c16 static bool scsi_is_slow_sgl(u16 num_sges, bool small_mid_sge) in scsi_is_slow_sgl() argument
18 return (num_sges > SCSI_NUM_SGES_SLOW_SGL_THR && small_mid_sge); in scsi_is_slow_sgl()
27 u8 num_sges; in init_scsi_sgl_context() local
30 num_sges = (sgl_task_params->num_sges > SCSI_NUM_SGES_IN_CACHE) ? in init_scsi_sgl_context()
31 SCSI_NUM_SGES_IN_CACHE : sgl_task_params->num_sges; in init_scsi_sgl_context()
40 ctx_sgl_params->sgl_num_sges = cpu_to_le16(sgl_task_params->num_sges); in init_scsi_sgl_context()
42 for (sge_index = 0; sge_index < num_sges; sge_index++) { in init_scsi_sgl_context()
113 u32 num_sges = 0; in init_sqe() local
126 if (scsi_is_slow_sgl(sgl_task_params->num_sges, in init_sqe()
128 num_sges = ISCSI_WQE_NUM_SGES_SLOWIO; in init_sqe()
[all …]
Dqedi_fw_scsi.h19 u16 num_sges; member
Dqedi_fw.c1059 tx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_login()
1068 rx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_login()
1651 tx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_text()
1660 rx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_text()
1767 tx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_nopout()
1776 rx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_nopout()
2113 tx_sgl_task_params.num_sges = cmd->io_tbl.sge_valid; in qedi_iscsi_send_ioreq()
2123 rx_sgl_task_params.num_sges = cmd->io_tbl.sge_valid; in qedi_iscsi_send_ioreq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_uk.c376 if (qp->max_sq_frag_cnt < op_info->num_sges) in i40iw_send()
379 for (i = 0; i < op_info->num_sges; i++) in i40iw_send()
381 ret_code = i40iw_fragcnt_to_wqesize_sq(op_info->num_sges, &wqe_size); in i40iw_send()
393 LS_64((op_info->num_sges > 1 ? (op_info->num_sges - 1) : 0), in i40iw_send()
402 for (i = 1, byte_off = 32; i < op_info->num_sges; i++) { in i40iw_send()
665 if (qp->max_rq_frag_cnt < info->num_sges) in i40iw_post_receive()
667 for (i = 0; i < info->num_sges; i++) in i40iw_post_receive()
676 header = LS_64((info->num_sges > 1 ? (info->num_sges - 1) : 0), in i40iw_post_receive()
682 for (i = 1, byte_off = 32; i < info->num_sges; i++) { in i40iw_post_receive()
Di40iw_user.h198 u32 num_sges; member
260 u32 num_sges; member
Di40iw_verbs.c2077 static void i40iw_copy_sg_list(struct i40iw_sge *sg_list, struct ib_sge *sgl, int num_sges) in i40iw_copy_sg_list() argument
2081 for (i = 0; (i < num_sges) && (i < I40IW_MAX_WQ_FRAGMENT_COUNT); i++) { in i40iw_copy_sg_list()
2145 info.op.send.num_sges = ib_wr->num_sge; in i40iw_post_send()
2293 post_recv.num_sges = ib_wr->num_sge; in i40iw_post_recv()
/kernel/linux/linux-5.10/net/smc/
Dsmc_tx.c269 int num_sges, struct ib_rdma_wr *rdma_wr) in smc_tx_rdma_write() argument
276 rdma_wr->wr.num_sge = num_sges; in smc_tx_rdma_write()
319 int num_sges; in smcr_tx_rdma_writes() local
326 num_sges = 0; in smcr_tx_rdma_writes()
330 num_sges++; in smcr_tx_rdma_writes()
342 rc = smc_tx_rdma_write(conn, dst_off, num_sges, in smcr_tx_rdma_writes()
/kernel/linux/linux-5.10/include/trace/events/
Drpcrdma.h1618 unsigned int num_sges
1621 TP_ARGS(rdma, num_sges),
1624 __field(unsigned int, num_sges)
1630 __entry->num_sges = num_sges;
1636 __get_str(addr), __get_str(device), __entry->num_sges
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_hsi_rdma.h166 u8 num_sges /* number of SGEs in WQE */; member
Dverbs.c3349 (hdr)->num_sges = num_sge; \
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_sli.h1888 u32 num_sges; member
Docrdma_verbs.c2056 fast_reg->num_sges = mr->npages; in ocrdma_build_reg()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic_defs.h3267 u8 num_sges; member
3271 u8 num_sges;