> -----Original Message-----
> From: Minggang(Gavin) Li <[email protected]>
> Sent: Friday, August 29, 2025 12:09 PM
> To: Matan Azrad <[email protected]>; Slava Ovsiienko
> <[email protected]>; Ori Kam <[email protected]>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <[email protected]>; Dariusz Sosnowski
> <[email protected]>; Bing Zhao <[email protected]>; Suanming Mou
> <[email protected]>; Minggang(Gavin) Li <[email protected]>
> Cc: [email protected]; Raslan Darawsheh <[email protected]>
> Subject: [PATCH V4 2/2] net/mlx5: add support for flows targeting multicast
> MAC addresses
> 
> Device multicast MAC addresses are managed using the mac_addr_add and
> mac_addr_remove APIs.
> 
> In the mlx5_dev_spawn function, devices such as PF, VFs, and SFs obtain the
> MAC addresses configured in netdev via netlink and store them in the PMD
> device data, which also includes multicast MAC addresses. Default rules are
> created for each MAC address to filter traffic accordingly.
> 
> Previously, multicast MAC address flows were mistakenly disabled, which
> caused mac_addr_add to stop functioning for multicast MAC addresses,
> resulting in missed multicast traffic.
> 
> To address this, default rules for multicast MAC addresses created by PMD
> should now be set up within mlx5_traffic_enable to properly update and
> manage multicast MAC address rules.
> 
> Fixes: 2d0665a7f771 ("net/mlx5: align PF and VF/SF MAC address handling")
> 
> Signed-off-by: Gavin Li <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Reply via email to