Home
last modified time | relevance | path

Searched refs:sw_cq_cons (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.c340 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_recv_pkts() local
359 sw_cq_cons = rxq->rx_cq_head; in bnx2x_recv_pkts()
362 if (sw_cq_cons == hw_cq_cons) { in bnx2x_recv_pkts()
367 while (nb_rx < nb_pkts && sw_cq_cons != hw_cq_cons) { in bnx2x_recv_pkts()
372 cqe_fp = &rxq->cq_ring[sw_cq_cons & MAX_RX_BD(rxq)].fast_path_cqe; in bnx2x_recv_pkts()
381 cqe_fp->type_error_flags, sw_cq_cons); in bnx2x_recv_pkts()
452 sw_cq_cons = NEXT_RCQ_IDX(sw_cq_cons); in bnx2x_recv_pkts()
456 rxq->rx_cq_head = sw_cq_cons; in bnx2x_recv_pkts()
H A Dbnx2x.c1233 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_rxeof() local
1254 sw_cq_cons = rxq->rx_cq_head; in bnx2x_rxeof()
1263 while (sw_cq_cons != hw_cq_cons) { in bnx2x_rxeof()
1269 comp_ring_cons = RCQ_ENTRY(sw_cq_cons, rxq); in bnx2x_rxeof()
1288 cqe_fp_flags, sw_cq_cons); in bnx2x_rxeof()
1301 sw_cq_cons = NEXT_RCQ_IDX(sw_cq_cons); in bnx2x_rxeof()
1307 rxq->rx_cq_head = sw_cq_cons; in bnx2x_rxeof()
1318 return sw_cq_cons != hw_cq_cons; in bnx2x_rxeof()