diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2025-06-19 14:37:17 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-06-25 07:34:27 -0400 |
commit | ebf8d47121b6ef3f38425a343a72f37c60fd6dbc (patch) | |
tree | ebdf7d0e2cb35a39eb10ec4cebcea1f050dde7e1 /net/switchdev/switchdev.c | |
parent | 52931f55159ea5c27ad4fe66fc0cb8ad75ab795b (diff) |
net/mlx5: Small refactor for general object capabilities
Make enum for capability bits of general object types depend on
the type definitions themselves.
Make sure that capabilities in the [64,127] bit range are
properly calculated (type id - 64).
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250619113721.60201-2-mbloch@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions