Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c208 spin_lock_irqsave(&port->tx_skbs.lock, flags); in sparx5_ptp_txtstamp_old_release()
209 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in sparx5_ptp_txtstamp_old_release()
214 __skb_unlink(skb, &port->tx_skbs); in sparx5_ptp_txtstamp_old_release()
217 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in sparx5_ptp_txtstamp_old_release()
245 skb_queue_tail(&port->tx_skbs, skb); in sparx5_ptp_txtstamp_request()
268 skb_unlink(skb, &port->tx_skbs); in sparx5_ptp_txtstamp_release()
355 spin_lock_irqsave(&port->tx_skbs.lock, flags); in sparx5_ptp_irq_handler()
356 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in sparx5_ptp_irq_handler()
360 __skb_unlink(skb, &port->tx_skbs); in sparx5_ptp_irq_handler()
364 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in sparx5_ptp_irq_handler()
[all …]
Dsparx5_main.h172 struct sk_buff_head tx_skbs; member
/linux-6.12.1/drivers/net/ethernet/toshiba/
Dtc35815.c434 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM]; member
983 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_clear_queues()
985 if (lp->tx_skbs[i].skb != skb) { in tc35815_clear_queues()
990 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_clear_queues()
994 lp->tx_skbs[i].skb_dma, skb->len, in tc35815_clear_queues()
996 lp->tx_skbs[i].skb = NULL; in tc35815_clear_queues()
997 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues()
1017 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_free_queues()
1019 if (lp->tx_skbs[i].skb != skb) { in tc35815_free_queues()
1024 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_free_queues()
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c360 spin_lock_irqsave(&port->tx_skbs.lock, flags); in lan966x_ptp_txtstamp_old_release()
361 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in lan966x_ptp_txtstamp_old_release()
366 __skb_unlink(skb, &port->tx_skbs); in lan966x_ptp_txtstamp_old_release()
369 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in lan966x_ptp_txtstamp_old_release()
395 skb_queue_tail(&port->tx_skbs, skb); in lan966x_ptp_txtstamp_request()
418 skb_unlink(skb, &port->tx_skbs); in lan966x_ptp_txtstamp_release()
503 spin_lock_irqsave(&port->tx_skbs.lock, flags); in lan966x_ptp_irq_handler()
504 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in lan966x_ptp_irq_handler()
508 __skb_unlink(skb, &port->tx_skbs); in lan966x_ptp_irq_handler()
512 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in lan966x_ptp_irq_handler()
[all …]
Dlan966x_main.h410 struct sk_buff_head tx_skbs; member
/linux-6.12.1/drivers/net/wwan/
Dqcom_bam_dmux.c80 struct bam_dmux_skb_dma tx_skbs[BAM_DMUX_NUM_SKB]; member
173 if (skb_dma == &dmux->tx_skbs[dmux->tx_next_skb % BAM_DMUX_NUM_SKB]) in bam_dmux_tx_done()
214 skb_dma = &dmux->tx_skbs[dmux->tx_next_skb % BAM_DMUX_NUM_SKB]; in bam_dmux_tx_queue()
223 if (dmux->tx_skbs[dmux->tx_next_skb % BAM_DMUX_NUM_SKB].skb) in bam_dmux_tx_queue()
359 if (!atomic_long_fetch_or(BIT(skb_dma - dmux->tx_skbs), in bam_dmux_netdev_start_xmit()
395 bam_dmux_skb_dma_submit_tx(&dmux->tx_skbs[i]); in bam_dmux_tx_wakeup_work()
812 dmux->tx_skbs[i].dmux = dmux; in bam_dmux_probe()
884 bam_dmux_free_skbs(dmux->tx_skbs, DMA_TO_DEVICE); in bam_dmux_remove()
/linux-6.12.1/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()
1085 ip->tx_skbs[produce] = skb; /* Remember skb */ in ioc3_start_xmit()
/linux-6.12.1/net/mctp/test/
Droute-test.c925 struct sk_buff *tx_skbs[2]; in mctp_test_fragment_flow() local
942 tx_skbs[0] = skb_dequeue(&rt->pkts); in mctp_test_fragment_flow()
943 tx_skbs[1] = skb_dequeue(&rt->pkts); in mctp_test_fragment_flow()
945 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tx_skbs[0]); in mctp_test_fragment_flow()
946 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tx_skbs[1]); in mctp_test_fragment_flow()
948 flows[0] = skb_ext_find(tx_skbs[0], SKB_EXT_MCTP); in mctp_test_fragment_flow()
953 flows[1] = skb_ext_find(tx_skbs[1], SKB_EXT_MCTP); in mctp_test_fragment_flow()
957 kfree_skb(tx_skbs[0]); in mctp_test_fragment_flow()
958 kfree_skb(tx_skbs[1]); in mctp_test_fragment_flow()
/linux-6.12.1/drivers/net/wan/
Dwanxl.c60 struct sk_buff *tx_skbs[TX_BUFFERS]; member
181 struct sk_buff *skb = port->tx_skbs[port->tx_in]; in wanxl_tx_intr()
304 port->tx_skbs[port->tx_out] = skb; in wanxl_xmit()
457 desc->address, port->tx_skbs[i]->len, in wanxl_close()
459 dev_kfree_skb(port->tx_skbs[i]); in wanxl_close()
/linux-6.12.1/drivers/net/ethernet/mscc/
Docelot_ptp.c631 skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_add_txtstamp_skb()
774 spin_lock_irqsave(&port->tx_skbs.lock, flags); in ocelot_get_txtstamp()
776 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in ocelot_get_txtstamp()
779 __skb_unlink(skb, &port->tx_skbs); in ocelot_get_txtstamp()
784 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in ocelot_get_txtstamp()
/linux-6.12.1/drivers/net/ethernet/faraday/
Dftgmac100.c80 struct sk_buff **tx_skbs; member
645 priv->tx_skbs[pointer] = NULL; in ftgmac100_free_tx_packet()
663 skb = priv->tx_skbs[pointer]; in ftgmac100_tx_complete_packet()
780 priv->tx_skbs[pointer] = skb; in ftgmac100_hard_start_xmit()
806 priv->tx_skbs[pointer] = skb; in ftgmac100_hard_start_xmit()
903 struct sk_buff *skb = priv->tx_skbs[i]; in ftgmac100_free_buffers()
916 kfree(priv->tx_skbs); in ftgmac100_free_rings()
944 priv->tx_skbs = kcalloc(MAX_TX_QUEUE_ENTRIES, sizeof(void *), in ftgmac100_alloc_rings()
946 if (!priv->tx_skbs) in ftgmac100_alloc_rings()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c1061 struct sk_buff_head *tx_skbs) in iwl_mei_handle_sap_data() argument
1128 __skb_queue_tail(tx_skbs, skb); in iwl_mei_handle_sap_data()
1205 struct sk_buff_head tx_skbs; in iwl_mei_handle_check_shared_area() local
1231 __skb_queue_head_init(&tx_skbs); in iwl_mei_handle_check_shared_area()
1233 iwl_mei_handle_sap_rx(cldev, notif_q, q_head, &tx_skbs, q_sz); in iwl_mei_handle_check_shared_area()
1235 if (skb_queue_empty(&tx_skbs)) { in iwl_mei_handle_check_shared_area()
1253 skb_queue_purge(&tx_skbs); in iwl_mei_handle_check_shared_area()
1257 while (!skb_queue_empty(&tx_skbs)) { in iwl_mei_handle_check_shared_area()
1258 struct sk_buff *skb = __skb_dequeue(&tx_skbs); in iwl_mei_handle_check_shared_area()
/linux-6.12.1/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.c1177 if (hp->tx_skbs[i] != NULL) { in happy_meal_clean_rings()
1178 struct sk_buff *skb = hp->tx_skbs[i]; in happy_meal_clean_rings()
1183 hp->tx_skbs[i] = NULL; in happy_meal_clean_rings()
1714 skb = hp->tx_skbs[elem]; in happy_meal_tx()
1724 hp->tx_skbs[elem] = NULL; in happy_meal_tx()
1999 hp->tx_skbs[entry] = skb; in happy_meal_start_xmit()
2066 hp->tx_skbs[hp->tx_new] = NULL; in happy_meal_start_xmit()
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()
1006 gp->tx_skbs[entry] = skb; in gem_start_xmit()
1581 if (gp->tx_skbs[i] != NULL) { in gem_clean_rings()
1585 skb = gp->tx_skbs[i]; in gem_clean_rings()
1586 gp->tx_skbs[i] = NULL; in gem_clean_rings()
Dsungem.h1015 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
Dcassini.h2767 struct sk_buff *tx_skbs[N_TX_RINGS][TX_DESC_RING_SIZE]; member
/linux-6.12.1/drivers/net/
Dxen-netfront.c133 struct sk_buff *tx_skbs[NET_TX_RING_SIZE]; member
432 skb = queue->tx_skbs[id]; in xennet_tx_buf_gc()
433 queue->tx_skbs[id] = NULL; in xennet_tx_buf_gc()
493 queue->tx_skbs[id] = skb; in xennet_tx_setup_grant()
1424 if (!queue->tx_skbs[i]) in xennet_release_tx_bufs()
1427 skb = queue->tx_skbs[i]; in xennet_release_tx_bufs()
1428 queue->tx_skbs[i] = NULL; in xennet_release_tx_bufs()
/linux-6.12.1/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-6.12.1/drivers/net/dsa/ocelot/
Dfelix.c1594 spin_lock_irqsave(&ocelot_port->tx_skbs.lock, flags); in ocelot_port_purge_txtstamp_skb()
1596 skb_queue_walk_safe(&ocelot_port->tx_skbs, skb, skb_tmp) { in ocelot_port_purge_txtstamp_skb()
1599 __skb_unlink(skb, &ocelot_port->tx_skbs); in ocelot_port_purge_txtstamp_skb()
1604 spin_unlock_irqrestore(&ocelot_port->tx_skbs.lock, flags); in ocelot_port_purge_txtstamp_skb()
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.h386 struct sk_buff_head tx_skbs; member
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h623 struct sk_buff_head tx_skbs; member

12