Home
last modified time | relevance | path

Searched refs:tx_skbs (Results 1 – 16 of 16) sorted by relevance

/linux-2.6.39/drivers/net/
Dmeth.c73 struct sk_buff *tx_skbs[TX_RING_ENTRIES]; member
212 memset(priv->tx_skbs, 0, sizeof(priv->tx_skbs)); in meth_init_tx_ring()
242 if (priv->tx_skbs[i]) in meth_free_tx_ring()
243 dev_kfree_skb(priv->tx_skbs[i]); in meth_free_tx_ring()
244 priv->tx_skbs[i] = NULL; in meth_free_tx_ring()
481 skb = priv->tx_skbs[priv->tx_read]; in meth_tx_cleanup()
515 priv->tx_skbs[priv->tx_read] = NULL; in meth_tx_cleanup()
670 priv->tx_skbs[priv->tx_write] = skb; in meth_add_to_tx_ring()
Dtc35815.c435 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM]; member
1013 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_clear_queues()
1015 if (lp->tx_skbs[i].skb != skb) { in tc35815_clear_queues()
1020 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_clear_queues()
1023 pci_unmap_single(lp->pci_dev, lp->tx_skbs[i].skb_dma, skb->len, PCI_DMA_TODEVICE); in tc35815_clear_queues()
1024 lp->tx_skbs[i].skb = NULL; in tc35815_clear_queues()
1025 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues()
1045 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_free_queues()
1047 if (lp->tx_skbs[i].skb != skb) { in tc35815_free_queues()
1052 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_free_queues()
[all …]
Dxen-netfront.c98 } tx_skbs[NET_TX_RING_SIZE]; member
366 skb = np->tx_skbs[id].skb; in xennet_tx_buf_gc()
379 add_id_to_freelist(&np->tx_skb_freelist, np->tx_skbs, id); in xennet_tx_buf_gc()
424 id = get_id_from_freelist(&np->tx_skb_freelist, np->tx_skbs); in xennet_make_frags()
425 np->tx_skbs[id].skb = skb_get(skb); in xennet_make_frags()
447 id = get_id_from_freelist(&np->tx_skb_freelist, np->tx_skbs); in xennet_make_frags()
448 np->tx_skbs[id].skb = skb_get(skb); in xennet_make_frags()
501 id = get_id_from_freelist(&np->tx_skb_freelist, np->tx_skbs); in xennet_start_xmit()
502 np->tx_skbs[id].skb = skb; in xennet_start_xmit()
1044 if (skb_entry_is_link(&np->tx_skbs[i])) in xennet_release_tx_bufs()
[all …]
Dmyri_sbus.c278 if (mp->tx_skbs[i] != NULL) { in myri_clean_rings()
279 struct sk_buff *skb = mp->tx_skbs[i]; in myri_clean_rings()
287 dev_kfree_skb(mp->tx_skbs[i]); in myri_clean_rings()
288 mp->tx_skbs[i] = NULL; in myri_clean_rings()
365 struct sk_buff *skb = mp->tx_skbs[entry]; in myri_tx()
373 mp->tx_skbs[entry] = NULL; in myri_tx()
663 mp->tx_skbs[entry] = skb; in myri_start_xmit()
958 mp->tx_skbs[i] = NULL; in myri_sbus_probe()
Dsunbmac.c205 if (bp->tx_skbs[i] != NULL) { in bigmac_clean_rings()
206 dev_kfree_skb_any(bp->tx_skbs[i]); in bigmac_clean_rings()
207 bp->tx_skbs[i] = NULL; in bigmac_clean_rings()
778 skb = bp->tx_skbs[elem]; in bigmac_tx()
786 bp->tx_skbs[elem] = NULL; in bigmac_tx()
972 bp->tx_skbs[entry] = skb; in bigmac_start_xmit()
Dioc3-eth.c84 struct sk_buff *tx_skbs[128]; member
674 skb = ip->tx_skbs[o_entry]; in ioc3_tx()
677 ip->tx_skbs[o_entry] = NULL; in ioc3_tx()
860 skb = ip->tx_skbs[i]; in ioc3_clean_tx_ring()
862 ip->tx_skbs[i] = NULL; in ioc3_clean_tx_ring()
1507 ip->tx_skbs[produce] = skb; /* Remember skb */ in ioc3_start_xmit()
Dmyri_sbus.h282 struct sk_buff *tx_skbs[TX_RING_SIZE]; /* TX skb's */ member
Dsunbmac.h316 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dns83820.c460 struct sk_buff *tx_skbs[NR_TX_DESC]; member
1018 skb = dev->tx_skbs[tx_done_idx];
1019 dev->tx_skbs[tx_done_idx] = NULL;
1059 struct sk_buff *skb = dev->tx_skbs[i];
1060 dev->tx_skbs[i] = NULL;
1197 dev->tx_skbs[last_idx] = skb;
Dsunhme.h417 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dsungem.h1023 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dsunhme.c1218 if (hp->tx_skbs[i] != NULL) { in happy_meal_clean_rings()
1219 struct sk_buff *skb = hp->tx_skbs[i]; in happy_meal_clean_rings()
1224 hp->tx_skbs[i] = NULL; in happy_meal_clean_rings()
1940 skb = hp->tx_skbs[elem]; in happy_meal_tx()
1950 hp->tx_skbs[elem] = NULL; in happy_meal_tx()
2289 hp->tx_skbs[entry] = skb; in happy_meal_start_xmit()
Dsungem.c669 skb = gp->tx_skbs[entry]; in gem_tx()
686 gp->tx_skbs[entry] = NULL; in gem_tx()
1035 gp->tx_skbs[entry] = skb; in gem_start_xmit()
1613 if (gp->tx_skbs[i] != NULL) { in gem_clean_rings()
1617 skb = gp->tx_skbs[i]; in gem_clean_rings()
1618 gp->tx_skbs[i] = NULL; in gem_clean_rings()
Dcassini.h2781 struct sk_buff *tx_skbs[N_TX_RINGS][TX_DESC_RING_SIZE]; member
Dcassini.c1866 skbs = cp->tx_skbs[ring]; in cas_tx_ringN()
2800 cp->tx_skbs[ring][entry] = skb; in cas_xmit_tx_ringN()
3902 struct sk_buff *skb, **skbs = cp->tx_skbs[ring]; in cas_clean_txd()
/linux-2.6.39/drivers/net/wan/
Dwanxl.c61 struct sk_buff *tx_skbs[TX_BUFFERS]; member
166 struct sk_buff *skb = port->tx_skbs[port->tx_in]; in wanxl_tx_intr()
294 port->tx_skbs[port->tx_out] = skb; in wanxl_xmit()
455 port->tx_skbs[i]->len, in wanxl_close()
457 dev_kfree_skb(port->tx_skbs[i]); in wanxl_close()