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

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2025-06-27 01:01:04 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/06/3110241
- Thread: https://ratatoskr.run/netdev/2025/06/3107856/t.md

```text
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
```
