Searched refs:hw_cq_cons (Results 1 – 2 of 2) sorted by relevance
340 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_recv_pkts() local351 hw_cq_cons = le16toh(*fp->rx_cq_cons_sb); in bnx2x_recv_pkts()352 if ((hw_cq_cons & USABLE_RCQ_ENTRIES_PER_PAGE) == in bnx2x_recv_pkts()354 ++hw_cq_cons; 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()
1233 uint16_t hw_cq_cons, sw_cq_cons, sw_cq_prod; in bnx2x_rxeof() local1245 hw_cq_cons = le16toh(*fp->rx_cq_cons_sb); in bnx2x_rxeof()1246 if (unlikely((hw_cq_cons & USABLE_RCQ_ENTRIES_PER_PAGE) == in bnx2x_rxeof()1248 hw_cq_cons++; in bnx2x_rxeof()1263 while (sw_cq_cons != hw_cq_cons) { in bnx2x_rxeof()1318 return sw_cq_cons != hw_cq_cons; in bnx2x_rxeof()