* Max MTU with XDP
@ 2021-05-13 16:10 Srivats P
2021-05-13 23:26 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 2+ messages in thread
From: Srivats P @ 2021-05-13 16:10 UTC (permalink / raw)
To: Xdp
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?
Srivats
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Max MTU with XDP
2021-05-13 16:10 Max MTU with XDP Srivats P
@ 2021-05-13 23:26 ` Toke Høiland-Jørgensen
0 siblings, 0 replies; 2+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-05-13 23:26 UTC (permalink / raw)
To: Srivats P, Xdp
Srivats P <pstavirs@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-13 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-13 16:10 Max MTU with XDP Srivats P
2021-05-13 23:26 ` Toke Høiland-Jørgensen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.