summaryrefslogtreecommitdiff
path: root/net/802/fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/fc.c')
0 files changed, 0 insertions, 0 deletions
.cgi/linux/net-next.git/patch/net/dsa/switch.c?id=f515f192ab4f45bb695146b82432d63d98775787'>patch) tree5a6fddcbb34e28e6850e63d3023504b46e5ea9c3 /net/dsa/switch.c parentc5d35cb32cffa6e4c2db1cbd9a544e10a8d6fda9 (diff)
net: dsa: add switch notifier
Add a notifier block per DSA switch, registered against a notifier head in the switch fabric they belong to. This infrastructure will allow to propagate fabric-wide events such as port bridging, VLAN configuration, etc. If a DSA switch driver cares about cross-chip configuration, such events can be caught. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/switch.c')
-rw-r--r--net/dsa/switch.c53
1 files changed, 53 insertions, 0 deletions
diff --git a/net/dsa/switch.c b/net/dsa/switch.c
new file mode 100644