Hi, From: Bing Zhao <[email protected]> Sent: Thursday, June 13, 2024 3:45 PM To: Slava Ovsiienko; [email protected]; Raslan Darawsheh Cc: Ori Kam; Dariusz Sosnowski; Suanming Mou; Matan Azrad; rongwei liu; Bing Zhao; [email protected] Subject: [PATCH] net/mlx5: fix mlx5 device start failure
From: Rongwei Liu <[email protected]> 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: [email protected] Cc: [email protected] Signed-off-by: Rongwei Liu <[email protected]> Acked-by: Viacheslav Ovsiienko <[email protected]> Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

