Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bnxt_re/
A Dqplib_fp.c239 u32 sw_cons, raw_cons; in clean_nq() local
245 raw_cons = hwq->cons; in clean_nq()
278 raw_cons++; in clean_nq()
306 u32 sw_cons, raw_cons; in bnxt_qplib_service_nq() local
313 raw_cons = hwq->cons; in bnxt_qplib_service_nq()
380 raw_cons++; in bnxt_qplib_service_nq()
383 hwq->cons = raw_cons; in bnxt_qplib_service_nq()
2604 u32 sw_cons, raw_cons; in bnxt_qplib_is_cq_empty() local
2607 raw_cons = cq->hwq.cons; in bnxt_qplib_is_cq_empty()
2856 u32 sw_cons, raw_cons; in bnxt_qplib_poll_cq() local
[all …]
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_rcfw.h112 #define CREQ_CMP_VALID(hdr, raw_cons, cp_bit) \ argument
114 !((raw_cons) & (cp_bit)))
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/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.h655 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
657 !((raw_cons) & bp->cp_bit))
659 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
661 !((raw_cons) & bp->cp_bit))
663 #define RX_AGG_CMP_VALID(agg, raw_cons) \ argument
665 !((raw_cons) & bp->cp_bit))
667 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
668 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
A Dbnxt_ethtool.c3349 u32 raw_cons, int pkt_size) in bnxt_rx_loopback() argument
3361 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback()
3386 u32 raw_cons; in bnxt_poll_loopback() local
3390 raw_cons = cpr->cp_raw_cons; in bnxt_poll_loopback()
3392 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()
3395 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
3405 rc = bnxt_rx_loopback(bp, cpr, raw_cons, pkt_size); in bnxt_poll_loopback()
3406 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
3407 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
3410 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
[all …]
A Dbnxt.c1119 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
1120 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1177 *raw_cons = tmp_raw_cons; in bnxt_discard_rx()
1537 u32 *raw_cons, in bnxt_tpa_end() argument
1580 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
1950 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
2368 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2383 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2413 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2526 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
[all …]

Completed in 54 milliseconds