]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: dsa: Add support for devlink device parameters
authorAndrew Lunn <andrew@lunn.ch>
Thu, 24 Oct 2019 23:03:51 +0000 (01:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 23:21:02 +0000 (16:21 -0700)
commit6b297524234ccf3954b54609ab6bc2e8c4d3f677
treedcce1a7f6db75e20d32723a21b09ee380f2b58c1
parentebdcebcb8b646cbca8b5b6f01f6416394a3c77a9
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>
include/net/dsa.h
net/dsa/dsa.c
net/dsa/dsa2.c