net: dsa: dsa2: Add basic support of devlink
authorAndrew Lunn <andrew@lunn.ch>
Tue, 28 Mar 2017 21:45:07 +0000 (23:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 05:46:04 +0000 (22:46 -0700)
commit96567d5dacf47fd628bc3115c8a7d81866674cd3
tree97674d9de953c26b4ba9b723cdfc4d99af02dfc7
parentc6e970a04bdceb7ef1fdbac6be3bd4cd0a0a02bd
net: dsa: dsa2: Add basic support of devlink

Register the switch and its ports with devlink.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa2.c