Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c708 kfree(txr->tx_buf_ring); in bnx2_free_tx_mem()
709 txr->tx_buf_ring = NULL; in bnx2_free_tx_mem()
754 txr->tx_buf_ring = kzalloc(SW_TXBD_RING_SIZE, GFP_KERNEL); in bnx2_alloc_tx_mem()
755 if (txr->tx_buf_ring == NULL) in bnx2_alloc_tx_mem()
2867 tx_buf = &txr->tx_buf_ring[sw_ring_cons]; in bnx2_tx_int()
2898 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
5428 if (txr->tx_buf_ring == NULL) in bnx2_free_tx_skbs()
5432 struct bnx2_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; in bnx2_free_tx_skbs()
5451 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(j)]; in bnx2_free_tx_skbs()
6661 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
[all …]
Dbnx2.h6735 struct bnx2_sw_tx_bd *tx_buf_ring; member
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c205 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
351 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
399 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
408 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
433 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_int()
449 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_int()
1463 struct bnxt_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; in bnxt_free_tx_skbs()
1490 tx_buf = &txr->tx_buf_ring[j]; in bnxt_free_tx_skbs()
1912 ring->vmem = (void **)&txr->tx_buf_ring; in bnxt_init_ring_struct()
Dbnxt.h536 struct bnxt_sw_tx_bd *tx_buf_ring; member
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c201 struct sw_tx_bd *tx_buf = &txdata->tx_buf_ring[idx]; in bnx2x_free_tx_pkt()
3904 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_start_xmit()
4426 BNX2X_FREE(txdata->tx_buf_ring); in bnx2x_free_fp_mem_at()
4591 txdata->tx_buf_ring = kcalloc(NUM_TX_BD, in bnx2x_alloc_fp_mem_at()
4594 if (!txdata->tx_buf_ring) in bnx2x_alloc_fp_mem_at()
Dbnx2x.h504 struct sw_tx_bd *tx_buf_ring; member
Dbnx2x_ethtool.c2521 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()
Dbnx2x_main.c1159 &txdata->tx_buf_ring[j]; in bnx2x_panic_dump()