[PATCH] net/mlx5: fix mlx5 device start failure
    Raslan Darawsheh 
    rasland at nvidia.com
       
    Mon Jul  1 09:31:29 CEST 2024
    
    
  
Hi,
From: Bing Zhao <bingz at nvidia.com>
Sent: Thursday, June 13, 2024 3:45 PM
To: Slava Ovsiienko; dev at dpdk.org; Raslan Darawsheh
Cc: Ori Kam; Dariusz Sosnowski; Suanming Mou; Matan Azrad; rongwei liu; Bing Zhao; stable at dpdk.org
Subject: [PATCH] net/mlx5: fix mlx5 device start failure
From: Rongwei Liu <rongweil at nvidia.com>
When devargs "allow_duplicate_pattern=0" is specified, PMD won't
allow duplicated flows to be inserted and return EEXIST as rte_errno.
The queue/RSS split table is shared globally by all representors and
PMD didn't prepend port information into it, so all the following ports
tries to insert the same flows and cause PMD insertion failure.
Using the hash list to manage it can solve the issue.
Fixes: ddb68e473 ("net/mlx5: add extended metadata mode for HWS")
Cc: bingz at nvidia.com
Cc: stable at dpdk.org
Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
    
    
More information about the stable
mailing list