xdp-newbies.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* make XDP program aware of multi buffer
@ 2022-11-29 12:14 Henning Fehrmann
  2022-11-29 13:24 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Fehrmann @ 2022-11-29 12:14 UTC (permalink / raw)
  To: xdp-newbies

Hello,

we use XDP/BPF programs to redirect and record network data.
We run the 6.0.9 vanilla kernel with the delivered Mellanox driver.
We mounted MT28800 NICs.

As this scheme seems to work reliably we'd like to step forward and
enable multi buffer packets. We get the following message from the driver:

mlx5_core 0000:01:00.0 enp1s0f0np0: XDP is not allowed with striding RQ and MTU(9000) > 3498

We turned striding off and now we get:

mlx5_core 0000:01:00.0 enp1s0f0np0: MTU(9000) > 3498, too big for an XDP program not aware of multi buffer

It seems that we have to make the XDP program aware of multi buffer.
What would be the correct way to do it?

Thank you,
Henning

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-30 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 12:14 make XDP program aware of multi buffer Henning Fehrmann
2022-11-29 13:24 ` Toke Høiland-Jørgensen
2022-11-30  8:54   ` Henning Fehrmann
2022-11-30 13:11     ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).