Re: Max MTU with XDP

Toke Høiland-Jørgensen <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
Srivats P <[email protected]> writes:

> Hi,
>
> I'm aware that different drivers have different max MTU that they can
> support with XDP.
>
> Is there a way to programmatically retrieve what is the max MTU
> supported on a particular driver/interface with XDP/AF_XDP?
>
> Or is setting a MTU value and trying to attach a eBPF program in a
> binary search fashion wrt to MTU value between 1500 and 4096 is the
> only way?

Yup, currently it is, unfortunately. Querying this may eventually be
possible, along with which features an interface supports etc...

-Toke
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.