commit | 6b297524234ccf3954b54609ab6bc2e8c4d3f677 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Fri Oct 25 01:03:51 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 28 16:21:02 2019 -0700 |
tree | dcce1a7f6db75e20d32723a21b09ee380f2b58c1 | |
parent | ebdcebcb8b646cbca8b5b6f01f6416394a3c77a9 [diff] |
net: dsa: Add support for devlink device parameters Add plumbing to allow DSA drivers to register parameters with devlink. To keep with the abstraction, the DSA drivers pass the ds structure to these helpers, and the DSA core then translates that to the devlink structure associated to the device. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>