From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Srivats P <pstavirs@gmail.com>, Xdp <xdp-newbies@vger.kernel.org>
Subject: Re: Max MTU with XDP
Date: Fri, 14 May 2021 01:26:56 +0200 [thread overview]
Message-ID: <87im3mkyf3.fsf@toke.dk> (raw)
In-Reply-To: <CANzUK5-vaz4_WtFbwdYoGJOjdh0c4p+bEZhpV2Pfuni5JKghrA@mail.gmail.com>
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
prev parent reply other threads:[~2021-05-13 23:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-13 16:10 Max MTU with XDP Srivats P
2021-05-13 23:26 ` Toke Høiland-Jørgensen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87im3mkyf3.fsf@toke.dk \
--to=toke@redhat.com \
--cc=pstavirs@gmail.com \
--cc=xdp-newbies@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.