Searched refs:sw_cons (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/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() 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 …]
|
D | qplib_rcfw.c | 384 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-v6.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 2845 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 …]
|
D | cnic.c | 2914 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-v6.1/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() 1501 u16 sw_cons = txdata->tx_pkt_cons; in bnx2x_free_tx_skbs_queue() local 1503 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs_queue() 1504 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs_queue() [all …]
|
D | bnx2x_main.c | 5463 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()
|