Home
last modified time | relevance | path

Searched refs:MAX_RX_DESC_CNT (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x.h471 #define MAX_RX_DESC_CNT (RX_DESC_CNT - 2) macro
475 #define MAX_RX_AVAIL (MAX_RX_DESC_CNT * NUM_RX_RINGS - 2)
480 (MAX_RX_DESC_CNT - 1)) ? (x) + 3 : (x) + 1)
/linux-2.6.39/drivers/net/
Dbnx2.h6512 #define MAX_RX_DESC_CNT (RX_DESC_CNT - 1) macro
6513 #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)
Dbnx2.c3057 if (unlikely((cons & MAX_RX_DESC_CNT) == MAX_RX_DESC_CNT)) in bnx2_get_hw_rx_cons()
5087 for (j = 0; j < MAX_RX_DESC_CNT; j++, rxbd++) { in bnx2_init_rxbd_rings()
5237 while (ring_size > MAX_RX_DESC_CNT) { in bnx2_find_max_ring()
5238 ring_size -= MAX_RX_DESC_CNT; in bnx2_find_max_ring()
Dcnic.c4329 for (i = 0; i < MAX_RX_DESC_CNT; i++, rxbd++) { in cnic_init_bnx2_rx_ring()