summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@nvidia.com>2023-03-08 01:02:12 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-06-10 04:40:50 +0300
commit18a92b05425493c3d131c47689443d7ae860c986 (patch)
treeb6e287ada4aa9b1067ca3686dfd08d825d8eed53 /include/linux
parentded5c1a16ec69bb815f2b7d9ea4028913ebffca4 (diff)
downloadlinux-18a92b05425493c3d131c47689443d7ae860c986.tar.xz
net/mlx5: Simplify unload all rep code
Instead of using type specific iterators which are only used in one place just traverse the xarray. It will provide suitable ordering based on the vport numbers. This will also eliminate the need for changes here when new types are added. Signed-off-by: Daniel Jurgens <danielj@nvidia.com> Reviewed-by: William Tu <witu@nvidia.com> Reviewed-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions