[PATCH] net/mlx5: store rxq MTU at allocation time
Thomas Monjalon
thomas at monjalon.net
Wed Nov 5 16:22:13 CET 2025
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