Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c100 #define MYRI10GE_ALLOC_SIZE ((1 << MYRI10GE_ALLOC_ORDER) * PAGE_SIZE) macro
101 #define MYRI10GE_MAX_FRAGS_PER_FRAME (MYRI10GE_MAX_ETHER_MTU/MYRI10GE_ALLOC_SIZE + 1)
1186 #if MYRI10GE_ALLOC_SIZE > 4096 in myri10ge_alloc_rx_pages()
1196 if (rx->page_offset + bytes <= MYRI10GE_ALLOC_SIZE) { in myri10ge_alloc_rx_pages()
1211 MYRI10GE_ALLOC_SIZE, in myri10ge_alloc_rx_pages()
1238 #if MYRI10GE_ALLOC_SIZE > 4096 in myri10ge_alloc_rx_pages()
1259 if (bytes >= MYRI10GE_ALLOC_SIZE / 2 || in myri10ge_unmap_rx_page()
1260 (info->page_offset + 2 * bytes) > MYRI10GE_ALLOC_SIZE) { in myri10ge_unmap_rx_page()
1262 & ~(MYRI10GE_ALLOC_SIZE - 1)), in myri10ge_unmap_rx_page()
1263 MYRI10GE_ALLOC_SIZE, DMA_FROM_DEVICE); in myri10ge_unmap_rx_page()
[all …]