]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: pass bridge down to drivers
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 12 Feb 2016 17:09:39 +0000 (12:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Feb 2016 19:52:46 +0000 (14:52 -0500)
commit9f946f6b14f2922a4eb756e27a1eefeed299e15d
tree5f958180ec0406c7a5616386d36da97eacec5e2d
parent8481930ba9e8c23ec52de7894db45c7da5525672
net: dsa: pass bridge down to drivers

Some DSA drivers may or may not support multiple software bridges on top
of an hardware switch.

It is more convenient for them to access the bridge's net_device for
finer configuration.

Removing the need to craft and access a bitmask also simplifies the
code.

This patch changes the signature of bridge related functions, update DSA
drivers, and removes dsa_slave_br_port_mask.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/dsa/dsa.txt
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2.h
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h
include/net/dsa.h
net/dsa/slave.c