[PATCH] net/mlx5: store rxq MTU at allocation time
Morten Brørup
mb at smartsharesystems.com
Wed Nov 5 16:34:44 CET 2025
Thomas,
There's a v2:
https://patchwork.dpdk.org/project/dpdk/patch/20251030091313.55152-1-a.schollmeyer@syseleven.de/
Venlig hilsen / Kind regards,
-Morten Brørup
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Wednesday, 5 November 2025 16.22
> To: Adrian Schollmeyer
> Cc: dev at dpdk.org; Michael Rossberg; Erez Ferber; Dariusz Sosnowski
> Subject: Re: [PATCH] net/mlx5: store rxq MTU at allocation time
>
> Hello,
>
> I don't find this patch in patchwork.
> Please could you try sending it again?
> Please use --cc-cmd devtools/get-maintainer.sh
> to make sure the maintainers are in Cc.
>
> Thanks
>
>
> 28/10/2025 10:52, a.schollmeyer at syseleven.de:
> > From: Adrian Schollmeyer <a.schollmeyer at syseleven.de>
> >
> > For shared Rx queues, equal MTU for all ports sharing queues is
> enforced
> > using mlx5_shared_rxq_match() to make sure, the memory allocated in
> the
> > Rx buffer is large enough. The check uses the MTU as reported by the
> > ports' private dev_data structs, which contain the MTU currently set
> for
> > the device. In case one port's MTU is altered after Rx queues are
> > allocated and then a second port joins the shared Rx queue with the
> old,
> > yet correct MTU, the check fails despite the fact that the Rx buffer
> > size is correct for both ports.
> >
> > This patch adds a new entry to the Rx queue control structure that
> > captures the MTU at the time the Rx buffer was allocated, since this
> is
> > the relevant information that needs to be checked when a port joins a
> > shared Rx queue.
> >
> > Fixes: 09c2555303be
>
>
>
More information about the dev
mailing list