[PATCH] net/mlx5: avoid setting kernel MTU if not needed
    Raslan Darawsheh 
    rasland at nvidia.com
       
    Tue Jun 10 15:16:29 CEST 2025
    
    
  
Hi,
On 28/05/2025 12:36 PM, Maxime Coquelin wrote:
> This patch checks whether the Kernel MTU has the same value
> as the requested one at port configuration time, and skip
> setting it if it is the same.
> 
> Doing this, we can avoid the application to require
> NET_ADMIN capability, as in v23.11.
> 
> Fixes: 10859ecf09c4 ("net/mlx5: fix MTU configuration")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
    
    
More information about the dev
mailing list