Home
last modified time | relevance | path

Searched refs:rx_prod (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c48 dma_addr_t mapping, u32 len, u16 rx_prod) in __bnxt_xmit_xdp() argument
53 tx_buf->rx_prod = rx_prod; in __bnxt_xmit_xdp()
103 bnxt_db_write(bp, &rxr->rx_db, tx_buf->rx_prod); in bnxt_tx_int_xdp()
174 NEXT_RX(rxr->rx_prod)); in bnxt_rx_xdp()
187 if (bnxt_alloc_rx_data(bp, rxr, rxr->rx_prod, GFP_ATOMIC)) { in bnxt_rx_xdp()
Dbnxt.c760 u16 prod = rxr->rx_prod; in bnxt_reuse_rx_data()
933 u16 prod = rxr->rx_prod; in bnxt_rx_page_skb()
975 u16 prod = rxr->rx_prod; in bnxt_rx_skb()
1221 prod = rxr->rx_prod; in bnxt_tpa_start()
1277 rxr->rx_prod = NEXT_RX(prod); in bnxt_tpa_start()
1283 rxr->rx_prod = NEXT_RX(rxr->rx_prod); in bnxt_tpa_start()
1707 prod = rxr->rx_prod; in bnxt_rx_pkt()
1861 rxr->rx_prod = NEXT_RX(prod); in bnxt_rx_pkt()
2243 bnxt_db_write(bp, &rxr->rx_db, rxr->rx_prod); in __bnxt_poll_work_done()
2321 bnxt_db_write(bp, &rxr->rx_db, rxr->rx_prod); in bnxt_poll_nitroa0()
[all …]
Dbnxt.h694 u16 rx_prod; member
869 u16 rx_prod; member
/Linux-v5.4/include/uapi/linux/
Dsmc_diag.h69 struct smc_diag_cursor rx_prod; /* received producer cursor */ member
/Linux-v5.4/net/smc/
Dsmc_diag.c120 .rx_prod.wrap = conn->local_rx_ctrl.prod.wrap, in __smc_diag_dump()
121 .rx_prod.count = conn->local_rx_ctrl.prod.count, in __smc_diag_dump()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Db44.c804 b44_recycle_rx(bp, cons, bp->rx_prod); in b44_rx()
827 skb_size = b44_alloc_rx_skb(bp, cons, bp->rx_prod); in b44_rx()
838 b44_recycle_rx(bp, cons, bp->rx_prod); in b44_rx()
855 bp->rx_prod = (bp->rx_prod + 1) & in b44_rx()
1302 bp->rx_prod = bp->rx_cons = 0; in b44_chip_reset()
1441 bp->rx_prod = bp->rx_pending; in b44_init_hw()
Db44.h366 u32 rx_prod, rx_cons; member
Dbnx2.c3160 sw_prod = rxr->rx_prod; in bnx2_rx_int()
3299 rxr->rx_prod = sw_prod; in bnx2_rx_int()
5146 rxr->rx_prod = 0; in bnx2_clear_ring_states()
5303 ring_prod = prod = rxr->rx_prod; in bnx2_init_rx_ring()
5313 rxr->rx_prod = prod; in bnx2_init_rx_ring()
Dbnx2.h6745 u16 rx_prod; member
/Linux-v5.4/drivers/net/ethernet/altera/
Daltera_tse_main.c300 priv->rx_prod = 0; in alloc_init_skbufs()
338 for (; priv->rx_cons - priv->rx_prod > 0; in tse_rx_refill()
339 priv->rx_prod++) { in tse_rx_refill()
340 entry = priv->rx_prod % rxsize; in tse_rx_refill()
Daltera_tse.h429 u32 rx_prod; member
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1593 struct core_ll2_rx_prod rx_prod = { 0, 0, 0 }; in qed_ll2_post_rx_buffer_notify_fw() local
1618 rx_prod.bd_prod = cpu_to_le16(bd_prod); in qed_ll2_post_rx_buffer_notify_fw()
1619 rx_prod.cqe_prod = cpu_to_le16(cq_prod); in qed_ll2_post_rx_buffer_notify_fw()
1624 DIRECT_REG_WR(p_rx->set_prod_addr, *((u32 *)&rx_prod)); in qed_ll2_post_rx_buffer_notify_fw()