Home
last modified time | relevance | path

Searched refs:sw_cons (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c239 u32 sw_cons, raw_cons; in clean_nq() local
247 sw_cons = HWQ_CMP(raw_cons, hwq); in clean_nq()
249 nqe = &nq_ptr[NQE_PG(sw_cons)][NQE_IDX(sw_cons)]; in clean_nq()
306 u32 sw_cons, raw_cons; in bnxt_qplib_service_nq() local
315 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
316 nqe = bnxt_qplib_get_qe(hwq, sw_cons, NULL); in bnxt_qplib_service_nq()
393 u32 sw_cons; in bnxt_qplib_nq_irq() local
396 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
397 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NUL in bnxt_qplib_nq_irq()
692 u32 sw_prod, sw_cons, count = 0; bnxt_qplib_modify_srq() local
744 u32 sw_prod, sw_cons, count = 0; bnxt_qplib_post_srq_recv() local
2611 u32 sw_cons, raw_cons; bnxt_qplib_is_cq_empty() local
2860 u32 sw_cons, raw_cons; bnxt_qplib_poll_cq() local
[all...]
H A Dqplib_rcfw.c383 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()
442 u32 sw_cons; in bnxt_qplib_creq_irq() local
447 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_creq_irq()
448 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_creq_irq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A 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()
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, NUL in bnxt_qplib_nq_irq()
706 u32 sw_prod, sw_cons, count = 0; bnxt_qplib_modify_srq() local
765 u32 sw_prod, sw_cons, count = 0; bnxt_qplib_post_srq_recv() local
2690 u32 sw_cons, raw_cons; bnxt_qplib_is_cq_empty() local
2937 u32 sw_cons, raw_cons; bnxt_qplib_poll_cq() local
[all...]
H A Dqplib_rcfw.c737 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A 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()
3145 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; bnx2_rx_int() local
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbnx2.c2844 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()
3143 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; bnx2_rx_int() local
[all...]
H A Dcnic.c2912 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c276 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local
286 sw_cons = txdata->tx_pkt_cons; in bnx2x_tx_int()
291 while (sw_cons != hw_cons) { in bnx2x_tx_int()
294 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
297 "queue[%d]: hw_cons %u sw_cons %u pkt_cons %u\n", in bnx2x_tx_int()
298 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
303 sw_cons++; in bnx2x_tx_int()
308 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 ! in bnx2x_free_tx_skbs_queue()
[all...]
H A Dbnx2x_main.c5464 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
5476 /* The hw_cos range is 1-255, 257 - the sw_cons range is 0-254, 256. in bnx2x_eq_int()
5488 sw_cons = bp->eq_cons; in bnx2x_eq_int()
5491 DP(BNX2X_MSG_SP, "EQ: hw_cons %u sw_cons %u bp->eq_spq_left %x\n", in bnx2x_eq_int()
5492 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
5494 for (; sw_cons != hw_cons; in bnx2x_eq_int()
5495 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bnx2x_eq_int()
5497 elem = &bp->eq_ring[EQ_DESC(sw_cons)]; in bnx2x_eq_int()
5675 bp->eq_cons = sw_cons; in bnx2x_eq_int()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c275 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()
296 "queue[%d]: hw_cons %u sw_cons %u pkt_cons %u\n", 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 ! in bnx2x_free_tx_skbs_queue()
[all...]
H A Dbnx2x_main.c5462 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
5474 /* The hw_cos range is 1-255, 257 - the sw_cons range is 0-254, 256. in bnx2x_eq_int()
5486 sw_cons = bp->eq_cons; in bnx2x_eq_int()
5489 DP(BNX2X_MSG_SP, "EQ: hw_cons %u sw_cons %u bp->eq_spq_left %x\n", 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()
[all...]

Completed in 57 milliseconds