RE: [PATCH v2] net/mlx5: avoid wildcard drop flow in priority discovery
Suanming Mou <[email protected]>
| Newsgroups | org.dpdk.dev |
|---|---|
| Message-ID | <PH8PR12MB7350DA754F6F0620A4106A03C1C32@PH8PR12MB7350.namprd12.prod.outlook.com> |
> -----Original Message----- > From: Gavin Hu <[email protected]> > Sent: Tuesday, July 14, 2026 2:08 PM > To: [email protected] > Cc: Wei Yan <[email protected]>; [email protected]; Dariusz > Sosnowski <[email protected]>; Slava Ovsiienko > <[email protected]>; Bing Zhao <[email protected]>; Ori Kam > <[email protected]>; Suanming Mou <[email protected]>; Matan > Azrad <[email protected]>; Ophir Munk <[email protected]>; Dmitry > Kozlyuk <[email protected]> > Subject: [PATCH v2] net/mlx5: avoid wildcard drop flow in priority discovery > > 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]> Acked-by: Suanming Mou <[email protected]> Thanks