Lines Matching refs:flits
618 * Calculates the number of flits needed for a scatter/gather list that
628 * flits_to_desc - returns the num of Tx descriptors for the given flits
629 * @n: the number of flits
632 * of flits.
653 * calc_tx_flits - calculate the number of flits for a packet Tx WR
656 * Returns the number of flits needed for a Tx WR for the given Ethernet
661 unsigned int flits;
666 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 4;
668 flits += 2;
669 return flits;
878 unsigned int flits, ndesc;
903 flits = calc_tx_flits(skb);
904 ndesc = flits_to_desc(flits);
921 wr_mid = FW_WR_LEN16(DIV_ROUND_UP(flits, 2));
930 end = (u64 *)wr + flits;
1182 * calc_tx_flits_ofld - calculate # of flits for an offload packet
1185 * Returns the number of flits needed for the given offload packet.
1191 unsigned int flits, cnt;
1196 flits = skb_transport_offset(skb) / 8U; /* headers */
1200 return flits + sgl_len(cnt);
1249 unsigned int flits, ndesc;
1260 flits = skb->priority; /* previously saved */
1261 ndesc = flits_to_desc(flits);
1280 pos + flits, hdr_len,