/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_xdp.c | 128 u16 tx_cons = txr->tx_cons; in bnxt_tx_int_xdp() local 129 u16 last_tx_cons = tx_cons; in bnxt_tx_int_xdp() 136 tx_buf = &txr->tx_buf_ring[tx_cons]; in bnxt_tx_int_xdp() 151 last_tx_cons = tx_cons; in bnxt_tx_int_xdp() 155 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp() 156 tx_buf = &txr->tx_buf_ring[tx_cons]; in bnxt_tx_int_xdp() 163 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp() 167 WRITE_ONCE(txr->tx_cons, tx_cons); in bnxt_tx_int_xdp()
|
H A D | bnxt.h | 802 u16 tx_cons; member 2260 u32 used = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons); in bnxt_tx_avail()
|
H A D | bnxt.c | 344 txr->tx_cons, txr->tx_prod, idx); in bnxt_sched_reset_txr() 693 u16 cons = txr->tx_cons; in bnxt_tx_int() 751 WRITE_ONCE(txr->tx_cons, cons); in bnxt_tx_int() 4421 txr->tx_cons = 0; in bnxt_clear_ring_indices() 11555 txr->tx_cons); in bnxt_dump_tx_sw_state()
|
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 138 priv->tx_prod - priv->tx_cons - inuse - 1, 0); in msgdma_tx_completions() 143 ready = priv->tx_prod - priv->tx_cons - 1; in msgdma_tx_completions() 145 ready = priv->tx_prod - priv->tx_cons; in msgdma_tx_completions()
|
H A D | altera_tse_main.c | 89 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1; in tse_tx_avail() 274 priv->tx_cons = 0; in alloc_init_skbufs() 444 while (ready && (priv->tx_cons != priv->tx_prod)) { in tse_tx_complete() 445 entry = priv->tx_cons % txsize; in tse_tx_complete() 450 __func__, priv->tx_prod, priv->tx_cons); in tse_tx_complete() 456 priv->tx_cons++; in tse_tx_complete()
|
H A D | altera_tse.h | 429 u32 tx_cons; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | smc_diag.h | 73 struct smc_diag_cursor tx_cons; /* sent consumer cursor */ member
|
/openbmc/linux/net/smc/ |
H A D | smc_diag.c | 123 .tx_cons.wrap = conn->local_tx_ctrl.cons.wrap, in __smc_diag_dump() 124 .tx_cons.count = conn->local_tx_ctrl.cons.count, in __smc_diag_dump()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.h | 365 u32 tx_prod, tx_cons; member
|
H A D | b44.c | 76 (((BP)->tx_cons <= (BP)->tx_prod) ? \ 77 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \ 78 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP)) 600 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx() 619 bp->tx_cons = cons; in b44_tx() 1270 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
|
H A D | cnic.h | 237 u16 tx_cons; member
|
H A D | cnic.c | 2946 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local 2953 tx_cons = *cp->tx_cons_ptr; in cnic_chk_pkt_rings() 2954 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) { in cnic_chk_pkt_rings() 2958 cp->tx_cons = tx_cons; in cnic_chk_pkt_rings() 4548 cp->tx_cons = *cp->tx_cons_ptr; in cnic_init_bnx2_tx_ring()
|
H A D | tg3.c | 1052 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work() 6493 tnapi->tx_prod, tnapi->tx_cons, tnapi->tx_pending, in tg3_dump_state() 6527 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1)); in tg3_tx_avail() 6538 u32 sw_idx = tnapi->tx_cons; in tg3_tx() 6613 tnapi->tx_cons = sw_idx; in tg3_tx() 7168 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work() 7250 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix() 8588 tnapi->tx_cons = 0; in tg3_init_rings() 9622 tp->napi[i].tx_cons = 0; in tg3_rings_reset() 9635 tp->napi[0].tx_cons = 0; in tg3_rings_reset() [all …]
|
H A D | bnx2.c | 253 diff = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons); in bnx2_tx_avail() 2853 sw_cons = txr->tx_cons; in bnx2_tx_int() 2914 txr->tx_cons = sw_cons; in bnx2_tx_int() 5120 txr->tx_cons = 0; in bnx2_clear_ring_states()
|
H A D | tg3.h | 3024 u32 tx_cons; member
|
H A D | bnx2.h | 6737 u16 tx_cons; member
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1113 sky2->tx_prod = sky2->tx_cons = 0; in tx_init() 1779 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse() 2008 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete() 2029 sky2->tx_cons = idx; in sky2_tx_complete() 2369 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout() 4423 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
|
H A D | sky2.h | 2226 u16 tx_cons; /* next le to check */ member
|