Re: [PATCH v2 net-next 1/2] net: dsa: Add support for devlink device parameters

2019-10-04 Thread Andrew Lunn
On Fri, Oct 04, 2019 at 08:21:22PM -0400, Vivien Didelot wrote: > On Fri, 4 Oct 2019 23:09:33 +0200, Andrew Lunn wrote: > > 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

Re: [PATCH v2 net-next 1/2] net: dsa: Add support for devlink device parameters

2019-10-04 Thread Vivien Didelot
On Fri, 4 Oct 2019 23:09:33 +0200, Andrew Lunn wrote: > 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 t

[PATCH v2 net-next 1/2] net: dsa: Add support for devlink device parameters

2019-10-04 Thread Andrew Lunn
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 --- include/net/dsa.h