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 <vladbu@nvidia.com >
Signed-off-by: Vlad Buslov <vladbu@nvidia.com >
Signed-off-by: Dmytro Linkin <dlinkin@nvidia.com >
Reviewed-by: Huy Nguyen <huyn@nvidia.com >
Reviewed-by: Mark Bloch <mbloch@nvidia.com >
Reviewed-by: Parav Pandit <parav@nvidia.com >
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com >
2021-08-19 21:50:40 -07:00
..
2021-08-19 15:07:03 +02:00
2021-08-18 10:33:15 +01:00
2021-08-04 09:53:34 +01:00
2021-07-06 20:14:42 -04:00
2021-07-21 12:37:49 -07:00
2021-08-19 21:50:40 -07:00
2021-08-13 06:41:22 -07:00
2021-08-02 11:40:45 +02:00
2021-07-05 14:16:22 -07:00
2021-07-10 09:22:44 -07:00
2021-07-07 11:12:01 -07:00
2021-07-10 09:22:44 -07:00
2021-07-05 13:42:16 -07:00
2021-07-09 09:43:57 -07:00
2021-07-27 16:31:31 +02:00
2021-07-07 13:30:01 -07:00
2021-07-07 20:01:45 -07:00
2021-07-09 12:05:33 -07:00
2021-07-24 12:57:06 -07:00
2021-07-08 11:48:20 -07:00
2021-07-19 15:14:40 -07:00
2021-07-31 09:14:46 -07:00
2021-08-10 10:27:16 +02:00
2021-07-23 16:45:07 -07:00
2021-07-15 22:31:10 +02:00
2021-07-08 11:48:22 -07:00
2021-07-08 11:48:21 -07:00
2021-07-23 14:20:24 +01:00
2021-07-08 11:48:20 -07:00
2021-07-08 11:48:22 -07:00
2021-07-08 11:48:20 -07:00
2021-08-13 12:38:48 +02:00
2021-07-23 14:20:25 +01:00
2021-08-09 23:15:35 +02:00
2021-07-21 06:39:20 -10:00
2021-07-05 13:42:16 -07:00
2021-07-30 18:35:47 +02:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:44 +01:00
2021-07-23 17:43:28 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:21 -07:00
2021-07-05 14:01:53 -07:00
2021-08-04 12:35:07 +01:00
2021-08-05 11:46:42 +01:00
2021-08-13 06:41:22 -07:00
2021-07-15 20:49:09 +02:00
2021-07-21 08:14:33 -07:00
2021-07-21 08:14:33 -07:00
2021-07-21 08:14:33 -07:00
2021-07-21 08:14:33 -07:00
2021-08-10 10:59:20 +02:00
2021-07-08 08:37:31 -04:00
2021-07-08 11:48:22 -07:00
2021-07-15 10:13:49 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:20 -07:00
2021-07-11 10:02:33 -07:00
2021-07-23 17:43:28 -07:00
2021-08-18 11:39:44 +01:00
2021-08-05 15:08:47 -07:00
2021-07-12 11:30:56 -07:00
2021-08-19 13:06:53 +01:00
2021-08-09 15:49:00 -07:00
2021-07-12 11:30:56 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:22 -07:00
2021-08-10 10:59:20 +02:00
2021-08-13 14:09:19 -07:00
2021-07-08 14:03:26 -04:00
2021-07-08 11:48:20 -07:00
2021-07-05 13:42:16 -07:00
2021-08-08 13:00:20 +01:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-08 12:06:20 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:20 -07:00
2021-07-21 11:28:09 +01:00
2021-07-20 06:55:20 -07:00
2021-08-18 11:39:46 -07:00
2021-08-13 17:49:05 -07:00
2021-07-15 10:13:49 -07:00
2021-07-08 11:48:20 -07:00
2021-07-16 21:15:28 +02:00
2021-07-13 11:39:42 +01:00
2021-07-13 11:39:48 +01:00
2021-07-08 11:48:21 -07:00
2021-08-10 10:10:10 +02:00
2021-07-21 12:53:26 +02:00
2021-07-08 11:48:20 -07:00
2021-07-08 11:48:21 -07:00
2021-08-09 15:49:00 -07:00
2021-07-27 14:55:30 -07:00
2021-07-29 15:06:49 +01:00
2021-07-08 11:48:21 -07:00
2021-07-21 07:55:50 +02:00
2021-07-07 20:01:45 -07:00
2021-08-11 06:44:23 -04:00
2021-07-08 07:49:01 -04:00
2021-08-10 11:50:55 -04:00
2021-07-08 11:48:21 -07:00
2021-08-11 06:44:24 -04:00