[OpenWrt-Devel] [PATCH 01/10] bridge: multicast to unicast
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Thu Feb 14 05:38:28 EST 2019
On Thu, Feb 14, 2019 at 11:24:27AM +0100, Linus Walleij wrote:
> From: Felix Fietkau <nbd at nbd.name>
>
> Implements an optional, per bridge port flag and feature to deliver
> multicast packets to any host on the according port via unicast
> individually. This is done by copying the packet per host and
> changing the multicast destination MAC to a unicast one accordingly.
>
> multicast-to-unicast works on top of the multicast snooping feature of
> the bridge. Which means unicast copies are only delivered to hosts which
> are interested in it and signalized this via IGMP/MLD reports
> previously.
>
> This feature is intended for interface types which have a more reliable
> and/or efficient way to deliver unicast packets than broadcast ones
> (e.g. wifi).
>
> However, it should only be enabled on interfaces where no IGMPv2/MLDv1
> report suppression takes place. This feature is disabled by default.
>
> The initial patch and idea is from Felix Fietkau.
>
> Signed-off-by: Felix Fietkau <nbd at nbd.name>
> [linus.luessing at c0d3.blue: various bug + style fixes, commit message]
> Signed-off-by: Linus Lüssing <linus.luessing at c0d3.blue>
> Reviewed-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>
> Signed-off-by: David S. Miller <davem at davemloft.net>
> ---
> include/linux/if_bridge.h | 1 +
> include/uapi/linux/if_link.h | 1 +
> net/bridge/br_forward.c | 39 +++++++++++++++-
> net/bridge/br_mdb.c | 2 +-
> net/bridge/br_multicast.c | 90 ++++++++++++++++++++++++++----------
> net/bridge/br_netlink.c | 5 ++
> net/bridge/br_private.h | 3 +-
> net/bridge/br_sysfs_if.c | 2 +
> 8 files changed, 114 insertions(+), 29 deletions(-)
What is the git commit id of this patch upstream? I need that on the
patches themselves.
thanks,
greg k-h
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list