diff options
| author | Shay Drory <shayd@nvidia.com> | 2026-03-09 11:34:29 +0200 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-03-16 16:23:00 -0400 |
| commit | 91e9f3e7b626579b0393151545b80e50e2bffdca (patch) | |
| tree | 93da9d31cf88eb65d819090b80ba79162a0cf1e1 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 691dffc7255e740bc3df1c68b50b36786aadeb3a (diff) | |
net/mlx5: LAG, replace pf array with xarray
Replace the fixed-size array with a dynamic xarray.
This commit changes:
- Adds mlx5_lag_pf() helper for consistent xarray access
- Converts all direct pf[] accesses to use the new helper/macro
- Dynamically allocates lag_func entries via xa_store/xa_load
No functional changes intended. This prepares the LAG infrastructure
for future flexibility in device indexing.
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260309093435.1850724-4-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
