]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit637334e371135e07c2f8fa71aae38c5801725793
tree7f1dd73e2bf0c8dac71112e707a4588e67d678e4
parentabb195821be5a846808c965b7dbe858f92524cca
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