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

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c128 u16 tx_cons = txr->tx_cons; local
129 u16 last_tx_cons = tx_cons;
135 while (RING_TX(bp, tx_cons) != tx_hw_cons) {
136 tx_buf = &txr->tx_buf_ring[RING_TX(bp, tx_cons)];
151 last_tx_cons = tx_cons;
155 tx_cons = NEXT_TX(tx_cons);
156 tx_buf = &txr->tx_buf_ring[RING_TX(bp, tx_cons)];
160 bnxt_sched_reset_txr(bp, txr, tx_cons);
[all...]
H A Dbnxt.h938 u16 tx_cons; member in struct:bnxt_tx_ring_info
2600 u32 used = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons);
H A Dbnxt.c400 txr->tx_cons, txr->tx_prod, curr);
771 u16 cons = txr->tx_cons;
826 WRITE_ONCE(txr->tx_cons, cons);
839 if (txr->tx_hw_cons != RING_TX(bp, txr->tx_cons))
2859 tx_freed = (txr->tx_hw_cons - txr->tx_cons) &
4839 txr->tx_cons = 0;
12787 txr->tx_cons);
/linux-master/include/uapi/linux/
H A Dsmc_diag.h73 struct smc_diag_cursor tx_cons; /* sent consumer cursor */ member in struct:smc_diag_conninfo
/linux-master/drivers/net/ethernet/altera/
H A Daltera_msgdma.c138 priv->tx_prod - priv->tx_cons - inuse - 1, 0);
143 ready = priv->tx_prod - priv->tx_cons - 1;
145 ready = priv->tx_prod - priv->tx_cons;
H A Daltera_tse_main.c87 return priv->tx_cons + priv->tx_ring_size - priv->tx_prod - 1;
272 priv->tx_cons = 0;
442 while (ready && (priv->tx_cons != priv->tx_prod)) {
443 entry = priv->tx_cons % txsize;
448 __func__, priv->tx_prod, priv->tx_cons);
454 priv->tx_cons++;
H A Daltera_tse.h429 u32 tx_cons; member in struct:altera_tse_private
/linux-master/net/smc/
H A Dsmc_diag.c123 .tx_cons.wrap = conn->local_tx_ctrl.cons.wrap,
124 .tx_cons.count = conn->local_tx_ctrl.cons.count,
/linux-master/drivers/net/ethernet/broadcom/
H A Dcnic.h237 u16 tx_cons; member in struct:cnic_local
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)) {
619 bp->tx_cons = cons;
1270 bp->tx_prod = bp->tx_cons = 0;
H A Db44.h365 u32 tx_prod, tx_cons; member in struct:b44
H A Dcnic.c2954 u16 rx_cons, tx_cons; local
2961 tx_cons = *cp->tx_cons_ptr;
2962 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) {
2966 cp->tx_cons = tx_cons;
4556 cp->tx_cons = *cp->tx_cons_ptr;
H A Dtg3.c1051 if (sblk->idx[0].tx_consumer != tnapi->tx_cons)
6516 tnapi->tx_prod, tnapi->tx_cons, tnapi->tx_pending,
6550 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1));
6561 u32 sw_idx = tnapi->tx_cons;
6645 tnapi->tx_cons = sw_idx;
6647 /* Need to make the tx_cons update visible to __tg3_start_xmit()
7200 if (tnapi->hw_status->idx[0].tx_consumer != tnapi->tx_cons) {
7282 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons &&
8656 tnapi->tx_cons = 0;
9690 tp->napi[i].tx_cons
[all...]
H A Dbnx2.c253 diff = READ_ONCE(txr->tx_prod) - READ_ONCE(txr->tx_cons);
2854 sw_cons = txr->tx_cons;
2915 txr->tx_cons = sw_cons;
2917 /* Need to make the tx_cons update visible to bnx2_start_xmit()
5121 txr->tx_cons = 0;
H A Dtg3.h3024 u32 tx_cons; member in struct:tg3_napi
H A Dbnx2.h6737 u16 tx_cons; member in struct:bnx2_tx_ring_info
/linux-master/drivers/net/ethernet/marvell/
H A Dsky2.c1112 sky2->tx_prod = sky2->tx_cons = 0;
1778 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1);
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;
2028 sky2->tx_cons = idx;
2368 sky2->tx_cons, sky2->tx_prod,
4422 sky2->tx_cons, sky2->tx_prod,
H A Dsky2.h2226 u16 tx_cons; /* next le to check */ member in struct:sky2_port

Completed in 459 milliseconds