ar8327: add IGMP Snooping support
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 10:42:46 +0000 (10:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 10:42:46 +0000 (10:42 +0000)
commitf8d2ec6e9db8c1a6659eefb4d4d91c01b9a3e0c5
treede1cf9966c5040840f28ae7b3fe05cd78320e110
parent1f826e8992407f21ee33480a05d8c41642fb0daa
ar8327: add IGMP Snooping support

This add support for IGMP Snooping on atheros switches (disabled by default),
which avoids flooding the network with multicast data.

Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding
on each specific port, enabling it back again prevents each port from
receiving all multicast packets.

Partially based on: http://patchwork.ozlabs.org/patch/418122/

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48268
target/linux/generic/files/drivers/net/phy/ar8327.c
target/linux/generic/files/drivers/net/phy/ar8327.h