Home
last modified time | relevance | path

Searched refs:sw_cons (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c240 u32 sw_cons, raw_cons; in clean_nq() local
248 sw_cons = HWQ_CMP(raw_cons, hwq); in clean_nq()
250 nqe = &nq_ptr[NQE_PG(sw_cons)][NQE_IDX(sw_cons)]; in clean_nq()
307 u32 sw_cons, raw_cons; in bnxt_qplib_service_nq() local
316 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
317 nqe = bnxt_qplib_get_qe(hwq, sw_cons, NULL); in bnxt_qplib_service_nq()
394 u32 sw_cons; in bnxt_qplib_nq_irq() local
397 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
398 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_nq_irq()
681 u32 sw_prod, sw_cons, count = 0; in bnxt_qplib_modify_srq() local
[all …]
Dqplib_rcfw.c384 u32 sw_cons, raw_cons; in bnxt_qplib_service_creq() local
391 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_creq()
392 creqe = bnxt_qplib_get_qe(hwq, sw_cons, NULL); in bnxt_qplib_service_creq()
439 u32 sw_cons; in bnxt_qplib_creq_irq() local
444 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_creq_irq()
445 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_creq_irq()
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbnx2.c2845 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2854 sw_cons = txr->tx_cons; in bnx2_tx_int()
2856 while (sw_cons != hw_cons) { in bnx2_tx_int()
2861 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int()
2873 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int()
2892 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2894 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
2901 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2909 if (hw_cons == sw_cons) in bnx2_tx_int()
2915 txr->tx_cons = sw_cons; in bnx2_tx_int()
[all …]
Dcnic.c2914 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2928 sw_cons = cp->rx_cons; in cnic_l2_completion()
2929 while (sw_cons != hw_cons) { in cnic_l2_completion()
2932 cqe = &cqe_ring[sw_cons & BNX2X_MAX_RCQ_DESC_CNT]; in cnic_l2_completion()
2941 sw_cons = BNX2X_NEXT_RCQE(sw_cons); in cnic_l2_completion()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c277 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local
287 sw_cons = txdata->tx_pkt_cons; in bnx2x_tx_int()
292 while (sw_cons != hw_cons) { in bnx2x_tx_int()
295 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
299 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
304 sw_cons++; in bnx2x_tx_int()
309 txdata->tx_pkt_cons = sw_cons; in bnx2x_tx_int()
1502 u16 sw_cons = txdata->tx_pkt_cons; in bnx2x_free_tx_skbs_queue() local
1504 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs_queue()
1505 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs_queue()
[all …]
Dbnx2x_main.c5463 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
5487 sw_cons = bp->eq_cons; in bnx2x_eq_int()
5491 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
5493 for (; sw_cons != hw_cons; in bnx2x_eq_int()
5494 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bnx2x_eq_int()
5496 elem = &bp->eq_ring[EQ_DESC(sw_cons)]; in bnx2x_eq_int()
5674 bp->eq_cons = sw_cons; in bnx2x_eq_int()