Home
last modified time | relevance | path

Searched refs:raw_cons (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/bnxt_re/
A Dqplib_rcfw.h112 #define CREQ_CMP_VALID(hdr, raw_cons, cp_bit) \ argument
114 !((raw_cons) & (cp_bit)))
A Dqplib_rcfw.c384 u32 sw_cons, raw_cons; in bnxt_qplib_service_creq() local
389 raw_cons = hwq->cons; in bnxt_qplib_service_creq()
391 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_creq()
393 if (!CREQ_CMP_VALID(creqe, raw_cons, hwq->max_elements)) in bnxt_qplib_service_creq()
422 raw_cons++; in bnxt_qplib_service_creq()
426 if (hwq->cons != raw_cons) { in bnxt_qplib_service_creq()
427 hwq->cons = raw_cons; in bnxt_qplib_service_creq()
A Dqplib_fp.c240 u32 sw_cons, raw_cons; in clean_nq() local
246 raw_cons = hwq->cons; in clean_nq()
279 raw_cons++; in clean_nq()
307 u32 sw_cons, raw_cons; in bnxt_qplib_service_nq() local
314 raw_cons = hwq->cons; in bnxt_qplib_service_nq()
381 raw_cons++; in bnxt_qplib_service_nq()
384 hwq->cons = raw_cons; in bnxt_qplib_service_nq()
2603 u32 sw_cons, raw_cons; in bnxt_qplib_is_cq_empty() local
2606 raw_cons = cq->hwq.cons; in bnxt_qplib_is_cq_empty()
2855 u32 sw_cons, raw_cons; in bnxt_qplib_poll_cq() local
[all …]
A Dqplib_fp.h351 #define CQE_CMP_VALID(hdr, raw_cons, cp_bit) \ argument
353 !((raw_cons) & (cp_bit)))
445 #define NQE_CMP_VALID(hdr, raw_cons, cp_bit) \ argument
447 !((raw_cons) & (cp_bit)))
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.h667 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
669 !((raw_cons) & bp->cp_bit))
671 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
673 !((raw_cons) & bp->cp_bit))
675 #define RX_AGG_CMP_VALID(agg, raw_cons) \ argument
677 !((raw_cons) & bp->cp_bit))
679 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
680 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
A Dbnxt.c1206 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
1207 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1264 *raw_cons = tmp_raw_cons; in bnxt_discard_rx()
1624 u32 *raw_cons, in bnxt_tpa_end() argument
1667 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
2071 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
2528 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2543 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2573 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2689 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
[all …]
A Dbnxt_ethtool.c3558 u32 raw_cons, int pkt_size) in bnxt_rx_loopback() argument
3570 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback()
3595 u32 raw_cons; in bnxt_poll_loopback() local
3599 raw_cons = cpr->cp_raw_cons; in bnxt_poll_loopback()
3601 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()
3604 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
3614 rc = bnxt_rx_loopback(bp, cpr, raw_cons, pkt_size); in bnxt_poll_loopback()
3615 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
3616 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
3619 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
[all …]

Completed in 58 milliseconds