Lines Matching refs:tx_desc
550 struct tx_desc { struct
653 #define RTL_LIMITED_TSO_SIZE (agg_buf_sz - sizeof(struct tx_desc) - \
1444 static inline void rtl_tx_vlan_tag(struct tx_desc *desc, struct sk_buff *skb) in rtl_tx_vlan_tag()
1463 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
1563 while (remain >= ETH_ZLEN + sizeof(struct tx_desc)) { in r8152_tx_agg_fill()
1564 struct tx_desc *tx_desc; in r8152_tx_agg_fill() local
1573 len = skb->len + sizeof(*tx_desc); in r8152_tx_agg_fill()
1581 tx_desc = (struct tx_desc *)tx_data; in r8152_tx_agg_fill()
1585 if (r8152_tx_csum(tp, tx_desc, skb, skb->len, offset)) { in r8152_tx_agg_fill()
1590 rtl_tx_vlan_tag(tx_desc, skb); in r8152_tx_agg_fill()
1592 tx_data += sizeof(*tx_desc); in r8152_tx_agg_fill()
1600 tx_data -= sizeof(*tx_desc); in r8152_tx_agg_fill()
1990 else if ((skb->len + sizeof(struct tx_desc)) > agg_buf_sz) in rtl8152_features_check()
2049 sizeof(struct tx_desc)); in set_tx_qlen()