Home
last modified time | relevance | path

Searched refs:MAX_RBR_RING_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H A Dniu.c3292 a ^= (a >> ilog2(MAX_RBR_RING_SIZE)); in niu_hash_rxaddr()
3294 return a & (MAX_RBR_RING_SIZE - 1); in niu_hash_rxaddr()
3535 for (i = 0; i < MAX_RBR_RING_SIZE; i++) { in niu_rbr_free()
4275 MAX_RBR_RING_SIZE * sizeof(__le32), in niu_free_rx_ring_info()
4344 rp->rxhash = kcalloc(MAX_RBR_RING_SIZE, sizeof(struct page *), in niu_alloc_rx_ring_info()
4374 MAX_RBR_RING_SIZE * sizeof(__le32), in niu_alloc_rx_ring_info()
4383 rp->rbr_table_size = MAX_RBR_RING_SIZE; in niu_alloc_rx_ring_info()
6457 for (j = 0, k = 0; j < MAX_RBR_RING_SIZE; j++) { in niu_reset_buffers()
6469 for (; k < MAX_RBR_RING_SIZE; k++) { in niu_reset_buffers()
H A Dniu.h2900 #define MAX_RBR_RING_SIZE 128 macro
2901 #define MAX_RCR_RING_SIZE (MAX_RBR_RING_SIZE * 2)