net: dsa: Add support for devlink resources
authorAndrew Lunn <andrew@lunn.ch>
Tue, 5 Nov 2019 00:12:57 +0000 (01:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 02:09:45 +0000 (18:09 -0800)
commit5cd73fbd78794d9c9c4e7a61dc8fa83489b43d03
treee79cdf9b825cf367355b6da8922317009ef118a9
parent2ee6ad1ddf77ca13ae5a72ddc5cad3d64dc6443c
net: dsa: Add support for devlink resources

Add wrappers around the devlink resource API, so that DSA drivers can
register and unregister devlink resources.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa.c