Searched refs:ENA_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 41 #define ENA_PAGE_SIZE (_AC(SZ_16K, UL)) macro 43 #define ENA_PAGE_SIZE PAGE_SIZE macro 119 #define ENA_XDP_MAX_MTU (ENA_PAGE_SIZE - ETH_HLEN - ETH_FCS_LEN - \
|
D | ena_netdev.c | 1004 *dma = dma_map_page(rx_ring->dev, page, 0, ENA_PAGE_SIZE, in ena_alloc_map_page() 1047 ena_buf->len = ENA_PAGE_SIZE - headroom - tailroom; in ena_alloc_rx_buffer() 1056 dma_unmap_page_attrs(rx_ring->dev, rx_info->dma_addr, ENA_PAGE_SIZE, in ena_unmap_rx_buff_attrs() 1728 xdp_init_buff(&xdp, ENA_PAGE_SIZE, &rx_ring->xdp_rxq); in ena_clean_rx_irq() 2904 if (rx_copybreak > min_t(u16, adapter->netdev->mtu, ENA_PAGE_SIZE)) in ena_set_rx_copybreak()
|