Searched refs:MAX_RX_DESC_CNT (Results 1 – 4 of 4) sorted by relevance
620 #define MAX_RX_DESC_CNT (RX_DESC_CNT - NEXT_PAGE_RX_DESC_CNT) macro624 #define MAX_RX_AVAIL (MAX_RX_DESC_CNT * NUM_RX_RINGS - 2)633 #define NUM_BD_PG_REQ ((NUM_BD_REQ + MAX_RX_DESC_CNT - 1) / \634 MAX_RX_DESC_CNT)651 (MAX_RX_DESC_CNT - 1)) ? \
6512 #define MAX_RX_DESC_CNT (RX_DESC_CNT - 1) macro6513 #define MAX_TOTAL_RX_DESC_CNT (MAX_RX_DESC_CNT * MAX_RX_RINGS)6514 #define MAX_TOTAL_RX_PG_DESC_CNT (MAX_RX_DESC_CNT * MAX_RX_PG_RINGS)6522 #define NEXT_RX_BD(x) (((x) & (MAX_RX_DESC_CNT - 1)) == \6523 (MAX_RX_DESC_CNT - 1)) ? \6529 #define RX_RING(x) (((x) & ~MAX_RX_DESC_CNT) >> (BCM_PAGE_BITS - 4))6530 #define RX_IDX(x) ((x) & MAX_RX_DESC_CNT)
3099 if (unlikely((cons & MAX_RX_DESC_CNT) == MAX_RX_DESC_CNT)) in bnx2_get_hw_rx_cons()5151 for (j = 0; j < MAX_RX_DESC_CNT; j++, rxbd++) { in bnx2_init_rxbd_rings()5301 while (ring_size > MAX_RX_DESC_CNT) { in bnx2_find_max_ring()5302 ring_size -= MAX_RX_DESC_CNT; in bnx2_find_max_ring()
4535 for (i = 0; i < MAX_RX_DESC_CNT; i++, rxbd++) { in cnic_init_bnx2_rx_ring()