Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_netdev.h119 #define ENA_XDP_MAX_MTU (ENA_PAGE_SIZE - ETH_HLEN - ETH_FCS_LEN - \ macro
459 if (adapter->netdev->mtu > ENA_XDP_MAX_MTU) in ena_xdp_allowed()
Dena_netdev.c609 netdev->max_mtu = prog ? ENA_XDP_MAX_MTU : adapter->max_mtu; in ena_xdp_set()
619 netdev->mtu, ENA_XDP_MAX_MTU); in ena_xdp_set()
1686 if (unlikely(rx_ring->ena_bufs[0].len > ENA_XDP_MAX_MTU)) in ena_xdp_handle_buff()