Lines Matching refs:num_sge
423 for (i = 0; i < wr->num_sge; i++) { in build_immd()
455 int num_sge, u32 *plenp) in build_isgl() argument
467 for (i = 0; i < num_sge; i++) { in build_isgl()
482 isglp->nsge = cpu_to_be16(num_sge); in build_isgl()
496 if (wr->num_sge > T4_MAX_SEND_SGE) in build_rdma_send()
525 if (wr->num_sge) { in build_rdma_send()
537 wr->sg_list, wr->num_sge, &plen); in build_rdma_send()
541 wr->num_sge * sizeof(struct fw_ri_sge); in build_rdma_send()
563 if (wr->num_sge > T4_MAX_SEND_SGE) in build_rdma_write()
576 if (wr->num_sge) { in build_rdma_write()
588 wr->sg_list, wr->num_sge, &plen); in build_rdma_write()
592 wr->num_sge * sizeof(struct fw_ri_sge); in build_rdma_write()
652 wcwr->u.isgl_src, wr->sg_list, wr->num_sge, &plen); in build_rdma_write_cmpl()
655 wr->num_sge * sizeof(struct fw_ri_sge); in build_rdma_write_cmpl()
663 if (wr->num_sge > 1) in build_rdma_read()
665 if (wr->num_sge && wr->sg_list[0].length) { in build_rdma_read()
766 &wqe->recv.isgl, wr->sg_list, wr->num_sge, NULL); in build_rdma_recv()
770 sizeof(wqe->recv) + wr->num_sge * sizeof(struct fw_ri_sge), 16); in build_rdma_recv()
780 &wqe->recv.isgl, wr->sg_list, wr->num_sge, NULL); in build_srq_recv()
784 wr->num_sge * sizeof(struct fw_ri_sge), 16); in build_srq_recv()
1126 wr->sg_list[0].length && wr->num_sge <= T4_WRITE_CMPL_MAX_SGL && in c4iw_post_send()
1130 wr->next->num_sge == 1 && num_wrs >= 2) { in c4iw_post_send()
1291 if (wr->num_sge > T4_MAX_RECV_SGE) { in c4iw_post_receive()
1376 if (wr->num_sge > T4_MAX_RECV_SGE) { in c4iw_post_srq_recv()