summaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorCosmin Ratiu <cratiu@nvidia.com>2024-10-08 21:32:16 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-10-10 13:11:59 +0200
commitb9cfe193eb8fa3468fbd5585f92ed77648488b98 (patch)
tree4784691db1d3edc79bef52674e08882f7f950137 /rust/helpers/mutex.c
parente9fa32f110867655eb396cef1f35b66278e53051 (diff)
net/mlx5: qos: Store the eswitch in a mlx5_esw_rate_group
The rate groups are about to be moved out of eswitches, so store a reference to the eswitch they belong to so things can still work later. This allows dropping the esw parameter from a couple of functions and simplifying some of the code. Use this opportunity to make sure that vport scheduling element commands are always sent to the group eswitch, because that will be relevant for cross-esw scheduling. For now though, the eswitches are not different. There is no functionality change here. Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions