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)
commit4bd333c0a8439aa922adfdb7ac4a6cf4877c2b30
treed9be0b77f41967289031705d05705aefcd079cf7
parenteec609909192338a2d91d2be800b27446da37b54
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