Commit ebf8d47
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>1 parent 52931f5 commit ebf8d47
1 file changed
Lines changed: 16 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12501 | 12501 | | |
12502 | 12502 | | |
12503 | 12503 | | |
12504 | | - | |
12505 | | - | |
12506 | | - | |
12507 | | - | |
12508 | | - | |
12509 | | - | |
12510 | | - | |
12511 | | - | |
12512 | | - | |
12513 | | - | |
12514 | | - | |
12515 | 12504 | | |
12516 | 12505 | | |
12517 | 12506 | | |
| |||
12523 | 12512 | | |
12524 | 12513 | | |
12525 | 12514 | | |
| 12515 | + | |
| 12516 | + | |
| 12517 | + | |
| 12518 | + | |
| 12519 | + | |
| 12520 | + | |
| 12521 | + | |
| 12522 | + | |
| 12523 | + | |
| 12524 | + | |
| 12525 | + | |
| 12526 | + | |
| 12527 | + | |
| 12528 | + | |
| 12529 | + | |
| 12530 | + | |
12526 | 12531 | | |
12527 | 12532 | | |
12528 | 12533 | | |
| |||
0 commit comments