[PATCH v2] net/mlx5: store rxq MTU at allocation time
    Raslan Darawsheh 
    rasland at nvidia.com
       
    Sun Nov  2 11:27:07 CET 2025
    
    
  
Hi,
On 30/10/2025 11:13 AM, 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>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
    
    
More information about the stable
mailing list