diff options
author | Cosmin Ratiu <cratiu@nvidia.com> | 2024-10-08 21:32:09 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-10 13:11:59 +0200 |
commit | 016f426a14f09faa8bdb68b063c2947edf3108a1 (patch) | |
tree | a4b009e7043747f971a59fc54ed71e11a0307522 /rust/helpers/helpers.c | |
parent | d9d28b6f6a13b2ea084bb87d5b8f028769988e9d (diff) |
net/mlx5: qos: Flesh out element_attributes in mlx5_ifc.h
This is used for multiple purposes, depending on the scheduling element
created. There are a few helper struct defined a long time ago, but they
are not easy to find in the file and they are about to get new members.
This commit cleans up this area a bit by:
- moving the helper structs closer to where they are relevant.
- defining a helper union to include all of them to help
discoverability.
- making use of it everywhere element_attributes is used.
- using a consistent 'attr' name.
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/helpers.c')
0 files changed, 0 insertions, 0 deletions