diff options
| author | 2022-11-15 11:48:18 +0100 | |
|---|---|---|
| committer | 2022-11-17 21:41:26 -0800 | |
| commit | 04d674f04e32d4109f0ee505a8855a384481212d (patch) | |
| tree | bdf6b3c0b938598b092da80c3981b7b89d5a318f /drivers/net/netdevsim/dev.c | |
| parent | devlink: Enable creation of the devlink-rate nodes from the driver (diff) | |
| download | wireguard-linux-04d674f04e32d4109f0ee505a8855a384481212d.tar.xz wireguard-linux-04d674f04e32d4109f0ee505a8855a384481212d.zip | |
devlink: Allow for devlink-rate nodes parent reassignment
Currently it's not possible to reassign the parent of the node using one
command. As the previous commit introduced a way to export entire
hierarchy from the driver, being able to modify and reassign parents
become important. This way user might easily change QoS settings without
interrupting traffic.
Example command:
devlink port function rate set pci/0000:4b:00.0/1 parent node_custom_1
This reassigns leaf node parent to node_custom_1.
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/netdevsim/dev.c')
0 files changed, 0 insertions, 0 deletions
