summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2023-02-21 21:31:48 +0100
committerSaeed Mahameed <saeedm@nvidia.com>2023-04-11 20:57:36 -0700
commit18c2916cee12137f32669d42ac1fbb87cba343bb (patch)
treec76ad60218625c70b8496158ce2c29b0c528078f /drivers/md
parentb99c4ef29e278ab0b91406e52df4fa9b634b117e (diff)
downloadlinux-stable-18c2916cee12137f32669d42ac1fbb87cba343bb.tar.gz
linux-stable-18c2916cee12137f32669d42ac1fbb87cba343bb.tar.bz2
linux-stable-18c2916cee12137f32669d42ac1fbb87cba343bb.zip
net/mlx5: Bridge, snoop igmp/mld packets
Handle SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED attribute notification to dynamically toggle bridge multicast offload. Set new MLX5_ESW_BRIDGE_MCAST_FLAG bridge flag when multicast offload is enabled. Put multicast-specific code into new bridge_mcast.c file. When initializing bridge multicast pipeline create a static rule for snooping on IGMP traffic and three rules for snooping on MLD traffic (for query, report and done message types). Note that matching MLD traffic requires having flexparser MLX5_FLEX_PROTO_ICMPV6 capability enabled. By default Linux bridge is created with multicast enabled which can be modified by 'mcast_snooping' argument: $ ip link set name my_bridge type bridge mcast_snooping 0 Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions