Re: [PATCH iproute2 6/7] devlink: Add support for resource/dpipe relation

2018-02-23 Thread Stephen Hemminger
On Wed, 14 Feb 2018 10:55:21 +0200 Arkadi Sharshevsky wrote: > @@ -3457,15 +3509,36 @@ static int dpipe_table_show(struct dpipe_ctx *ctx, > struct nlattr *nl) > return -EINVAL; > } > > - name = mnl_attr_get_str(nla_table[DEVLINK_ATTR_DPIPE_TABLE_NAME]); > + table =

[PATCH iproute2 6/7] devlink: Add support for resource/dpipe relation

2018-02-14 Thread Arkadi Sharshevsky
Dpipe - Each dpipe table can have one resource which is mapped to it. The resource is presented via its full path. Furthermore, the number of units consumed by single table entry is presented. Resource - Each resource presents the dpipe tables that use it. Signed-off-by: Arkadi Sharshevsky Acked