net/mlx5: Bridge, fix multicast packets sent to uplink
authorMoshe Shemesh <moshe@nvidia.com>
Sat, 30 Dec 2023 20:40:37 +0000 (22:40 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 24 Jan 2024 08:15:35 +0000 (00:15 -0800)
commitec7cc38ef9f83553102e84c82536971a81630739
tree0993b6d324b9d5eb3fb12b997ac15675ba09089a
parentcc8091587779cfaddb6b29c9e9edb9079a282cad
net/mlx5: Bridge, fix multicast packets sent to uplink

To enable multicast packets which are offloaded in bridge multicast
offload mode to be sent also to uplink, FTE bit uplink_hairpin_en should
be set. Add this bit to FTE for the bridge multicast offload rules.

Fixes: 18c2916cee12 ("net/mlx5: Bridge, snoop igmp/mld packets")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
include/linux/mlx5/fs.h
include/linux/mlx5/mlx5_ifc.h