Re: [PATCH net-next v9 5/9] devlink: Allow to set up parent in devl_rate_leaf_create()
From: Jiri Pirko <jiri@resnulli.us>
Date: 2022-11-04 15:40:56
From: Jiri Pirko <jiri@resnulli.us>
Date: 2022-11-04 15:40:56
Fri, Nov 04, 2022 at 03:30:58PM CET, michal.wilczynski@intel.com wrote:
Currently the driver is able to create leaf nodes for the devlink-rate, but is unable to set parent for them. This wasn't as issue, before the possibility to export hierarchy from the driver. After adding the export feature, in order for the driver to supply correct hierarchy, it's necessary for it to be able to supply a parent name to devl_rate_leaf_create(). Introduce a new parameter 'parent_name' in devl_rate_leaf_create(). Signed-off-by: Michal Wilczynski <redacted>
Reviewed-by: Jiri Pirko <redacted>