Home
last modified time | relevance | path

Searched refs:tx_skbuff (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/net/ethernet/calxeda/
A Dxgmac.c361 struct sk_buff **tx_skbuff; member
747 if (!priv->tx_skbuff) in xgmac_dma_desc_rings_init()
779 kfree(priv->tx_skbuff); in xgmac_dma_desc_rings_init()
815 if (!priv->tx_skbuff) in xgmac_free_tx_skbufs()
832 priv->tx_skbuff[i] = NULL; in xgmac_free_tx_skbufs()
857 kfree(priv->tx_skbuff); in xgmac_free_dma_desc_rings()
858 priv->tx_skbuff = NULL; in xgmac_free_dma_desc_rings()
893 priv->tx_skbuff[entry] = NULL; in xgmac_tx_complete()
1101 priv->tx_skbuff[entry] = skb; in xgmac_xmit()
1116 priv->tx_skbuff[entry] = skb; in xgmac_xmit()
[all …]
/linux/drivers/net/hippi/
A Drrunner.c604 rrpriv->tx_skbuff[i] = NULL; in rr_init1()
1067 if(rrpriv->tx_skbuff[txcon]){ in rr_interrupt()
1072 skb = rrpriv->tx_skbuff[txcon]; in rr_interrupt()
1082 rrpriv->tx_skbuff[txcon] = NULL; in rr_interrupt()
1114 struct sk_buff *skb = rrpriv->tx_skbuff[i]; in rr_raz_tx()
1125 rrpriv->tx_skbuff[i] = NULL; in rr_raz_tx()
1290 if (rrpriv->tx_skbuff[index]){ in rr_dump()
1301 if (rrpriv->tx_skbuff[cons]){ in rr_dump()
1302 len = min_t(int, 0x80, rrpriv->tx_skbuff[cons]->len); in rr_dump()
1308 rrpriv->tx_skbuff[cons]->data, in rr_dump()
[all …]
/linux/drivers/net/ethernet/amd/
A Dlance.c242 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
853 if (lp->tx_skbuff[i]) { in lance_purge_ring()
854 dev_kfree_skb_any(lp->tx_skbuff[i]); in lance_purge_ring()
855 lp->tx_skbuff[i] = NULL; in lance_purge_ring()
890 lp->tx_skbuff[i] = NULL; in lance_init_ring()
1004 lp->tx_skbuff[entry] = skb; in lance_start_xmit()
1088 if (lp->tx_skbuff[entry]) { in lance_interrupt()
1089 dev_consume_skb_irq(lp->tx_skbuff[entry]); in lance_interrupt()
1090 lp->tx_skbuff[entry] = NULL; in lance_interrupt()
A Dpcnet32.c265 struct sk_buff **tx_skbuff; member
502 kfree(lp->tx_skbuff); in pcnet32_realloc_tx_ring()
514 lp->tx_skbuff = new_skb_list; in pcnet32_realloc_tx_ring()
1013 lp->tx_skbuff[x] = skb; in pcnet32_loopback_test()
1351 if (lp->tx_skbuff[entry]) { in pcnet32_tx()
2041 if (!lp->tx_skbuff) in pcnet32_alloc_ring()
2056 kfree(lp->tx_skbuff); in pcnet32_free_ring()
2057 lp->tx_skbuff = NULL; in pcnet32_free_ring()
2338 if (lp->tx_skbuff[i]) { in pcnet32_purge_tx_ring()
2346 lp->tx_skbuff[i] = NULL; in pcnet32_purge_tx_ring()
[all …]
A Damd8111e.c228 if (lp->tx_skbuff[i]) { in amd8111e_free_skbs()
231 lp->tx_skbuff[i]->len, DMA_TO_DEVICE); in amd8111e_free_skbs()
232 dev_kfree_skb(lp->tx_skbuff[i]); in amd8111e_free_skbs()
233 lp->tx_skbuff[i] = NULL; in amd8111e_free_skbs()
656 if (lp->tx_skbuff[tx_index]) { in amd8111e_tx()
659 lp->tx_skbuff[tx_index]->len, in amd8111e_tx()
661 dev_consume_skb_irq(lp->tx_skbuff[tx_index]); in amd8111e_tx()
662 lp->tx_skbuff[tx_index] = NULL; in amd8111e_tx()
1234 if (lp->tx_skbuff[tx_index]) in amd8111e_tx_queue_avail()
1259 lp->tx_skbuff[tx_index] = skb; in amd8111e_start_xmit()
/linux/drivers/net/ethernet/packetengines/
A Dyellowfin.c312 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
767 yp->tx_skbuff[i] = NULL; in yellowfin_init_ring()
779 yp->tx_skbuff[i] = 0; in yellowfin_init_ring()
834 yp->tx_skbuff[entry] = NULL; in yellowfin_start_xmit()
840 yp->tx_skbuff[entry] = skb; in yellowfin_start_xmit()
933 skb = yp->tx_skbuff[entry]; in yellowfin_interrupt()
941 yp->tx_skbuff[entry] = NULL; in yellowfin_interrupt()
971 skb = yp->tx_skbuff[entry]; in yellowfin_interrupt()
999 yp->tx_skbuff[entry] = 0; in yellowfin_interrupt()
1276 dev_kfree_skb(yp->tx_skbuff[i]); in yellowfin_close()
[all …]
A Dhamachi.c487 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
1008 skb = hmp->tx_skbuff[entry]; in hamachi_tx()
1014 hmp->tx_skbuff[entry] = NULL; in hamachi_tx()
1100 skb = hmp->tx_skbuff[i]; in hamachi_tx_timeout()
1106 hmp->tx_skbuff[i] = NULL; in hamachi_tx_timeout()
1207 hmp->tx_skbuff[i] = NULL; in hamachi_init_ring()
1245 hmp->tx_skbuff[entry] = skb; in hamachi_start_xmit()
1346 skb = hmp->tx_skbuff[entry]; in hamachi_interrupt()
1354 hmp->tx_skbuff[entry] = NULL; in hamachi_interrupt()
1731 skb = hmp->tx_skbuff[i]; in hamachi_close()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
A Dwinbond-840.c293 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
819 np->tx_skbuff[i] = NULL; in init_rxtx_rings()
846 if (np->tx_skbuff[i]) { in free_rxtx_rings()
848 np->tx_skbuff[i]->len, DMA_TO_DEVICE); in free_rxtx_rings()
849 dev_kfree_skb(np->tx_skbuff[i]); in free_rxtx_rings()
851 np->tx_skbuff[i] = NULL; in free_rxtx_rings()
998 np->tx_skbuff[entry] = skb; in start_tx()
1081 np->tx_skbuff[entry]->len, DMA_TO_DEVICE); in netdev_tx_done()
1082 np->tx_q_bytes -= np->tx_skbuff[entry]->len; in netdev_tx_done()
1083 dev_kfree_skb_irq(np->tx_skbuff[entry]); in netdev_tx_done()
[all …]
/linux/drivers/net/ethernet/freescale/fs_enet/
A Dfs_enet-main.c111 skb = fep->tx_skbuff[dirtyidx]; in fs_enet_napi()
162 fep->tx_skbuff[dirtyidx] = NULL; in fs_enet_napi()
403 fep->tx_skbuff[i] = NULL; in fs_init_bds()
421 if ((skb = fep->tx_skbuff[i]) == NULL) in fs_cleanup_bds()
428 fep->tx_skbuff[i] = NULL; in fs_cleanup_bds()
578 fep->tx_skbuff[curidx] = NULL; in fs_enet_start_xmit()
598 fep->tx_skbuff[curidx] = skb; in fs_enet_start_xmit()
1001 fep->tx_skbuff = fep->rx_skbuff + fpi->rx_ring; in fs_enet_probe()
/linux/drivers/net/ethernet/dlink/
A Dsundance.c1056 np->tx_skbuff[i] = NULL; in init_ring()
1095 np->tx_skbuff[entry] = skb; in start_tx()
1129 np->tx_skbuff[entry] = NULL; in start_tx()
1151 skb = np->tx_skbuff[i]; in reset_tx()
1157 np->tx_skbuff[i] = NULL; in reset_tx()
1271 skb = np->tx_skbuff[entry]; in intr_handler()
1277 np->tx_skbuff[entry] = NULL; in intr_handler()
1290 skb = np->tx_skbuff[entry]; in intr_handler()
1296 np->tx_skbuff[entry] = NULL; in intr_handler()
1904 skb = np->tx_skbuff[i]; in netdev_close()
[all …]
A Ddl2k.c451 skb = np->tx_skbuff[i]; in free_list()
457 np->tx_skbuff[i] = NULL; in free_list()
489 np->tx_skbuff[i] = NULL; in alloc_list()
719 np->tx_skbuff[entry] = skb; in start_xmit()
831 skb = np->tx_skbuff[entry]; in rio_free_tx()
840 np->tx_skbuff[entry] = NULL; in rio_free_tx()
/linux/drivers/net/wan/
A Dfsl_ucc_hdlc.c212 priv->tx_skbuff = kcalloc(priv->tx_ring_size, in uhdlc_init()
213 sizeof(*priv->tx_skbuff), in uhdlc_init()
215 if (!priv->tx_skbuff) { in uhdlc_init()
332 kfree(priv->tx_skbuff); in uhdlc_init()
405 priv->tx_skbuff[priv->skb_curtx] = skb; in ucc_hdlc_tx()
481 skb = priv->tx_skbuff[priv->skb_dirtytx]; in hdlc_tx_done()
492 priv->tx_skbuff[priv->skb_dirtytx] = NULL; in hdlc_tx_done()
769 kfree(priv->tx_skbuff); in uhdlc_memclean()
770 priv->tx_skbuff = NULL; in uhdlc_memclean()
A Dfsl_ucc_hdlc.h93 struct sk_buff **tx_skbuff; member
/linux/drivers/net/ethernet/3com/
A D3c515.c303 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
834 vp->tx_skbuff[i] = NULL; in corkscrew_open()
1016 vp->tx_skbuff[entry] = skb; in corkscrew_start_xmit()
1167 if (lp->tx_skbuff[entry]) { in corkscrew_interrupt()
1168 dev_consume_skb_irq(lp->tx_skbuff[entry]); in corkscrew_interrupt()
1169 lp->tx_skbuff[entry] = NULL; in corkscrew_interrupt()
1447 if (vp->tx_skbuff[i]) { in corkscrew_close()
1448 dev_kfree_skb(vp->tx_skbuff[i]); in corkscrew_close()
1449 vp->tx_skbuff[i] = NULL; in corkscrew_close()
/linux/drivers/net/ethernet/smsc/
A Depic100.c256 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
938 ep->tx_skbuff[i] = NULL; in epic_init_ring()
965 ep->tx_skbuff[entry] = skb; in epic_start_xmit()
1042 dev->stats.tx_bytes += ep->tx_skbuff[entry]->len; in epic_tx()
1047 skb = ep->tx_skbuff[entry]; in epic_tx()
1052 ep->tx_skbuff[entry] = NULL; in epic_tx()
1317 skb = ep->tx_skbuff[i]; in epic_close()
1318 ep->tx_skbuff[i] = NULL; in epic_close()
/linux/drivers/net/ethernet/sis/
A Dsis900.c183 struct sk_buff *tx_skbuff[NUM_TX_DESC]; member
1141 sis_priv->tx_skbuff[i] = NULL; in sis900_init_tx_ring()
1570 struct sk_buff *skb = sis_priv->tx_skbuff[i]; in sis900_tx_timeout()
1577 sis_priv->tx_skbuff[i] = NULL; in sis900_tx_timeout()
1621 sis_priv->tx_skbuff[entry] = skb; in sis900_start_xmit()
1630 sis_priv->tx_skbuff[entry] = NULL; in sis900_start_xmit()
1942 skb = sis_priv->tx_skbuff[entry]; in sis900_finish_xmit()
1947 sis_priv->tx_skbuff[entry] = NULL; in sis900_finish_xmit()
2002 skb = sis_priv->tx_skbuff[i]; in sis900_close()
2008 sis_priv->tx_skbuff[i] = NULL; in sis900_close()
/linux/drivers/net/ethernet/freescale/
A Dgianfar.c420 priv->tx_queue[i]->tx_skbuff = NULL; in gfar_alloc_tx_queues()
1071 if (!tx_queue->tx_skbuff[i]) in free_skb_tx_queue()
1086 tx_queue->tx_skbuff[i] = NULL; in free_skb_tx_queue()
1088 kfree(tx_queue->tx_skbuff); in free_skb_tx_queue()
1089 tx_queue->tx_skbuff = NULL; in free_skb_tx_queue()
1136 if (tx_queue->tx_skbuff) in free_skb_resources()
1385 tx_queue->tx_skbuff = in gfar_alloc_skb_resources()
1387 sizeof(*tx_queue->tx_skbuff), in gfar_alloc_skb_resources()
1389 if (!tx_queue->tx_skbuff) in gfar_alloc_skb_resources()
1393 tx_queue->tx_skbuff[j] = NULL; in gfar_alloc_skb_resources()
[all …]
A Dfec_main.c384 txq->tx_skbuff[index]); in fec_dump()
598 txq->tx_skbuff[index] = skb; in fec_enet_txq_submit_skb()
806 txq->tx_skbuff[index] = skb; in fec_enet_txq_submit_tso()
902 if (txq->tx_skbuff[i]) { in fec_enet_bd_init()
904 txq->tx_skbuff[i] = NULL; in fec_enet_bd_init()
965 if (txq->tx_skbuff[j]) { in fec_enet_reset_skb()
967 txq->tx_skbuff[j] = NULL; in fec_enet_reset_skb()
1309 skb = txq->tx_skbuff[index]; in fec_enet_tx_queue()
1310 txq->tx_skbuff[index] = NULL; in fec_enet_tx_queue()
2981 skb = txq->tx_skbuff[i]; in fec_enet_free_buffers()
[all …]
/linux/drivers/net/ethernet/via/
A Dvia-rhine.c446 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
1310 rp->tx_skbuff[i] = NULL; in alloc_tbufs()
1333 if (rp->tx_skbuff[i]) { in free_tbufs()
1337 rp->tx_skbuff[i]->len, in free_tbufs()
1340 dev_kfree_skb(rp->tx_skbuff[i]); in free_tbufs()
1342 rp->tx_skbuff[i] = NULL; in free_tbufs()
1786 rp->tx_skbuff[entry] = skb; in rhine_start_tx()
1794 rp->tx_skbuff[entry] = NULL; in rhine_start_tx()
1938 skb = rp->tx_skbuff[entry]; in rhine_tx()
1981 rp->tx_skbuff[entry] = NULL; in rhine_tx()
/linux/drivers/net/ethernet/aeroflex/
A Dgreth.h103 struct sk_buff *tx_skbuff[GRETH_TXBD_NUM]; member
/linux/drivers/net/ethernet/natsemi/
A Dnatsemi.c547 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
1978 np->tx_skbuff[i] = NULL; in init_ring()
2014 if (np->tx_skbuff[i]) { in drain_tx()
2016 np->tx_skbuff[i]->len, DMA_TO_DEVICE); in drain_tx()
2017 dev_kfree_skb(np->tx_skbuff[i]); in drain_tx()
2020 np->tx_skbuff[i] = NULL; in drain_tx()
2101 np->tx_skbuff[entry] = skb; in start_tx()
2105 np->tx_skbuff[entry] = NULL; in start_tx()
2171 np->tx_skbuff[entry]->len, DMA_TO_DEVICE); in netdev_tx_done()
2173 dev_consume_skb_irq(np->tx_skbuff[entry]); in netdev_tx_done()
[all …]
/linux/drivers/net/ethernet/renesas/
A Dsh_eth.c1253 if (mdp->tx_skbuff[entry]) { in sh_eth_tx_free()
1258 dev_kfree_skb_irq(mdp->tx_skbuff[entry]); in sh_eth_tx_free()
1259 mdp->tx_skbuff[entry] = NULL; in sh_eth_tx_free()
1315 kfree(mdp->tx_skbuff); in sh_eth_ring_free()
1316 mdp->tx_skbuff = NULL; in sh_eth_ring_free()
1383 mdp->tx_skbuff[i] = NULL; in sh_eth_ring_format()
1420 mdp->tx_skbuff = kcalloc(mdp->num_tx_ring, sizeof(*mdp->tx_skbuff), in sh_eth_ring_init()
1422 if (!mdp->tx_skbuff) in sh_eth_ring_init()
2483 dev_kfree_skb(mdp->tx_skbuff[i]); in sh_eth_tx_timeout()
2484 mdp->tx_skbuff[i] = NULL; in sh_eth_tx_timeout()
[all …]
/linux/drivers/net/ethernet/samsung/sxgbe/
A Dsxgbe_main.c416 tx_ring->tx_skbuff = devm_kcalloc(dev, tx_rsize, in init_tx_ring()
419 if (!tx_ring->tx_skbuff) in init_tx_ring()
628 dev_kfree_skb_any(txqueue->tx_skbuff[dma_desc]); in tx_free_ring_skbufs()
629 txqueue->tx_skbuff[dma_desc] = NULL; in tx_free_ring_skbufs()
749 struct sk_buff *skb = tqueue->tx_skbuff[entry]; in sxgbe_tx_queue_clean()
772 tqueue->tx_skbuff[entry] = NULL; in sxgbe_tx_queue_clean()
1323 tqueue->tx_skbuff[entry] = skb; in sxgbe_xmit()
1368 tqueue->tx_skbuff[entry] = NULL; in sxgbe_xmit()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dchain_mode.c48 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm()
A Dring_mode.c53 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm()

Completed in 96 milliseconds

12