Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.c341 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_recv_pkts() local
360 sw_cq_cons = rxq->rx_cq_head; in bnx2x_recv_pkts()
363 if (sw_cq_cons == hw_cq_cons) { in bnx2x_recv_pkts()
368 while (nb_rx < nb_pkts && sw_cq_cons != hw_cq_cons) { in bnx2x_recv_pkts()
373 cqe_fp = &rxq->cq_ring[sw_cq_cons & MAX_RX_BD(rxq)].fast_path_cqe; in bnx2x_recv_pkts()
382 cqe_fp->type_error_flags, sw_cq_cons); in bnx2x_recv_pkts()
453 sw_cq_cons = NEXT_RCQ_IDX(sw_cq_cons); in bnx2x_recv_pkts()
457 rxq->rx_cq_head = sw_cq_cons; in bnx2x_recv_pkts()
H A Dbnx2x.c1229 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_rxeof() local
1250 sw_cq_cons = rxq->rx_cq_head; in bnx2x_rxeof()
1259 while (sw_cq_cons != hw_cq_cons) { in bnx2x_rxeof()
1265 comp_ring_cons = RCQ_ENTRY(sw_cq_cons, rxq); in bnx2x_rxeof()
1284 cqe_fp_flags, sw_cq_cons); in bnx2x_rxeof()
1297 sw_cq_cons = NEXT_RCQ_IDX(sw_cq_cons); in bnx2x_rxeof()
1303 rxq->rx_cq_head = sw_cq_cons; in bnx2x_rxeof()
1314 return sw_cq_cons != hw_cq_cons; in bnx2x_rxeof()