summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2026-03-09 12:34:29 +0300
committerLeon Romanovsky <leon@kernel.org>2026-03-16 23:23:00 +0300
commit91e9f3e7b626579b0393151545b80e50e2bffdca (patch)
tree93da9d31cf88eb65d819090b80ba79162a0cf1e1 /include
parent691dffc7255e740bc3df1c68b50b36786aadeb3a (diff)
downloadlinux-91e9f3e7b626579b0393151545b80e50e2bffdca.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions