Home
last modified time | relevance | path

Searched refs:tx_cons (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c128 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()
[all...]
H A Dbnxt.h802 u16 tx_cons; member
2260 u32 used = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons); in bnxt_tx_avail()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H 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()
H A Dbnxt.h777 u16 tx_cons; member
2071 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail()
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
H 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()
H A Daltera_tse_main.c86 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1; in tse_tx_avail()
292 priv->tx_cons = 0; in alloc_init_skbufs()
461 while (ready && (priv->tx_cons != priv->tx_prod)) { in tse_tx_complete()
462 entry = priv->tx_cons % txsize; in tse_tx_complete()
467 __func__, priv->tx_prod, priv->tx_cons); in tse_tx_complete()
473 priv->tx_cons++; in tse_tx_complete()
H A Daltera_tse.h436 u32 tx_cons; member
/kernel/linux/linux-6.6/drivers/net/ethernet/altera/
H 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()
H A Daltera_tse_main.c89 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 Daltera_tse.h429 u32 tx_cons; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dsmc_diag.h73 struct smc_diag_cursor tx_cons; /* sent consumer cursor */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dsmc_diag.h73 struct smc_diag_cursor tx_cons; /* sent consumer cursor */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dsmc_diag.h59 struct smc_diag_cursor tx_cons; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dsmc_diag.h70 struct smc_diag_cursor tx_cons; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dsmc_diag.h70 struct smc_diag_cursor tx_cons; member
/kernel/linux/linux-5.10/net/smc/
H A Dsmc_diag.c135 .tx_cons.wrap = conn->local_tx_ctrl.cons.wrap, in __smc_diag_dump()
136 .tx_cons.count = conn->local_tx_ctrl.cons.count, in __smc_diag_dump()
/kernel/linux/linux-6.6/net/smc/
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dcnic.h237 u16 tx_cons; member
H 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))
621 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()
640 bp->tx_cons = cons; in b44_tx()
1291 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
H A Db44.h365 u32 tx_prod, tx_cons; member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dcnic.h237 u16 tx_cons; member
H 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))
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 Db44.h365 u32 tx_prod, tx_cons; member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
H A Dsky2.c1113 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()
1778 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
1990 * Free ring elements from starting at tx_cons until "done"
1996 * looks at the tail of the queue of FIFO (tx_cons), not
2007 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete()
2028 sky2->tx_cons = idx; in sky2_tx_complete()
2368 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4556 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/
H A Dsky2.c1112 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()
1778 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
1990 * Free ring elements from starting at tx_cons until "done"
1996 * looks at the tail of the queue of FIFO (tx_cons), not
2007 for (idx = sky2->tx_cons; idx != done; in sky2_tx_complete()
2028 sky2->tx_cons = idx; in sky2_tx_complete()
2368 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4422 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()

Completed in 43 milliseconds

12