linux_dsm_epyc7002/drivers/net/ethernet/ti
Ivan Khoronzhuk 00fe471205 net: ethernet: ti: cpsw: fix vlan configuration while down/up
The vlan configuration is not restored after interface donw/up sequence
(if dual-emac - both interfaces). Tested on am572x EVM.

Steps to check:
~# ip link add link eth1 name eth1.100 type vlan id 100
~# ifconfig eth0 down
~# ifconfig eth1 down

Try to remove vid and observe warning:
~# ip link del eth1.100
[  739.526757] net eth1: removing vlanid 100 from vlan filter
[  739.533322] failed to kill vid 0081/100 for device eth1

This patch fixes it, restoring only vlan ALE entries and all other
unicast/multicast entries are restored by system calling rx_mode ndo.

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-08 20:30:58 -08:00
..
cpmac.c
cpsw_ale.c net: ethernet: ti: cpsw_ale: use const for API having pointer on mac address 2018-10-15 22:21:27 -07:00
cpsw_ale.h net: ethernet: ti: cpsw_ale: use const for API having pointer on mac address 2018-10-15 22:21:27 -07:00
cpsw-common.c net: ti: cpsw-common: dont print error if ti_cm_get_macid() fails 2017-08-30 10:05:07 -07:00
cpsw-phy-sel.c net: ethernet: cpsw-phy-sel: prefer phandle for phy sel 2018-09-02 13:52:13 -07:00
cpsw.c net: ethernet: ti: cpsw: fix vlan configuration while down/up 2018-11-08 20:30:58 -08:00
cpsw.h net: ethernet: ti: cpsw: move mac_hi/lo defines in cpsw.h 2017-12-01 16:36:32 -05:00
cpts.c net: ethernet: ti: cpts: mark expected switch fall-through 2018-08-07 17:54:21 -07:00
cpts.h net: ethernet: ti: cpts: fix tx timestamping timeout 2017-08-01 15:22:55 -07:00
davinci_cpdma.c net: ethernet: ti: cpdma: fit rated channels in backward order 2018-07-23 20:34:36 -07:00
davinci_cpdma.h net: ethernet: ti: cpsw: enable vlan rx vlan offload 2018-03-17 19:51:01 -04:00
davinci_emac.c net: ethernet: ti: davinci_emac: simplify getting .driver_data 2018-10-21 21:10:12 -07:00
davinci_mdio.c net: davinci: fix building davinci mdio code without CONFIG_OF 2018-05-30 13:21:23 -04:00
Kconfig net: ethernet: ti: add missing GENERIC_ALLOCATOR dependency 2018-09-17 07:49:33 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
netcp_core.c net: ethernet: Convert to using %pOFn instead of device_node.name 2018-08-29 19:41:30 -07:00
netcp_ethss.c net: ethernet: Convert to using %pOFn instead of device_node.name 2018-08-29 19:41:30 -07:00
netcp_sgmii.c
netcp_xgbepcsr.c
netcp.h net: netcp: add api to support set rx mode in netcp modules 2018-04-18 21:00:57 -04:00
tlan.c net: tlan: Mark expected switch fall-through 2018-08-07 17:54:21 -07:00
tlan.h