/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_xdp.c | 128 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 D | bnxt.h | 938 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 D | bnxt.c | 400 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 D | smc_diag.h | 73 struct smc_diag_cursor tx_cons; /* sent consumer cursor */ member in struct:smc_diag_conninfo
|
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 138 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 D | altera_tse_main.c | 87 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 D | altera_tse.h | 429 u32 tx_cons; member in struct:altera_tse_private
|
/linux-master/net/smc/ |
H A D | smc_diag.c | 123 .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 D | cnic.h | 237 u16 tx_cons; member in struct:cnic_local
|
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)) { 619 bp->tx_cons = cons; 1270 bp->tx_prod = bp->tx_cons = 0;
|
H A D | b44.h | 365 u32 tx_prod, tx_cons; member in struct:b44
|
H A D | cnic.c | 2954 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 D | tg3.c | 1051 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 D | bnx2.c | 253 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 D | tg3.h | 3024 u32 tx_cons; member in struct:tg3_napi
|
H A D | bnx2.h | 6737 u16 tx_cons; member in struct:bnx2_tx_ring_info
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1112 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 D | sky2.h | 2226 u16 tx_cons; /* next le to check */ member in struct:sky2_port
|