On 10/25/2017 06:26 PM, David Ahern wrote:
> On 10/24/17 3:22 AM, Jiri Pirko wrote:
>> diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h
>> index 0cbca96..9db1d70 100644
>> --- a/include/uapi/linux/devlink.h
>> +++ b/include/uapi/linux/devlink.h
>> @@ -69,6 +69,8 @@ enum devlink_command {
>>      DEVLINK_CMD_DPIPE_ENTRIES_GET,
>>      DEVLINK_CMD_DPIPE_HEADERS_GET,
>>      DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET,
>> +    DEVLINK_CMD_RESOURCE_SET,
>> +    DEVLINK_CMD_RESOURCE_DUMP,
>>  
>>      /* add new commands above here */
>>      __DEVLINK_CMD_MAX,
>> @@ -201,6 +203,12 @@ enum devlink_attr {
>>      DEVLINK_ATTR_PAD,
>>  
>>      DEVLINK_ATTR_ESWITCH_ENCAP_MODE,        /* u8 */
>> +    DEVLINK_ATTR_RESOURCES,                 /* nested */
>> +    DEVLINK_ATTR_RESOURCE,                  /* nested */
>> +    DEVLINK_ATTR_RESOURCE_NAME,             /* string */
>> +    DEVLINK_ATTR_RESOURCE_SIZE,             /* u64 */
>> +    DEVLINK_ATTR_RESOURCE_SIZE_NEW,         /* u64 */
>> +    DEVLINK_ATTR_RESOURCE_ID,               /* u64 */
>>  
>>      /* add new attributes above here, update the policy in devlink.c */
>>  
> 
> Where can I find the userspace patch to try out the RFC?
> 

Hi David,

Thanks for the review. I will send the updated version this week
with the userspace part.

Reply via email to