Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/calxeda/
Dxgmac.c371 struct sk_buff **tx_skbuff; member
755 priv->tx_skbuff = kzalloc(sizeof(struct sk_buff *) * DMA_TX_RING_SZ, in xgmac_dma_desc_rings_init()
757 if (!priv->tx_skbuff) in xgmac_dma_desc_rings_init()
789 kfree(priv->tx_skbuff); in xgmac_dma_desc_rings_init()
825 if (!priv->tx_skbuff) in xgmac_free_tx_skbufs()
829 if (priv->tx_skbuff[i] == NULL) in xgmac_free_tx_skbufs()
841 dev_kfree_skb_any(priv->tx_skbuff[i]); in xgmac_free_tx_skbufs()
842 priv->tx_skbuff[i] = NULL; in xgmac_free_tx_skbufs()
867 kfree(priv->tx_skbuff); in xgmac_free_dma_desc_rings()
868 priv->tx_skbuff = NULL; in xgmac_free_dma_desc_rings()
[all …]
/drivers/net/hippi/
Drrunner.c603 rrpriv->tx_skbuff[i] = NULL; in rr_init1()
1065 if(rrpriv->tx_skbuff[txcon]){ in rr_interrupt()
1070 skb = rrpriv->tx_skbuff[txcon]; in rr_interrupt()
1080 rrpriv->tx_skbuff[txcon] = NULL; in rr_interrupt()
1112 struct sk_buff *skb = rrpriv->tx_skbuff[i]; in rr_raz_tx()
1122 rrpriv->tx_skbuff[i] = NULL; in rr_raz_tx()
1289 if (rrpriv->tx_skbuff[index]){ in rr_dump()
1290 len = min_t(int, 0x80, rrpriv->tx_skbuff[index]->len); in rr_dump()
1295 printk("%02x ", (unsigned char) rrpriv->tx_skbuff[index]->data[i]); in rr_dump()
1300 if (rrpriv->tx_skbuff[cons]){ in rr_dump()
[all …]
/drivers/net/ethernet/packetengines/
Dyellowfin.c312 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
761 yp->tx_skbuff[i] = NULL; in yellowfin_init_ring()
773 yp->tx_skbuff[i] = 0; in yellowfin_init_ring()
828 yp->tx_skbuff[entry] = NULL; in yellowfin_start_xmit()
834 yp->tx_skbuff[entry] = skb; in yellowfin_start_xmit()
925 skb = yp->tx_skbuff[entry]; in yellowfin_interrupt()
932 yp->tx_skbuff[entry] = NULL; in yellowfin_interrupt()
962 skb = yp->tx_skbuff[entry]; in yellowfin_interrupt()
990 yp->tx_skbuff[entry] = 0; in yellowfin_interrupt()
1264 if (yp->tx_skbuff[i]) in yellowfin_close()
[all …]
Dhamachi.c487 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
1005 skb = hmp->tx_skbuff[entry]; in hamachi_tx()
1011 hmp->tx_skbuff[entry] = NULL; in hamachi_tx()
1097 skb = hmp->tx_skbuff[i]; in hamachi_tx_timeout()
1102 hmp->tx_skbuff[i] = NULL; in hamachi_tx_timeout()
1199 hmp->tx_skbuff[i] = NULL; in hamachi_init_ring()
1237 hmp->tx_skbuff[entry] = skb; in hamachi_start_xmit()
1336 skb = hmp->tx_skbuff[entry]; in hamachi_interrupt()
1344 hmp->tx_skbuff[entry] = NULL; in hamachi_interrupt()
1719 skb = hmp->tx_skbuff[i]; in hamachi_close()
[all …]
/drivers/net/ethernet/amd/
Dlance.c242 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
852 if (lp->tx_skbuff[i]) { in lance_purge_ring()
853 dev_kfree_skb_any(lp->tx_skbuff[i]); in lance_purge_ring()
854 lp->tx_skbuff[i] = NULL; in lance_purge_ring()
889 lp->tx_skbuff[i] = NULL; in lance_init_ring()
1003 lp->tx_skbuff[entry] = skb; in lance_start_xmit()
1087 if (lp->tx_skbuff[entry]) { in lance_interrupt()
1088 dev_kfree_skb_irq(lp->tx_skbuff[entry]); in lance_interrupt()
1089 lp->tx_skbuff[entry] = NULL; in lance_interrupt()
Dpcnet32.c269 struct sk_buff **tx_skbuff; member
503 kfree(lp->tx_skbuff); in pcnet32_realloc_tx_ring()
515 lp->tx_skbuff = new_skb_list; in pcnet32_realloc_tx_ring()
921 lp->tx_skbuff[x] = skb; in pcnet32_loopback_test()
998 packet = lp->tx_skbuff[x]->data; in pcnet32_loopback_test()
1300 if (lp->tx_skbuff[entry]) { in pcnet32_tx()
1303 lp->tx_skbuff[entry]-> in pcnet32_tx()
1305 dev_kfree_skb_any(lp->tx_skbuff[entry]); in pcnet32_tx()
1306 lp->tx_skbuff[entry] = NULL; in pcnet32_tx()
1990 lp->tx_skbuff = kcalloc(lp->tx_ring_size, sizeof(struct sk_buff *), in pcnet32_alloc_ring()
[all …]
Damd8111e.c242 if(lp->tx_skbuff[i]){ in amd8111e_free_skbs()
243 pci_unmap_single(lp->pci_dev,lp->tx_dma_addr[i], lp->tx_skbuff[i]->len,PCI_DMA_TODEVICE); in amd8111e_free_skbs()
244 dev_kfree_skb (lp->tx_skbuff[i]); in amd8111e_free_skbs()
245 lp->tx_skbuff[i] = NULL; in amd8111e_free_skbs()
665 if (lp->tx_skbuff[tx_index]) { in amd8111e_tx()
667 lp->tx_skbuff[tx_index]->len, in amd8111e_tx()
669 dev_kfree_skb_irq (lp->tx_skbuff[tx_index]); in amd8111e_tx()
670 lp->tx_skbuff[tx_index] = NULL; in amd8111e_tx()
1273 if (lp->tx_skbuff[tx_index]) in amd8111e_tx_queue_avail()
1298 lp->tx_skbuff[tx_index] = skb; in amd8111e_start_xmit()
/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c303 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
828 np->tx_skbuff[i] = NULL; in init_rxtx_rings()
856 if (np->tx_skbuff[i]) { in free_rxtx_rings()
859 np->tx_skbuff[i]->len, in free_rxtx_rings()
861 dev_kfree_skb(np->tx_skbuff[i]); in free_rxtx_rings()
863 np->tx_skbuff[i] = NULL; in free_rxtx_rings()
1010 np->tx_skbuff[entry] = skb; in start_tx()
1087 np->stats.tx_bytes += np->tx_skbuff[entry]->len; in netdev_tx_done()
1093 np->tx_skbuff[entry]->len, in netdev_tx_done()
1095 np->tx_q_bytes -= np->tx_skbuff[entry]->len; in netdev_tx_done()
[all …]
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c239 skb = fep->tx_skbuff[dirtyidx]; in fs_enet_tx_napi()
290 fep->tx_skbuff[dirtyidx] = NULL; in fs_enet_tx_napi()
432 fep->tx_skbuff[i] = NULL; in fs_init_bds()
450 if ((skb = fep->tx_skbuff[i]) == NULL) in fs_cleanup_bds()
457 fep->tx_skbuff[i] = NULL; in fs_cleanup_bds()
603 fep->tx_skbuff[curidx] = NULL; in fs_enet_start_xmit()
623 fep->tx_skbuff[curidx] = skb; in fs_enet_start_xmit()
1029 fep->tx_skbuff = fep->rx_skbuff + fpi->rx_ring; in fs_enet_probe()
/drivers/net/ethernet/dlink/
Dsundance.c374 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
1067 np->tx_skbuff[i] = NULL; in init_ring()
1107 np->tx_skbuff[entry] = skb; in start_tx()
1141 np->tx_skbuff[entry] = NULL; in start_tx()
1163 skb = np->tx_skbuff[i]; in reset_tx()
1169 np->tx_skbuff[i] = NULL; in reset_tx()
1284 skb = np->tx_skbuff[entry]; in intr_handler()
1289 dev_kfree_skb_irq (np->tx_skbuff[entry]); in intr_handler()
1290 np->tx_skbuff[entry] = NULL; in intr_handler()
1303 skb = np->tx_skbuff[entry]; in intr_handler()
[all …]
/drivers/net/ethernet/3com/
D3c515.c309 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
846 vp->tx_skbuff[i] = NULL; in corkscrew_open()
1028 vp->tx_skbuff[entry] = skb; in corkscrew_start_xmit()
1179 if (lp->tx_skbuff[entry]) { in corkscrew_interrupt()
1180 dev_kfree_skb_irq(lp->tx_skbuff[entry]); in corkscrew_interrupt()
1181 lp->tx_skbuff[entry] = NULL; in corkscrew_interrupt()
1459 if (vp->tx_skbuff[i]) { in corkscrew_close()
1460 dev_kfree_skb(vp->tx_skbuff[i]); in corkscrew_close()
1461 vp->tx_skbuff[i] = NULL; in corkscrew_close()
/drivers/net/ethernet/smsc/
Depic100.c256 struct sk_buff* tx_skbuff[TX_RING_SIZE]; member
936 ep->tx_skbuff[i] = NULL; in epic_init_ring()
963 ep->tx_skbuff[entry] = skb; in epic_start_xmit()
1039 dev->stats.tx_bytes += ep->tx_skbuff[entry]->len; in epic_tx()
1044 skb = ep->tx_skbuff[entry]; in epic_tx()
1048 ep->tx_skbuff[entry] = NULL; in epic_tx()
1325 skb = ep->tx_skbuff[i]; in epic_close()
1326 ep->tx_skbuff[i] = NULL; in epic_close()
/drivers/net/ethernet/freescale/
Dgianfar.c274 tx_queue->tx_skbuff = in gfar_alloc_skb_resources()
276 sizeof(*tx_queue->tx_skbuff), in gfar_alloc_skb_resources()
278 if (!tx_queue->tx_skbuff) in gfar_alloc_skb_resources()
282 tx_queue->tx_skbuff[j] = NULL; in gfar_alloc_skb_resources()
549 priv->tx_queue[i]->tx_skbuff = NULL; in gfar_alloc_tx_queues()
1970 if (!tx_queue->tx_skbuff[i]) in free_skb_tx_queue()
1976 for (j = 0; j < skb_shinfo(tx_queue->tx_skbuff[i])->nr_frags; in free_skb_tx_queue()
1984 dev_kfree_skb_any(tx_queue->tx_skbuff[i]); in free_skb_tx_queue()
1985 tx_queue->tx_skbuff[i] = NULL; in free_skb_tx_queue()
1987 kfree(tx_queue->tx_skbuff); in free_skb_tx_queue()
[all …]
Dfec_main.c339 txq->tx_skbuff[index]); in fec_dump()
546 txq->tx_skbuff[index] = skb; in fec_enet_txq_submit_skb()
757 txq->tx_skbuff[index] = skb; in fec_enet_txq_submit_tso()
847 if (txq->tx_skbuff[i]) { in fec_enet_bd_init()
848 dev_kfree_skb_any(txq->tx_skbuff[i]); in fec_enet_bd_init()
849 txq->tx_skbuff[i] = NULL; in fec_enet_bd_init()
910 if (txq->tx_skbuff[j]) { in fec_enet_reset_skb()
911 dev_kfree_skb_any(txq->tx_skbuff[j]); in fec_enet_reset_skb()
912 txq->tx_skbuff[j] = NULL; in fec_enet_reset_skb()
1230 skb = txq->tx_skbuff[index]; in fec_enet_tx_queue()
[all …]
/drivers/net/ethernet/renesas/
Dsh_eth.c1138 if (mdp->tx_skbuff) { in sh_eth_ring_free()
1140 dev_kfree_skb(mdp->tx_skbuff[i]); in sh_eth_ring_free()
1142 kfree(mdp->tx_skbuff); in sh_eth_ring_free()
1143 mdp->tx_skbuff = NULL; in sh_eth_ring_free()
1225 mdp->tx_skbuff[i] = NULL; in sh_eth_ring_format()
1263 mdp->tx_skbuff = kcalloc(mdp->num_tx_ring, sizeof(*mdp->tx_skbuff), in sh_eth_ring_init()
1265 if (!mdp->tx_skbuff) in sh_eth_ring_init()
1438 if (mdp->tx_skbuff[entry]) { in sh_eth_txfree()
1443 dev_kfree_skb_irq(mdp->tx_skbuff[entry]); in sh_eth_txfree()
1444 mdp->tx_skbuff[entry] = NULL; in sh_eth_txfree()
[all …]
/drivers/net/ethernet/sis/
Dsis900.c183 struct sk_buff *tx_skbuff[NUM_TX_DESC]; member
1132 sis_priv->tx_skbuff[i] = NULL; in sis900_init_tx_ring()
1558 struct sk_buff *skb = sis_priv->tx_skbuff[i]; in sis900_tx_timeout()
1565 sis_priv->tx_skbuff[i] = NULL; in sis900_tx_timeout()
1609 sis_priv->tx_skbuff[entry] = skb; in sis900_start_xmit()
1617 sis_priv->tx_skbuff[entry] = NULL; in sis900_start_xmit()
1927 skb = sis_priv->tx_skbuff[entry]; in sis900_finish_xmit()
1932 sis_priv->tx_skbuff[entry] = NULL; in sis900_finish_xmit()
1986 skb = sis_priv->tx_skbuff[i]; in sis900_close()
1991 sis_priv->tx_skbuff[i] = NULL; in sis900_close()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c1114 priv->tx_skbuff[i] = NULL; in init_dma_desc_rings()
1166 if (priv->tx_skbuff[i] != NULL) { in dma_free_tx_skbufs()
1167 dev_kfree_skb_any(priv->tx_skbuff[i]); in dma_free_tx_skbufs()
1168 priv->tx_skbuff[i] = NULL; in dma_free_tx_skbufs()
1205 priv->tx_skbuff = kmalloc_array(txsize, sizeof(struct sk_buff *), in alloc_dma_desc_resources()
1207 if (!priv->tx_skbuff) in alloc_dma_desc_resources()
1253 kfree(priv->tx_skbuff); in alloc_dma_desc_resources()
1288 kfree(priv->tx_skbuff); in free_dma_desc_resources()
1336 struct sk_buff *skb = priv->tx_skbuff[entry]; in stmmac_tx_clean()
1387 priv->tx_skbuff[entry] = NULL; in stmmac_tx_clean()
[all …]
Dstmmac.h54 struct sk_buff **tx_skbuff; member
Dring_mode.c64 priv->tx_skbuff[entry] = NULL; in stmmac_jumbo_frm()
Dchain_mode.c56 priv->tx_skbuff[entry] = NULL; in stmmac_jumbo_frm()
/drivers/net/ethernet/via/
Dvia-rhine.c452 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
1329 rp->tx_skbuff[i] = NULL; in alloc_tbufs()
1352 if (rp->tx_skbuff[i]) { in free_tbufs()
1356 rp->tx_skbuff[i]->len, in free_tbufs()
1359 dev_kfree_skb(rp->tx_skbuff[i]); in free_tbufs()
1361 rp->tx_skbuff[i] = NULL; in free_tbufs()
1803 rp->tx_skbuff[entry] = skb; in rhine_start_tx()
1811 rp->tx_skbuff[entry] = NULL; in rhine_start_tx()
1956 skb = rp->tx_skbuff[entry]; in rhine_tx()
1999 rp->tx_skbuff[entry] = NULL; in rhine_tx()
/drivers/net/ethernet/aeroflex/
Dgreth.h102 struct sk_buff *tx_skbuff[GRETH_TXBD_NUM]; member
/drivers/net/wan/
Ddscc4.c201 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
495 skbuff = dpriv->tx_skbuff; in dscc4_release_ring()
1154 dpriv->tx_skbuff[next] = skb; in dscc4_start_xmit()
1574 skb = dpriv->tx_skbuff[cur]; in dscc4_tx_irq()
1583 dpriv->tx_skbuff[cur] = NULL; in dscc4_tx_irq()
1901 dpriv->tx_skbuff[last] = skb; in dscc4_init_dummy_skb()
1925 memset(dpriv->tx_skbuff, 0, sizeof(struct sk_buff *)*TX_RING_SIZE); in dscc4_init_ring()
/drivers/net/ethernet/natsemi/
Dnatsemi.c547 struct sk_buff *tx_skbuff[TX_RING_SIZE]; member
1972 np->tx_skbuff[i] = NULL; in init_ring()
2008 if (np->tx_skbuff[i]) { in drain_tx()
2010 np->tx_dma[i], np->tx_skbuff[i]->len, in drain_tx()
2012 dev_kfree_skb(np->tx_skbuff[i]); in drain_tx()
2015 np->tx_skbuff[i] = NULL; in drain_tx()
2096 np->tx_skbuff[entry] = skb; in start_tx()
2100 np->tx_skbuff[entry] = NULL; in start_tx()
2151 dev->stats.tx_bytes += np->tx_skbuff[entry]->len; in netdev_tx_done()
2166 np->tx_skbuff[entry]->len, in netdev_tx_done()
[all …]
/drivers/net/ethernet/samsung/sxgbe/
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()
630 dev_kfree_skb_any(txqueue->tx_skbuff[dma_desc]); in tx_free_ring_skbufs()
631 txqueue->tx_skbuff[dma_desc] = NULL; in tx_free_ring_skbufs()
751 struct sk_buff *skb = tqueue->tx_skbuff[entry]; in sxgbe_tx_queue_clean()
774 tqueue->tx_skbuff[entry] = NULL; in sxgbe_tx_queue_clean()
1333 tqueue->tx_skbuff[entry] = skb; in sxgbe_xmit()
1378 tqueue->tx_skbuff[entry] = NULL; in sxgbe_xmit()

12