Home
last modified time | relevance | path

Searched refs:tx_cons (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_xdp.c77 u16 tx_cons = txr->tx_cons; in bnxt_tx_int_xdp() local
78 u16 last_tx_cons = tx_cons; in bnxt_tx_int_xdp()
82 tx_buf = &txr->tx_buf_ring[tx_cons]; in bnxt_tx_int_xdp()
96 last_tx_cons = tx_cons; in bnxt_tx_int_xdp()
98 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp()
100 txr->tx_cons = tx_cons; in bnxt_tx_int_xdp()
A Dbnxt.h785 u16 tx_cons; member
2204 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
A Dbnxt.c655 u16 cons = txr->tx_cons; in bnxt_tx_int()
707 txr->tx_cons = cons; in bnxt_tx_int()
4246 txr->tx_cons = 0; in bnxt_clear_ring_indices()
11207 txr->tx_cons); in bnxt_dump_tx_sw_state()
/linux/drivers/net/ethernet/altera/
A Daltera_msgdma.c138 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()
A Daltera_tse_main.c86 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1; in tse_tx_avail()
288 priv->tx_cons = 0; in alloc_init_skbufs()
457 while (ready && (priv->tx_cons != priv->tx_prod)) { in tse_tx_complete()
458 entry = priv->tx_cons % txsize; in tse_tx_complete()
463 __func__, priv->tx_prod, priv->tx_cons); in tse_tx_complete()
469 priv->tx_cons++; in tse_tx_complete()
A Daltera_tse.h436 u32 tx_cons; member
/linux/include/uapi/linux/
A Dsmc_diag.h73 struct smc_diag_cursor tx_cons; /* sent consumer cursor */ member
/linux/net/smc/
A Dsmc_diag.c122 .tx_cons.wrap = conn->local_tx_ctrl.cons.wrap, in __smc_diag_dump()
123 .tx_cons.count = conn->local_tx_ctrl.cons.count, in __smc_diag_dump()
/linux/drivers/net/ethernet/broadcom/
A Db44.h365 u32 tx_prod, tx_cons; member
A Db44.c76 (((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))
622 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()
641 bp->tx_cons = cons; in b44_tx()
1292 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
A Dcnic.h237 u16 tx_cons; member
A Dcnic.c2948 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local
2955 tx_cons = *cp->tx_cons_ptr; in cnic_chk_pkt_rings()
2956 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) { in cnic_chk_pkt_rings()
2960 cp->tx_cons = tx_cons; in cnic_chk_pkt_rings()
4551 cp->tx_cons = *cp->tx_cons_ptr; in cnic_init_bnx2_tx_ring()
A Dtg3.c1049 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()
6491 tnapi->tx_prod, tnapi->tx_cons, tnapi->tx_pending, in tg3_dump_state()
6536 u32 sw_idx = tnapi->tx_cons; in tg3_tx()
6611 tnapi->tx_cons = sw_idx; in tg3_tx()
7163 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) { in tg3_poll_work()
7245 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()
8581 tnapi->tx_cons = 0; in tg3_init_rings()
9608 tp->napi[i].tx_cons = 0; in tg3_rings_reset()
9621 tp->napi[0].tx_cons = 0; in tg3_rings_reset()
10955 tnapi->last_tx_cons == tnapi->tx_cons) { in tg3_chk_missed_msi()
[all …]
A Dbnx2.c254 diff = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons); in bnx2_tx_avail()
2854 sw_cons = txr->tx_cons; in bnx2_tx_int()
2915 txr->tx_cons = sw_cons; in bnx2_tx_int()
5137 txr->tx_cons = 0; in bnx2_clear_ring_states()
A Dtg3.h3023 u32 tx_cons; member
A Dbnx2.h6737 u16 tx_cons; member
/linux/drivers/net/ethernet/marvell/
A Dsky2.c1114 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()
1780 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
2009 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete()
2030 sky2->tx_cons = idx; in sky2_tx_complete()
2370 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4480 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
A Dsky2.h2226 u16 tx_cons; /* next le to check */ member

Completed in 188 milliseconds