Searched defs:flits (Results 1 - 5 of 5) sorted by relevance
/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 336 * Calculates the number of flits needed for a scatter/gather list that 346 * calc_tx_flits_ofld - calculate # of flits for an offload packet 349 * Returns the number of flits needed for the given offload packet. 355 unsigned int flits, cnt; local 359 flits = skb_transport_offset(skb) / 8; 363 return flits + sgl_len(cnt);
|
/drivers/infiniband/hw/cxgb4/ |
H A D | t4.h | 99 __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_SQ_NUM_SLOTS]; member in union:t4_wr 105 __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_RQ_NUM_SLOTS]; member in union:t4_recv_wr
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 622 * Calculates the number of flits needed for a scatter/gather list that 632 * flits_to_desc - returns the num of Tx descriptors for the given flits 633 * @n: the number of flits 636 * of flits. 657 * calc_tx_flits - calculate the number of flits for a packet Tx WR 660 * Returns the number of flits needed for a Tx WR for the given Ethernet 665 unsigned int flits; local 670 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 4; 672 flits += 2; 673 return flits; 882 unsigned int flits, ndesc; local 1195 unsigned int flits, cnt; local 1254 unsigned int flits, ndesc; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 770 * Calculates the number of flits (8-byte units) needed for a Direct 786 * first two flits which include the DSGL header, Length0 and 788 * flits for every pair of the remaining N) +1 if (n-1) is odd; and 797 * flits_to_desc - returns the num of TX descriptors for the given flits 798 * @flits: the number of flits 801 * of flits. 803 static inline unsigned int flits_to_desc(unsigned int flits) argument 805 BUG_ON(flits > SGE_MAX_WR_LEN / sizeof(__be64)); 806 return DIV_ROUND_UP(flits, TXD_PER_EQ_UNI 837 unsigned int flits; local 1077 unsigned int flits, ndesc; local [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 143 * Maps a number of flits to the number of Tx descriptors that can hold them. 146 * desc = 1 + (flits - 2) / (WR_FLITS - 1). 742 * Calculates the number of flits needed for a scatter/gather list that 752 * flits_to_desc - returns the num of Tx descriptors for the given flits 753 * @n: the number of flits 756 * of flits. 941 unsigned int flits; local 946 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2; 948 flits++; 949 return flits_to_desc(flits); 1049 write_wr_hdr_sgl(unsigned int ndesc, struct sk_buff *skb, struct tx_desc *d, unsigned int pidx, const struct sge_txq *q, const struct sg_ent *sgl, unsigned int flits, unsigned int sgl_flits, unsigned int gen, __be32 wr_hi, __be32 wr_lo) argument 1143 unsigned int flits, sgl_flits, cntrl, tso_info; local 1583 unsigned int sgl_flits, flits; local 1623 unsigned int flits, cnt; local [all...] |
Completed in 151 milliseconds