Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/toshiba/
Dtc35815.c434 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM]; member
982 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_clear_queues()
984 if (lp->tx_skbs[i].skb != skb) { in tc35815_clear_queues()
989 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_clear_queues()
993 lp->tx_skbs[i].skb_dma, skb->len, in tc35815_clear_queues()
995 lp->tx_skbs[i].skb = NULL; in tc35815_clear_queues()
996 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues()
1016 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_free_queues()
1018 if (lp->tx_skbs[i].skb != skb) { in tc35815_free_queues()
1023 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_free_queues()
[all …]
/Linux-v5.10/drivers/net/ethernet/sgi/
Dmeth.c78 struct sk_buff *tx_skbs[TX_RING_ENTRIES]; member
220 memset(priv->tx_skbs, 0, sizeof(priv->tx_skbs)); in meth_init_tx_ring()
250 dev_kfree_skb(priv->tx_skbs[i]); in meth_free_tx_ring()
251 priv->tx_skbs[i] = NULL; in meth_free_tx_ring()
490 skb = priv->tx_skbs[priv->tx_read]; in meth_tx_cleanup()
524 priv->tx_skbs[priv->tx_read] = NULL; in meth_tx_cleanup()
679 priv->tx_skbs[priv->tx_write] = skb; in meth_add_to_tx_ring()
Dioc3-eth.c90 struct sk_buff *tx_skbs[TX_RING_ENTRIES]; member
464 skb = ip->tx_skbs[o_entry]; in ioc3_tx()
467 ip->tx_skbs[o_entry] = NULL; in ioc3_tx()
636 skb = ip->tx_skbs[i]; in ioc3_clean_tx_ring()
639 ip->tx_skbs[i] = NULL; in ioc3_clean_tx_ring()
1083 ip->tx_skbs[produce] = skb; /* Remember skb */ in ioc3_start_xmit()
/Linux-v5.10/drivers/net/wan/
Dwanxl.c61 struct sk_buff *tx_skbs[TX_BUFFERS]; member
165 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()
456 desc->address, port->tx_skbs[i]->len, in wanxl_close()
458 dev_kfree_skb(port->tx_skbs[i]); in wanxl_close()
/Linux-v5.10/drivers/net/ethernet/faraday/
Dftgmac100.c70 struct sk_buff **tx_skbs; member
632 priv->tx_skbs[pointer] = NULL; in ftgmac100_free_tx_packet()
650 skb = priv->tx_skbs[pointer]; in ftgmac100_tx_complete_packet()
762 priv->tx_skbs[pointer] = skb; in ftgmac100_hard_start_xmit()
788 priv->tx_skbs[pointer] = skb; in ftgmac100_hard_start_xmit()
880 struct sk_buff *skb = priv->tx_skbs[i]; in ftgmac100_free_buffers()
893 kfree(priv->tx_skbs); in ftgmac100_free_rings()
921 priv->tx_skbs = kcalloc(MAX_TX_QUEUE_ENTRIES, sizeof(void *), in ftgmac100_alloc_rings()
923 if (!priv->tx_skbs) in ftgmac100_alloc_rings()
/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot.c453 skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_add_txtstamp_skb()
513 spin_lock_irqsave(&port->tx_skbs.lock, flags); in ocelot_get_txtstamp()
515 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in ocelot_get_txtstamp()
518 __skb_unlink(skb, &port->tx_skbs); in ocelot_get_txtstamp()
523 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in ocelot_get_txtstamp()
1337 skb_queue_head_init(&ocelot_port->tx_skbs); in ocelot_init_port()
1568 skb_queue_purge(&ocelot_port->tx_skbs); in ocelot_deinit_port()
/Linux-v5.10/drivers/net/ethernet/sun/
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()
775 skb = bp->tx_skbs[elem]; in bigmac_tx()
783 bp->tx_skbs[elem] = NULL; in bigmac_tx()
969 bp->tx_skbs[entry] = skb; in bigmac_start_xmit()
Dsunbmac.h300 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dsunhme.h418 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dsungem.c647 skb = gp->tx_skbs[entry]; in gem_tx()
664 gp->tx_skbs[entry] = NULL; in gem_tx()
1017 gp->tx_skbs[entry] = skb; in gem_start_xmit()
1592 if (gp->tx_skbs[i] != NULL) { in gem_clean_rings()
1596 skb = gp->tx_skbs[i]; in gem_clean_rings()
1597 gp->tx_skbs[i] = NULL; in gem_clean_rings()
Dsungem.h1015 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dsunhme.c1217 if (hp->tx_skbs[i] != NULL) { in happy_meal_clean_rings()
1218 struct sk_buff *skb = hp->tx_skbs[i]; in happy_meal_clean_rings()
1223 hp->tx_skbs[i] = NULL; in happy_meal_clean_rings()
1937 skb = hp->tx_skbs[elem]; in happy_meal_tx()
1947 hp->tx_skbs[elem] = NULL; in happy_meal_tx()
2314 hp->tx_skbs[entry] = skb; in happy_meal_start_xmit()
2381 hp->tx_skbs[hp->tx_new] = NULL; in happy_meal_start_xmit()
Dcassini.h2767 struct sk_buff *tx_skbs[N_TX_RINGS][TX_DESC_RING_SIZE]; member
Dcassini.c1832 skbs = cp->tx_skbs[ring]; in cas_tx_ringN()
2772 cp->tx_skbs[ring][entry] = skb; in cas_xmit_tx_ringN()
3868 struct sk_buff *skb, **skbs = cp->tx_skbs[ring]; in cas_clean_txd()
/Linux-v5.10/drivers/net/
Dxen-netfront.c139 } tx_skbs[NET_TX_RING_SIZE]; member
409 skb = queue->tx_skbs[id].skb; in xennet_tx_buf_gc()
422 add_id_to_freelist(&queue->tx_skb_freelist, queue->tx_skbs, id); in xennet_tx_buf_gc()
454 id = get_id_from_freelist(&queue->tx_skb_freelist, queue->tx_skbs); in xennet_tx_setup_grant()
462 queue->tx_skbs[id].skb = skb; in xennet_tx_setup_grant()
1291 if (skb_entry_is_link(&queue->tx_skbs[i])) in xennet_release_tx_bufs()
1294 skb = queue->tx_skbs[i].skb; in xennet_release_tx_bufs()
1301 add_id_to_freelist(&queue->tx_skb_freelist, queue->tx_skbs, i); in xennet_release_tx_bufs()
1861 skb_entry_set_link(&queue->tx_skbs[i], i+1); in xennet_init_queue()
/Linux-v5.10/drivers/net/ethernet/natsemi/
Dns83820.c441 struct sk_buff *tx_skbs[NR_TX_DESC]; member
983 skb = dev->tx_skbs[tx_done_idx];
984 dev->tx_skbs[tx_done_idx] = NULL;
1020 struct sk_buff *skb = dev->tx_skbs[i];
1021 dev->tx_skbs[i] = NULL;
1158 dev->tx_skbs[last_idx] = skb;
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h558 struct sk_buff_head tx_skbs; member
Ddpaa2-eth.c1181 skb = skb_dequeue(&priv->tx_skbs); in dpaa2_eth_tx_onestep_tstamp()
1216 skb_queue_tail(&priv->tx_skbs, skb); in dpaa2_eth_tx()
4219 skb_queue_head_init(&priv->tx_skbs); in dpaa2_eth_probe()
/Linux-v5.10/include/soc/mscc/
Docelot.h588 struct sk_buff_head tx_skbs; member