Home
last modified time | relevance | path

Searched refs:USABLE_RCQ_ENTRIES_PER_PAGE (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.h196 #define USABLE_RCQ_ENTRIES_PER_PAGE (TOTAL_RCQ_ENTRIES_PER_PAGE - 1) /* 127 */ macro
198 #define USABLE_RCQ_ENTRIES(q) (USABLE_RCQ_ENTRIES_PER_PAGE * q->nb_cq_pages) /* 508 */
203 ((((x) & USABLE_RCQ_ENTRIES_PER_PAGE) == \
204 (USABLE_RCQ_ENTRIES_PER_PAGE - 1)) ? (x) + 2 : (x) + 1)
213 #define RCQ_PAGE(x) (((x) & ~USABLE_RCQ_ENTRIES_PER_PAGE) >> 7)
214 #define RCQ_IDX(x) ((x) & USABLE_RCQ_ENTRIES_PER_PAGE)
248 ((NUM_RCQ_REQ(sc) + USABLE_RCQ_ENTRIES_PER_PAGE - 1) / USABLE_RCQ_ENTRIES_PER_PAGE)
H A Dbnx2x_rxtx.c353 if ((hw_cq_cons & USABLE_RCQ_ENTRIES_PER_PAGE) == in bnx2x_recv_pkts()
354 USABLE_RCQ_ENTRIES_PER_PAGE) { in bnx2x_recv_pkts()
H A Dbnx2x.c1242 if (unlikely((hw_cq_cons & USABLE_RCQ_ENTRIES_PER_PAGE) == in bnx2x_rxeof()
1243 USABLE_RCQ_ENTRIES_PER_PAGE)) { in bnx2x_rxeof()