[PATCH v2] net/mlx5: avoid wildcard drop flow in priority discovery
Suanming Mou
suanmingm at nvidia.com
Mon Jul 20 07:42:42 CEST 2026
> -----Original Message-----
> From: Gavin Hu <gahu at nvidia.com>
> Sent: Tuesday, July 14, 2026 2:08 PM
> To: dev at dpdk.org
> Cc: Wei Yan <yanwei.wy at bytedance.com>; stable at dpdk.org; Dariusz
> Sosnowski <dsosnowski at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Bing Zhao <bingz at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; Matan
> Azrad <matan at nvidia.com>; Ophir Munk <ophirmu at nvidia.com>; Dmitry
> Kozlyuk <dmitry.kozliuk at gmail.com>
> Subject: [PATCH v2] net/mlx5: avoid wildcard drop flow in priority discovery
>
> 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>
Acked-by: Suanming Mou <suanmingm at nvidia.com>
Thanks
More information about the dev
mailing list