Commit ebf8d471 authored by Dragos Tatulea's avatar Dragos Tatulea Committed by Leon Romanovsky
Browse files

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: default avatarDragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
Signed-off-by: default avatarMark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250619113721.60201-2-mbloch@nvidia.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 52931f55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment