Lines Matching refs:tlen
263 u32 tlen = packet->tlen; in hfi1_uc_rcv() local
379 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv()
399 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv()
402 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
403 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv()
407 rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); in hfi1_uc_rcv()
475 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv()
490 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv()
493 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
494 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in hfi1_uc_rcv()
507 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); in hfi1_uc_rcv()
515 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv()
518 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
519 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in hfi1_uc_rcv()
521 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); in hfi1_uc_rcv()