[PATCH v2] net/mlx5: avoid wildcard drop flow in priority discovery

Raslan Darawsheh rasland at nvidia.com
Mon Aug 3 11:18:21 CEST 2026


Hi,


On 14/07/2026 9:07 AM, Gavin Hu wrote:
> From: Wei Yan <yanwei.wy at bytedance.com>
> 
> Priority discovery installs temporary drop flows to probe supported flow
> priorities. These flows match a wildcard Ethernet pattern, so they can
> also match real traffic while discovery is running. On shared devices this
> may temporarily drop kernel traffic and cause TCP connection timeouts.
> 
> Constrain the probe flows to match both source and destination MAC
> addresses as ff:ff:ff:ff:ff:ff. This keeps the rule valid for discovery
> while avoiding matches on normal Ethernet traffic.
> 
> Fixes: 3eca5f8a610e ("net/mlx5: move flow priority discovery to Verbs file")
> Fixes: c5042f93a425 ("net/mlx5: discover max flow priority using DevX")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wei Yan <yanwei.wy at bytedance.com>
> Signed-off-by: Gavin Hu <gahu at nvidia.com>
> ---
> +v2:
> +* Fixed the compiling issue by some compilers in mlx5_flow_verbs.c.
> 

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh



More information about the dev mailing list