Searched refs:sw_cons (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 240 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() 305 u32 sw_cons, raw_cons; in bnxt_qplib_service_nq() local 314 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq() 315 nqe = bnxt_qplib_get_qe(hwq, sw_cons, NULL); in bnxt_qplib_service_nq() 406 u32 sw_cons; in bnxt_qplib_nq_irq() local 409 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq() 410 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_nq_irq() 706 u32 sw_prod, sw_cons, count = 0; in bnxt_qplib_modify_srq() local [all …]
|
D | qplib_rcfw.c | 737 u32 sw_cons, raw_cons; in bnxt_qplib_service_creq() local 745 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_creq() 746 creqe = bnxt_qplib_get_qe(hwq, sw_cons, NULL); in bnxt_qplib_service_creq() 797 u32 sw_cons; in bnxt_qplib_creq_irq() local 802 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_creq_irq() 803 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_creq_irq()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 2844 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local 2853 sw_cons = txr->tx_cons; in bnx2_tx_int() 2855 while (sw_cons != hw_cons) { in bnx2_tx_int() 2860 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int() 2872 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int() 2891 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int() 2893 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int() 2900 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int() 2908 if (hw_cons == sw_cons) in bnx2_tx_int() 2914 txr->tx_cons = sw_cons; in bnx2_tx_int() [all …]
|
D | cnic.c | 2912 u16 hw_cons, sw_cons; in cnic_l2_completion() local 2926 sw_cons = cp->rx_cons; in cnic_l2_completion() 2927 while (sw_cons != hw_cons) { in cnic_l2_completion() 2930 cqe = &cqe_ring[sw_cons & BNX2X_MAX_RCQ_DESC_CNT]; in cnic_l2_completion() 2939 sw_cons = BNX2X_NEXT_RCQE(sw_cons); in cnic_l2_completion()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 275 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local 285 sw_cons = txdata->tx_pkt_cons; in bnx2x_tx_int() 290 while (sw_cons != hw_cons) { in bnx2x_tx_int() 293 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int() 297 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int() 302 sw_cons++; in bnx2x_tx_int() 307 txdata->tx_pkt_cons = sw_cons; in bnx2x_tx_int() 1513 u16 sw_cons = txdata->tx_pkt_cons; in bnx2x_free_tx_skbs_queue() local 1515 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs_queue() 1516 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs_queue() [all …]
|
D | bnx2x_main.c | 5462 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local 5486 sw_cons = bp->eq_cons; in bnx2x_eq_int() 5490 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int() 5492 for (; sw_cons != hw_cons; in bnx2x_eq_int() 5493 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bnx2x_eq_int() 5495 elem = &bp->eq_ring[EQ_DESC(sw_cons)]; in bnx2x_eq_int() 5673 bp->eq_cons = sw_cons; in bnx2x_eq_int()
|