Re: [PATCH net-next 1/7] devlink: Add devlink msg API

2019-01-23 Thread Eran Ben Elisha
On 1/23/2019 4:31 PM, Jiri Pirko wrote: > Tue, Jan 22, 2019 at 04:57:18PM CET, era...@mellanox.com wrote: >> Devlink msg is a mechanism to pass descriptors between drivers and >> devlink, in json-like format. The API allows the driver to add objects, >> object pair, value array (nested attributes

Re: [PATCH net-next 1/7] devlink: Add devlink msg API

2019-01-23 Thread Jiri Pirko
Tue, Jan 22, 2019 at 04:57:18PM CET, era...@mellanox.com wrote: >Devlink msg is a mechanism to pass descriptors between drivers and >devlink, in json-like format. The API allows the driver to add objects, >object pair, value array (nested attributes), value and name. > >Driver can use this API to f

[PATCH net-next 1/7] devlink: Add devlink msg API

2019-01-22 Thread Eran Ben Elisha
Devlink msg is a mechanism to pass descriptors between drivers and devlink, in json-like format. The API allows the driver to add objects, object pair, value array (nested attributes), value and name. Driver can use this API to fill the msg context in a format which can be translated by the devlin