Home
last modified time | relevance | path

Searched refs:MAX_RBR_RING_SIZE (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H A Dniu.c3273 a ^= (a >> ilog2(MAX_RBR_RING_SIZE)); in niu_hash_rxaddr()
3275 return a & (MAX_RBR_RING_SIZE - 1); in niu_hash_rxaddr()
3516 for (i = 0; i < MAX_RBR_RING_SIZE; i++) { in niu_rbr_free()
4256 MAX_RBR_RING_SIZE * sizeof(__le32), in niu_free_rx_ring_info()
4325 rp->rxhash = kcalloc(MAX_RBR_RING_SIZE, sizeof(struct page *), in niu_alloc_rx_ring_info()
4355 MAX_RBR_RING_SIZE * sizeof(__le32), in niu_alloc_rx_ring_info()
4364 rp->rbr_table_size = MAX_RBR_RING_SIZE; in niu_alloc_rx_ring_info()
6438 for (j = 0, k = 0; j < MAX_RBR_RING_SIZE; j++) { in niu_reset_buffers()
6451 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)
/kernel/linux/linux-6.6/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)

Completed in 42 milliseconds