Searched refs:hw_cq_cons (Results 1 – 2 of 2) sorted by relevance
341 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_recv_pkts() local352 hw_cq_cons = le16toh(*fp->rx_cq_cons_sb); in bnx2x_recv_pkts()353 if ((hw_cq_cons & USABLE_RCQ_ENTRIES_PER_PAGE) == in bnx2x_recv_pkts()355 ++hw_cq_cons; 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()
1229 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_rxeof() local1241 hw_cq_cons = le16toh(*fp->rx_cq_cons_sb); in bnx2x_rxeof()1242 if (unlikely((hw_cq_cons & USABLE_RCQ_ENTRIES_PER_PAGE) == in bnx2x_rxeof()1244 hw_cq_cons++; in bnx2x_rxeof()1259 while (sw_cq_cons != hw_cq_cons) { in bnx2x_rxeof()1314 return sw_cq_cons != hw_cq_cons; in bnx2x_rxeof()