net: dsa: Copy the routing table into the switch structure
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:17:00 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:53 +0000 (14:29 -0700)
commit66472fc04e8be62858f29c7798ed17e984c1ab3b
tree7f1dd73e2bf0c8dac71112e707a4588e67d678e4
parent4a7704ffa86705b0580b6473c407b7b7618e072d
net: dsa: Copy the routing table into the switch structure

The new binding will not have a chip data structure, it will place the
routing directly into the switch structure. To enable backwards
compatibility, copy the routing from the chip data into the switch
structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
include/net/dsa.h
net/dsa/dsa.c