]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Store vlan_filtering as a property of dsa_port
authorVladimir Oltean <olteanv@gmail.com>
Sun, 28 Apr 2019 18:45:43 +0000 (21:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 03:05:28 +0000 (23:05 -0400)
commit6808395747a3dad63b45d7dd39a478bac6409528
tree92868bb5ede7bb5a76b650d19eab0f6e3bae915a
parent96c8b91400a9d001fe8c220b44060694855451fa
net: dsa: Store vlan_filtering as a property of dsa_port

This allows drivers to query the VLAN setting imposed by the bridge
driver directly from DSA, instead of keeping their own state based on
the .port_vlan_filtering callback.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/port.c