[PATCH v2] net/mlx5: store rxq MTU at allocation time
    Dariusz Sosnowski 
    dsosnowski at nvidia.com
       
    Thu Oct 30 11:21:55 CET 2025
    
    
  
Hi,
Thank you very much for applying the changes from last review.
On Thu, Oct 30, 2025 at 10:13:13AM +0100, a.schollmeyer at syseleven.de wrote:
> 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 ("net/mlx5: support shared Rx queue")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Adrian Schollmeyer <a.schollmeyer at syseleven.de>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Best regards,
Dariusz Sosnowski
    
    
More information about the stable
mailing list