Searched refs:num_sges (Results 1 – 16 of 16) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_nvmetcp_fw_funcs.c | 19 bool nvmetcp_is_slow_sgl(u16 num_sges, bool small_mid_sge) in nvmetcp_is_slow_sgl() argument 21 return (num_sges > SCSI_NUM_SGES_SLOW_SGL_THR && small_mid_sge); in nvmetcp_is_slow_sgl() 28 u8 num_sges_to_init = (u8)(sgl_params->num_sges > NVMETCP_NUM_SGES_IN_CACHE ? in init_scsi_sgl_context() 29 NVMETCP_NUM_SGES_IN_CACHE : sgl_params->num_sges); in init_scsi_sgl_context() 36 ctx_sgl_params->sgl_num_sges = cpu_to_le16(sgl_params->num_sges); in init_scsi_sgl_context() 77 u32 num_sges = 0; in init_sqe() local 87 if (nvmetcp_is_slow_sgl(sgl_task_params->num_sges, in init_sqe() 89 num_sges = NVMETCP_WQE_NUM_SGES_SLOWIO; in init_sqe() 91 num_sges = min((u16)sgl_task_params->num_sges, in init_sqe() 94 SET_FIELD(task_params->sqe->flags, NVMETCP_WQE_NUM_SGES, num_sges); in init_sqe() [all …]
|
/drivers/scsi/qedi/ |
D | qedi_fw_api.c | 16 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 …]
|
D | qedi_fw_scsi.h | 19 u16 num_sges; member
|
D | qedi_fw.c | 1027 tx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_login() 1036 rx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_login() 1601 tx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_text() 1610 rx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_text() 1717 tx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_nopout() 1726 rx_sgl_task_params.num_sges = 1; in qedi_send_iscsi_nopout() 2063 tx_sgl_task_params.num_sges = cmd->io_tbl.sge_valid; in qedi_iscsi_send_ioreq() 2073 rx_sgl_task_params.num_sges = cmd->io_tbl.sge_valid; in qedi_iscsi_send_ioreq()
|
/drivers/scsi/qedf/ |
D | drv_scsi_fw_funcs.c | 9 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()
|
D | drv_scsi_fw_funcs.h | 15 u16 num_sges; member 69 bool scsi_is_slow_sgl(u16 num_sges, bool small_mid_sge);
|
D | drv_fcoe_fw_funcs.c | 36 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()
|
D | qedf_io.c | 641 io_req->sgl_task_params->num_sges = bd_count; in qedf_init_task() 732 tx_sgl_task_params.num_sges = 1; in qedf_init_mp_task() 741 rx_sgl_task_params.num_sges = 1; in qedf_init_mp_task()
|
/drivers/infiniband/hw/irdma/ |
D | uk.c | 478 if (qp->max_sq_frag_cnt < op_info->num_sges) in irdma_uk_send() 481 for (i = 0; i < op_info->num_sges; i++) in irdma_uk_send() 485 frag_cnt = op_info->num_sges + 1; in irdma_uk_send() 487 frag_cnt = op_info->num_sges; in irdma_uk_send() 512 for (byte_off = 32; i < op_info->num_sges; i++) { in irdma_uk_send() 942 if (qp->max_rq_frag_cnt < info->num_sges) in irdma_uk_post_receive() 950 addl_frag_cnt = info->num_sges > 1 ? (info->num_sges - 1) : 0; in irdma_uk_post_receive() 954 for (i = 1, byte_off = 32; i < info->num_sges; i++) { in irdma_uk_post_receive() 961 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(info->num_sges & 0x01) && in irdma_uk_post_receive() 962 info->num_sges) { in irdma_uk_post_receive()
|
D | user.h | 177 u32 num_sges; member 194 u32 num_sges; member
|
D | verbs.c | 3055 int num_sges) in irdma_copy_sg_list() argument 3059 for (i = 0; (i < num_sges) && (i < IRDMA_MAX_WQ_FRAGMENT_COUNT); i++) { in irdma_copy_sg_list() 3138 info.op.send.num_sges = ib_wr->num_sge; in irdma_post_send() 3302 post_recv.num_sges = ib_wr->num_sge; in irdma_post_recv()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_hsi_rdma.h | 166 u8 num_sges /* number of SGEs in WQE */; member
|
D | verbs.c | 3365 (hdr)->num_sges = num_sge; \
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_sli.h | 1888 u32 num_sges; member
|
D | ocrdma_verbs.c | 2058 fast_reg->num_sges = mr->npages; in ocrdma_build_reg()
|
/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3267 u8 num_sges; member 3271 u8 num_sges;
|