Lines Matching refs:sgl_flits
1052 unsigned int flits, unsigned int sgl_flits, in write_wr_hdr_sgl() argument
1071 wrp->wr_lo = htonl(V_WR_LEN(flits + sgl_flits) | in write_wr_hdr_sgl()
1082 while (sgl_flits) { in write_wr_hdr_sgl()
1085 if (avail > sgl_flits) in write_wr_hdr_sgl()
1086 avail = sgl_flits; in write_wr_hdr_sgl()
1088 sgl_flits -= avail; in write_wr_hdr_sgl()
1090 if (!sgl_flits) in write_wr_hdr_sgl()
1109 sgl_flits + 1)) | in write_wr_hdr_sgl()
1142 unsigned int flits, sgl_flits, cntrl, tso_info; in write_tx_pkt_wr() local
1198 sgl_flits = make_sgl(skb, sgp, skb->data, skb_headlen(skb), adap->pdev); in write_tx_pkt_wr()
1200 write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, gen, in write_tx_pkt_wr()
1551 const struct sg_ent *sgl, int sgl_flits) in setup_deferred_unmapping() argument
1558 for (p = dui->addr; sgl_flits >= 3; sgl++, sgl_flits -= 3) { in setup_deferred_unmapping()
1562 if (sgl_flits) in setup_deferred_unmapping()
1582 unsigned int sgl_flits, flits; in write_ofld_wr() local
1601 sgl_flits = make_sgl(skb, sgp, skb_transport_header(skb), in write_ofld_wr()
1605 setup_deferred_unmapping(skb, adap->pdev, sgp, sgl_flits); in write_ofld_wr()
1609 write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, in write_ofld_wr()