]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net-shapers: implement NL group operation
authorPaolo Abeni <pabeni@redhat.com>
Wed, 9 Oct 2024 08:09:51 +0000 (10:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Oct 2024 15:30:22 +0000 (08:30 -0700)
commit5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e
tree1166bcc47e61a1505c588c4c1416c9be4fb2c209
parent93954b40f6a4fc43226c01a15b02732f884500f1
net-shapers: implement NL group operation

Allow grouping multiple leaves shaper under the given root.
The node and the leaves shapers are created, if needed, otherwise
the existing shapers are re-linked as requested.

Try hard to pre-allocated the needed resources, to avoid non
trivial H/W configuration rollbacks in case of any failure.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/8a721274fde18b872d1e3a61aaa916bb7b7996d3.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/shaper/shaper.c