Searched refs:MYRI10GE_ALLOC_SIZE (Results 1 – 1 of 1) sorted by relevance
99 #define MYRI10GE_ALLOC_SIZE ((1 << MYRI10GE_ALLOC_ORDER) * PAGE_SIZE) macro100 #define MYRI10GE_MAX_FRAGS_PER_FRAME (MYRI10GE_MAX_ETHER_MTU/MYRI10GE_ALLOC_SIZE + 1)1184 #if MYRI10GE_ALLOC_SIZE > 4096 in myri10ge_alloc_rx_pages()1194 if (rx->page_offset + bytes <= MYRI10GE_ALLOC_SIZE) { in myri10ge_alloc_rx_pages()1209 MYRI10GE_ALLOC_SIZE, in myri10ge_alloc_rx_pages()1236 #if MYRI10GE_ALLOC_SIZE > 4096 in myri10ge_alloc_rx_pages()1257 if (bytes >= MYRI10GE_ALLOC_SIZE / 2 || in myri10ge_unmap_rx_page()1258 (info->page_offset + 2 * bytes) > MYRI10GE_ALLOC_SIZE) { in myri10ge_unmap_rx_page()1260 & ~(MYRI10GE_ALLOC_SIZE - 1)), in myri10ge_unmap_rx_page()1261 MYRI10GE_ALLOC_SIZE, PCI_DMA_FROMDEVICE); in myri10ge_unmap_rx_page()[all …]