Searched refs:flits (Results 1 - 8 of 8) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/cxgb4vf/
H A Dsge.c769 * Calculates the number of flits (8-byte units) needed for a Direct
785 * first two flits which include the DSGL header, Length0 and
787 * flits for every pair of the remaining N) +1 if (n-1) is odd; and
796 * flits_to_desc - returns the num of TX descriptors for the given flits
797 * @flits: the number of flits
800 * of flits.
802 static inline unsigned int flits_to_desc(unsigned int flits) argument
804 BUG_ON(flits > SGE_MAX_WR_LEN / sizeof(__be64));
805 return DIV_ROUND_UP(flits, TXD_PER_EQ_UNI
836 unsigned int flits; local
1076 unsigned int flits, ndesc; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/cxgb4vf/
H A Dsge.c769 * Calculates the number of flits (8-byte units) needed for a Direct
785 * first two flits which include the DSGL header, Length0 and
787 * flits for every pair of the remaining N) +1 if (n-1) is odd; and
796 * flits_to_desc - returns the num of TX descriptors for the given flits
797 * @flits: the number of flits
800 * of flits.
802 static inline unsigned int flits_to_desc(unsigned int flits) argument
804 BUG_ON(flits > SGE_MAX_WR_LEN / sizeof(__be64));
805 return DIV_ROUND_UP(flits, TXD_PER_EQ_UNI
836 unsigned int flits; local
1076 unsigned int flits, ndesc; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/cxgb3/
H A Dsge.c142 * Maps a number of flits to the number of Tx descriptors that can hold them.
145 * desc = 1 + (flits - 2) / (WR_FLITS - 1).
739 * Calculates the number of flits needed for a scatter/gather list that
749 * flits_to_desc - returns the num of Tx descriptors for the given flits
750 * @n: the number of flits
753 * of flits.
938 unsigned int flits; local
943 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2;
945 flits++;
946 return flits_to_desc(flits);
1046 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
1140 unsigned int flits, sgl_flits, cntrl, tso_info; local
1580 unsigned int sgl_flits, flits; local
1620 unsigned int flits, cnt; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/cxgb3/
H A Dsge.c142 * Maps a number of flits to the number of Tx descriptors that can hold them.
145 * desc = 1 + (flits - 2) / (WR_FLITS - 1).
739 * Calculates the number of flits needed for a scatter/gather list that
749 * flits_to_desc - returns the num of Tx descriptors for the given flits
750 * @n: the number of flits
753 * of flits.
938 unsigned int flits; local
943 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 2;
945 flits++;
946 return flits_to_desc(flits);
1046 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
1140 unsigned int flits, sgl_flits, cntrl, tso_info; local
1580 unsigned int sgl_flits, flits; local
1620 unsigned int flits, cnt; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/cxgb4/
H A Dsge.c618 * 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; local
666 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 4;
668 flits += 2;
669 return flits;
878 unsigned int flits, ndesc; local
1191 unsigned int flits, cnt; local
1249 unsigned int flits, ndesc; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/cxgb4/
H A Dsge.c618 * 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; local
666 flits = sgl_len(skb_shinfo(skb)->nr_frags + 1) + 4;
668 flits += 2;
669 return flits;
878 unsigned int flits, ndesc; local
1191 unsigned int flits, cnt; local
1249 unsigned int flits, ndesc; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/cxgb4/
H A Dt4.h98 __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_SQ_NUM_SLOTS]; member in union:t4_wr
104 __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_RQ_NUM_SLOTS]; member in union:t4_recv_wr
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/cxgb4/
H A Dt4.h98 __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_SQ_NUM_SLOTS]; member in union:t4_wr
104 __be64 flits[T4_EQ_ENTRY_SIZE / sizeof(__be64) * T4_RQ_NUM_SLOTS]; member in union:t4_recv_wr

Completed in 114 milliseconds