Re: [PATCH net-next v2 04/11] devlink: Add support for region get command

2018-07-11 Thread Jakub Kicinski
On Wed, 11 Jul 2018 13:43:01 +0300, Alex Vesker wrote: > + DEVLINK_ATTR_REGION_SIZE, /* u32 */ > + err = nla_put_u64_64bit(msg, DEVLINK_ATTR_REGION_SIZE, > + region->size, > + DEVLINK_ATTR_PAD); Size in the comment look

[PATCH net-next v2 04/11] devlink: Add support for region get command

2018-07-11 Thread Alex Vesker
Add support for DEVLINK_CMD_REGION_GET command which is used for querying for the supported DEV/REGION values of devlink devices. The support is both for doit and dumpit. Reply includes: BUS_NAME, DEVICE_NAME, REGION_NAME, REGION_SIZE Signed-off-by: Alex Vesker Signed-off-by: Jiri Pirko ---