Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ptp.c212 spin_lock_irqsave(&port->tx_skbs.lock, flags); in sparx5_ptp_txtstamp_old_release()
213 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in sparx5_ptp_txtstamp_old_release()
218 __skb_unlink(skb, &port->tx_skbs); in sparx5_ptp_txtstamp_old_release()
221 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in sparx5_ptp_txtstamp_old_release()
249 skb_queue_tail(&port->tx_skbs, skb); in sparx5_ptp_txtstamp_request()
272 skb_unlink(skb, &port->tx_skbs); in sparx5_ptp_txtstamp_release()
360 spin_lock_irqsave(&port->tx_skbs.lock, flags); in sparx5_ptp_irq_handler()
361 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in sparx5_ptp_irq_handler()
365 __skb_unlink(skb, &port->tx_skbs); in sparx5_ptp_irq_handler()
369 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in sparx5_ptp_irq_handler()
[all …]
/linux/drivers/net/ethernet/toshiba/
H A 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/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c384 spin_lock_irqsave(&port->tx_skbs.lock, flags); in lan966x_ptp_txtstamp_old_release()
385 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in lan966x_ptp_txtstamp_old_release()
390 __skb_unlink(skb, &port->tx_skbs); in lan966x_ptp_txtstamp_old_release()
393 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in lan966x_ptp_txtstamp_old_release()
421 skb_queue_tail(&port->tx_skbs, skb); in lan966x_ptp_txtstamp_request()
444 skb_unlink(skb, &port->tx_skbs); in lan966x_ptp_txtstamp_release()
529 spin_lock_irqsave(&port->tx_skbs.lock, flags); in lan966x_ptp_irq_handler()
530 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in lan966x_ptp_irq_handler()
534 __skb_unlink(skb, &port->tx_skbs); in lan966x_ptp_irq_handler()
538 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in lan966x_ptp_irq_handler()
[all …]
H A Dlan966x_main.h415 struct sk_buff_head tx_skbs; member
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x.c260 spin_lock_irqsave(&port->tx_skbs.lock, flags); in lan969x_ptp_irq_handler()
261 skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) { in lan969x_ptp_irq_handler()
265 __skb_unlink(skb, &port->tx_skbs); in lan969x_ptp_irq_handler()
269 spin_unlock_irqrestore(&port->tx_skbs.lock, flags); in lan969x_ptp_irq_handler()
/linux/drivers/net/wan/
H A 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/net/mctp/test/
H A Droute-test.c988 struct sk_buff *tx_skbs[2]; in mctp_test_packet_flow()
1005 tx_skbs[0] = skb_dequeue(&dev->pkts);
1006 tx_skbs[1] = skb_dequeue(&dev->pkts);
1008 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tx_skbs[0]);
1009 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, tx_skbs[1]); in mctp_test_fragment_flow()
1011 flows[0] = skb_ext_find(tx_skbs[0], SKB_EXT_MCTP); in mctp_test_fragment_flow()
1016 flows[1] = skb_ext_find(tx_skbs[1], SKB_EXT_MCTP); in mctp_test_fragment_flow()
1020 kfree_skb(tx_skbs[0]); in mctp_test_fragment_flow()
1021 kfree_skb(tx_skbs[1]); in mctp_test_fragment_flow()
1013 struct sk_buff *tx_skbs[2]; mctp_test_fragment_flow() local
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A 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/drivers/net/ethernet/sgi/
H A 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/drivers/net/ethernet/sun/
H A 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()
H A Dsunbmac.h300 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
H A 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()
H A Dsunhme.h418 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
H A 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()
H A Dsungem.h1015 struct sk_buff *tx_skbs[TX_RING_SIZE]; member
H A Dcassini.h2767 struct sk_buff *tx_skbs[N_TX_RINGS][TX_DESC_RING_SIZE]; member
H A Dcassini.c1820 skbs = cp->tx_skbs[ring]; in cas_tx_ringN()
2744 cp->tx_skbs[ring][entry] = skb; in cas_xmit_tx_ringN()
3834 struct sk_buff *skb, **skbs = cp->tx_skbs[ring]; in cas_clean_txd()
/linux/drivers/net/
H A Dxen-netfront.c133 struct sk_buff *tx_skbs[NET_TX_RING_SIZE]; member
433 skb = queue->tx_skbs[id]; in xennet_tx_buf_gc()
434 queue->tx_skbs[id] = NULL; in xennet_tx_buf_gc()
494 queue->tx_skbs[id] = skb; in xennet_tx_setup_grant()
1430 if (!queue->tx_skbs[i]) in xennet_release_tx_bufs()
1433 skb = queue->tx_skbs[i]; in xennet_release_tx_bufs()
1434 queue->tx_skbs[i] = NULL; in xennet_release_tx_bufs()
/linux/drivers/net/ethernet/natsemi/
H A Dns83820.c441 struct sk_buff *tx_skbs[NR_TX_DESC]; member
982 skb = dev->tx_skbs[tx_done_idx];
983 dev->tx_skbs[tx_done_idx] = NULL;
1019 struct sk_buff *skb = dev->tx_skbs[i];
1020 dev->tx_skbs[i] = NULL;
1157 dev->tx_skbs[last_idx] = skb;
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1623 spin_lock_irqsave(&ocelot_port->tx_skbs.lock, flags); in ocelot_port_purge_txtstamp_skb()
1625 skb_queue_walk_safe(&ocelot_port->tx_skbs, skb, skb_tmp) { in ocelot_port_purge_txtstamp_skb()
1628 __skb_unlink(skb, &ocelot_port->tx_skbs); in ocelot_port_purge_txtstamp_skb()
1633 spin_unlock_irqrestore(&ocelot_port->tx_skbs.lock, flags); in ocelot_port_purge_txtstamp_skb()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h623 struct sk_buff_head tx_skbs; member
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.h479 struct sk_buff_head tx_skbs; member
H A Denetc.c989 skb_queue_tail(&priv->tx_skbs, skb); in enetc_start_xmit()
2918 skb = skb_dequeue(&priv->tx_skbs); in enetc_tx_onestep_tstamp()
2928 skb_queue_head_init(&priv->tx_skbs); in enetc_tx_onestep_tstamp_init()
/linux/include/soc/mscc/
H A Docelot.h790 struct sk_buff_head tx_skbs; member
/linux/drivers/net/ethernet/mscc/
H A Docelot.c3013 skb_queue_head_init(&ocelot_port->tx_skbs); in ocelot_init_port()
3328 skb_queue_purge(&ocelot_port->tx_skbs); in ocelot_deinit_port()

12