Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/
Dbnx2.h6563 #define BNX2_MAX_RX_DESC_CNT (BNX2_RX_DESC_CNT - 1) macro
6564 #define BNX2_MAX_TOTAL_RX_DESC_CNT (BNX2_MAX_RX_DESC_CNT * BNX2_MAX_RX_RINGS)
6566 (BNX2_MAX_RX_DESC_CNT * BNX2_MAX_RX_PG_RINGS)
6574 #define BNX2_NEXT_RX_BD(x) (((x) & (BNX2_MAX_RX_DESC_CNT - 1)) == \
6575 (BNX2_MAX_RX_DESC_CNT - 1)) ? \
6581 #define BNX2_RX_RING(x) (((x) & ~BNX2_MAX_RX_DESC_CNT) >> (BNX2_PAGE_BITS - 4))
6582 #define BNX2_RX_IDX(x) ((x) & BNX2_MAX_RX_DESC_CNT)
Dbnx2.c3136 if (unlikely((cons & BNX2_MAX_RX_DESC_CNT) == BNX2_MAX_RX_DESC_CNT)) in bnx2_get_hw_rx_cons()
5220 for (j = 0; j < BNX2_MAX_RX_DESC_CNT; j++, rxbd++) { in bnx2_init_rxbd_rings()
5370 while (ring_size > BNX2_MAX_RX_DESC_CNT) { in bnx2_find_max_ring()
5371 ring_size -= BNX2_MAX_RX_DESC_CNT; in bnx2_find_max_ring()
Dcnic.c4639 for (i = 0; i < BNX2_MAX_RX_DESC_CNT; i++, rxbd++) { in cnic_init_bnx2_rx_ring()