Lines Matching refs:tx_skb
612 struct ring_desc *tx_skb; member
1051 if (lp->tx_skb) { in dwceqos_clean_rings()
1053 if (lp->tx_skb[i].skb) { in dwceqos_clean_rings()
1054 dev_kfree_skb(lp->tx_skb[i].skb); in dwceqos_clean_rings()
1055 lp->tx_skb[i].skb = NULL; in dwceqos_clean_rings()
1057 if (lp->tx_skb[i].mapping) { in dwceqos_clean_rings()
1059 lp->tx_skb[i].mapping, in dwceqos_clean_rings()
1060 lp->tx_skb[i].len, in dwceqos_clean_rings()
1062 lp->tx_skb[i].mapping = 0; in dwceqos_clean_rings()
1074 kfree(lp->tx_skb); in dwceqos_descriptor_free()
1075 lp->tx_skb = NULL; in dwceqos_descriptor_free()
1101 lp->tx_skb = NULL; in dwceqos_descriptor_init()
1119 lp->tx_skb = kzalloc(size, GFP_KERNEL); in dwceqos_descriptor_init()
1120 if (!lp->tx_skb) in dwceqos_descriptor_init()
1671 struct ring_desc *rd = &lp->tx_skb[lp->tx_cur]; in dwceqos_tx_reclaim()
2028 rd = &lp->tx_skb[lp->tx_next]; in dwceqos_tx_linear()
2104 rd = &lp->tx_skb[lp->tx_next]; in dwceqos_tx_frags()
2139 lp->tx_skb[tx->last_descriptor].skb = skb; in dwceqos_tx_finalize()
2159 if (lp->tx_skb[i].mapping) in dwceqos_tx_rollback()
2161 lp->tx_skb[i].mapping, in dwceqos_tx_rollback()
2162 lp->tx_skb[i].len, in dwceqos_tx_rollback()
2165 lp->tx_skb[i].mapping = 0; in dwceqos_tx_rollback()
2166 lp->tx_skb[i].skb = NULL; in dwceqos_tx_rollback()