Re: [PATCH v2] net/mlx5: avoid wildcard drop flow in priority discovery
Raslan Darawsheh <[email protected]> Mon, 3 Aug 2026 12:18:21 +0300
| Newsgroups | org.dpdk.dev |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 14/07/2026 9:07 AM, Gavin Hu wrote: > From: Wei Yan <[email protected]> > > 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: [email protected] > > Signed-off-by: Wei Yan <[email protected]> > Signed-off-by: Gavin Hu <[email protected]> > --- > +v2: > +* Fixed the compiling issue by some compilers in mlx5_flow_verbs.c. > Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh