Searched refs:sw_prod (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 680 u32 sw_prod, sw_cons, count = 0; in bnxt_qplib_modify_srq() local 682 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_modify_srq() 685 count = sw_prod > sw_cons ? sw_prod - sw_cons : in bnxt_qplib_modify_srq() 686 srq_hwq->max_elements - sw_cons + sw_prod; in bnxt_qplib_modify_srq() 731 u32 sw_prod, sw_cons, count = 0; in bnxt_qplib_post_srq_recv() local 746 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv() 747 srqe = bnxt_qplib_get_qe(srq_hwq, sw_prod, NULL); in bnxt_qplib_post_srq_recv() 766 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv() 772 count = sw_prod > sw_cons ? sw_prod - sw_cons : in bnxt_qplib_post_srq_recv() 773 srq_hwq->max_elements - sw_cons + sw_prod; in bnxt_qplib_post_srq_recv() [all …]
|
D | qplib_rcfw.c | 95 u32 sw_prod, cmdq_prod; in __send_message() local 168 sw_prod = HWQ_CMP(hwq->prod, hwq); in __send_message() 169 cmdqe = bnxt_qplib_get_qe(hwq, sw_prod, NULL); in __send_message()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 798 u16 sw_prod = rxr->rx_sw_agg_prod; in bnxt_alloc_rx_page() local 830 if (unlikely(test_bit(sw_prod, rxr->rx_agg_bmap))) in bnxt_alloc_rx_page() 831 sw_prod = bnxt_find_next_agg_idx(rxr, sw_prod); in bnxt_alloc_rx_page() 833 __set_bit(sw_prod, rxr->rx_agg_bmap); in bnxt_alloc_rx_page() 834 rx_agg_buf = &rxr->rx_agg_ring[sw_prod]; in bnxt_alloc_rx_page() 835 rxr->rx_sw_agg_prod = NEXT_RX_AGG(sw_prod); in bnxt_alloc_rx_page() 841 rxbd->rx_bd_opaque = sw_prod; in bnxt_alloc_rx_page() 873 u16 sw_prod = rxr->rx_sw_agg_prod; in bnxt_reuse_rx_agg_bufs() local 894 if (unlikely(test_bit(sw_prod, rxr->rx_agg_bmap))) in bnxt_reuse_rx_agg_bufs() 895 sw_prod = bnxt_find_next_agg_idx(rxr, sw_prod); in bnxt_reuse_rx_agg_bufs() [all …]
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 3145 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local 3154 sw_prod = rxr->rx_prod; in bnx2_rx_int() 3170 sw_ring_prod = BNX2_RX_RING_IDX(sw_prod); in bnx2_rx_int() 3281 sw_prod = BNX2_NEXT_RX_BD(sw_prod); in bnx2_rx_int() 3293 rxr->rx_prod = sw_prod; in bnx2_rx_int() 3298 BNX2_WR16(bp, rxr->rx_bidx_addr, sw_prod); in bnx2_rx_int()
|
D | cnic.c | 1347 u16 prod, sw_prod, i; in cnic_submit_bnx2_kwqes() local 1362 sw_prod = prod & MAX_KWQ_IDX; in cnic_submit_bnx2_kwqes() 1364 prod_qe = &cp->kwq[KWQ_PG(sw_prod)][KWQ_IDX(sw_prod)]; in cnic_submit_bnx2_kwqes() 1367 sw_prod = prod & MAX_KWQ_IDX; in cnic_submit_bnx2_kwqes()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 1500 u16 sw_prod = txdata->tx_pkt_prod; in bnx2x_free_tx_skbs_queue() local 1503 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs_queue()
|
D | bnx2x_main.c | 5453 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local 5478 sw_prod = bp->eq_prod; in bnx2x_eq_int() 5484 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bnx2x_eq_int() 5665 bp->eq_prod = sw_prod; in bnx2x_eq_int()
|