Lines Matching refs:sgl_flits
1091 unsigned int flits, unsigned int sgl_flits, in write_wr_hdr_sgl() argument
1110 wrp->wr_lo = htonl(V_WR_LEN(flits + sgl_flits) | in write_wr_hdr_sgl()
1121 while (sgl_flits) { in write_wr_hdr_sgl()
1124 if (avail > sgl_flits) in write_wr_hdr_sgl()
1125 avail = sgl_flits; in write_wr_hdr_sgl()
1127 sgl_flits -= avail; in write_wr_hdr_sgl()
1129 if (!sgl_flits) in write_wr_hdr_sgl()
1148 sgl_flits + 1)) | in write_wr_hdr_sgl()
1182 unsigned int flits, sgl_flits, cntrl, tso_info; in write_tx_pkt_wr() local
1238 sgl_flits = write_sgl(skb, sgp, skb->data, skb_headlen(skb), addr); in write_tx_pkt_wr()
1240 write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, gen, in write_tx_pkt_wr()
1601 const struct sg_ent *sgl, int sgl_flits) in setup_deferred_unmapping() argument
1608 for (p = dui->addr; sgl_flits >= 3; sgl++, sgl_flits -= 3) { in setup_deferred_unmapping()
1612 if (sgl_flits) in setup_deferred_unmapping()
1634 unsigned int sgl_flits, flits; in write_ofld_wr() local
1653 sgl_flits = write_sgl(skb, sgp, skb_transport_header(skb), in write_ofld_wr()
1657 setup_deferred_unmapping(skb, adap->pdev, sgp, sgl_flits); in write_ofld_wr()
1661 write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, in write_ofld_wr()