Home
last modified time | relevance | path

Searched refs:tx_buf_ring (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c45 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_xmit_bd()
69 frag_tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_xmit_bd()
136 tx_buf = &txr->tx_buf_ring[RING_TX(bp, tx_cons)]; in bnxt_tx_int_xdp()
156 tx_buf = &txr->tx_buf_ring[RING_TX(bp, tx_cons)]; in bnxt_tx_int_xdp()
169 tx_buf = &txr->tx_buf_ring[RING_TX(bp, last_tx_cons)]; in bnxt_tx_int_xdp()
H A Dbnxt_ptp.c851 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; in bnxt_tx_ts_cmp()
H A Dbnxt.c509 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
709 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
758 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
766 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
776 txr->tx_buf_ring[txr->tx_prod].is_ts_pkt = 0; in bnxt_start_xmit()
784 txr->tx_buf_ring[txr->tx_prod].skb = NULL; in bnxt_start_xmit()
807 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; in __bnxt_tx_int()
838 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; in __bnxt_tx_int()
3323 if (!txr->tx_buf_ring) in bnxt_free_tx_skbs()
3327 struct bnxt_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; in bnxt_free_tx_skbs()
[all …]
H A Dbnxt.h978 struct bnxt_sw_tx_bd *tx_buf_ring; member
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c645 dev->tx_buf_ring.size = ring_size; in mtk_wed_tx_buffer_alloc()
647 dev->tx_buf_ring.size = MTK_WED_TX_BM_DMA_SIZE; in mtk_wed_tx_buffer_alloc()
650 n_pages = dev->tx_buf_ring.size / MTK_WED_BUF_PER_PAGE; in mtk_wed_tx_buffer_alloc()
656 dev->tx_buf_ring.pages = page_list; in mtk_wed_tx_buffer_alloc()
659 dev->tx_buf_ring.size * desc_size, in mtk_wed_tx_buffer_alloc()
664 dev->tx_buf_ring.desc = desc_ptr; in mtk_wed_tx_buffer_alloc()
665 dev->tx_buf_ring.desc_phys = desc_phys; in mtk_wed_tx_buffer_alloc()
733 struct mtk_wed_buf *page_list = dev->tx_buf_ring.pages; in mtk_wed_free_tx_buffer()
740 if (!dev->tx_buf_ring.desc) in mtk_wed_free_tx_buffer()
743 for (i = 0; i < dev->tx_buf_ring.size; i += MTK_WED_BUF_PER_PAGE) { in mtk_wed_free_tx_buffer()
[all …]
/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h112 } tx_buf_ring; member
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c705 kfree(txr->tx_buf_ring); in bnx2_free_tx_mem()
706 txr->tx_buf_ring = NULL; in bnx2_free_tx_mem()
751 txr->tx_buf_ring = kzalloc(SW_TXBD_RING_SIZE, GFP_KERNEL); in bnx2_alloc_tx_mem()
752 if (!txr->tx_buf_ring) in bnx2_alloc_tx_mem()
2863 tx_buf = &txr->tx_buf_ring[sw_ring_cons]; in bnx2_tx_int()
2894 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
5421 if (!txr->tx_buf_ring) in bnx2_free_tx_skbs()
5425 struct bnx2_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; in bnx2_free_tx_skbs()
5444 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(j)]; in bnx2_free_tx_skbs()
6655 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
[all …]
H A Dbnx2.h6735 struct bnx2_sw_tx_bd *tx_buf_ring; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c198 struct sw_tx_bd *tx_buf = &txdata->tx_buf_ring[idx]; in bnx2x_free_tx_pkt()
3873 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_start_xmit()
4421 BNX2X_FREE(txdata->tx_buf_ring); in bnx2x_free_fp_mem_at()
4585 txdata->tx_buf_ring = kcalloc(NUM_TX_BD, in bnx2x_alloc_fp_mem_at()
4588 if (!txdata->tx_buf_ring) in bnx2x_alloc_fp_mem_at()
H A Dbnx2x.h516 struct sw_tx_bd *tx_buf_ring; member
H A Dbnx2x_ethtool.c2582 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()
H A Dbnx2x_main.c1169 &txdata->tx_buf_ring[j]; in bnx2x_panic_dump()