Lines Matching refs:plen
393 u32 plen = 0; in build_immd() local
399 if ((plen + wr->sg_list[i].length) > max) in build_immd()
402 plen += wr->sg_list[i].length; in build_immd()
417 len = roundup(plen + sizeof *immdp, 16) - (plen + sizeof *immdp); in build_immd()
423 immdp->immdlen = cpu_to_be32(plen); in build_immd()
424 *plenp = plen; in build_immd()
434 u32 plen = 0; in build_isgl() local
438 if ((plen + sg_list[i].length) < plen) in build_isgl()
440 plen += sg_list[i].length; in build_isgl()
455 *plenp = plen; in build_isgl()
462 u32 plen; in build_rdma_send() local
494 plen = 0; in build_rdma_send()
498 T4_MAX_SEND_INLINE, &plen); in build_rdma_send()
502 plen; in build_rdma_send()
507 wr->sg_list, wr->num_sge, &plen); in build_rdma_send()
519 plen = 0; in build_rdma_send()
522 wqe->send.plen = cpu_to_be32(plen); in build_rdma_send()
529 u32 plen; in build_rdma_write() local
541 T4_MAX_WRITE_INLINE, &plen); in build_rdma_write()
545 plen; in build_rdma_write()
550 wr->sg_list, wr->num_sge, &plen); in build_rdma_write()
562 plen = 0; in build_rdma_write()
565 wqe->write.plen = cpu_to_be32(plen); in build_rdma_write()
579 wqe->read.plen = cpu_to_be32(wr->sg_list[0].length); in build_rdma_read()
588 wqe->read.plen = 0; in build_rdma_read()