Files
Linux/include/linux/mlx5
Dmytro Linkin 1ae258f8b3 net/mlx5: E-switch, Introduce rate limiting groups API
Extend eswitch API with rate limiting groups:

- Define new struct mlx5_esw_rate_group that is used to hold all
  internal group data.

- Implement functions that allow creation, destruction and cleanup of
  groups.

- Assign all vports to internal unlimited zero group by default.

This commit lays the groundwork for group rate limiting by implementing
devlink_ops->rate_node_{new|del}() callbacks to support creating and
deleting groups through devlink rate node objects. APIs that allows
setting rates and adding/removing members are implemented in following
patches.

Co-developed-by: Vlad Buslov <[email protected]>
Signed-off-by: Vlad Buslov <[email protected]>
Signed-off-by: Dmytro Linkin <[email protected]>
Reviewed-by: Huy Nguyen <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
2021-08-19 21:50:40 -07:00
..
…
…
2021-08-02 19:26:26 -07:00