Re: [PATCH net-next v11 2/8] devlink: Extend devlink rate API with traffic classes bandwidth management

From: Jakub Kicinski
Date: Thu Jun 26 2025 - 21:01:46 EST


On Wed, 25 Jun 2025 21:30:12 +0300 Mark Bloch wrote:
> Introduce support for specifying relative bandwidth shares between
> traffic classes (TC) in the devlink-rate API. This new option allows
> users to allocate bandwidth across multiple traffic classes in a
> single command.

net/devlink/rate.c:390:33: warning: variable 'total' set but not used [-Wunused-but-set-variable]
390 | int rem, err = -EOPNOTSUPP, i, total = 0;
| ^


Documentation/netlink/specs/devlink.yaml
1277:8 error wrong indentation: expected 8 but found 7 (indentation)
1279:8 error wrong indentation: expected 8 but found 7 (indentation)
--
pw-bot: cr