Lines Matching refs:tx_desc
538 struct tx_desc { struct
639 #define RTL_LIMITED_TSO_SIZE (agg_buf_sz - sizeof(struct tx_desc) - \
1430 static inline void rtl_tx_vlan_tag(struct tx_desc *desc, struct sk_buff *skb) in rtl_tx_vlan_tag()
1449 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
1549 while (remain >= ETH_ZLEN + sizeof(struct tx_desc)) { in r8152_tx_agg_fill()
1550 struct tx_desc *tx_desc; in r8152_tx_agg_fill() local
1559 len = skb->len + sizeof(*tx_desc); in r8152_tx_agg_fill()
1567 tx_desc = (struct tx_desc *)tx_data; in r8152_tx_agg_fill()
1571 if (r8152_tx_csum(tp, tx_desc, skb, skb->len, offset)) { in r8152_tx_agg_fill()
1576 rtl_tx_vlan_tag(tx_desc, skb); in r8152_tx_agg_fill()
1578 tx_data += sizeof(*tx_desc); in r8152_tx_agg_fill()
1586 tx_data -= sizeof(*tx_desc); in r8152_tx_agg_fill()
1977 else if ((skb->len + sizeof(struct tx_desc)) > agg_buf_sz) in rtl8152_features_check()
2036 sizeof(struct tx_desc)); in set_tx_qlen()