summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@nvidia.com>2023-03-08 00:02:12 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-06-09 18:40:50 -0700
commit18a92b05425493c3d131c47689443d7ae860c986 (patch)
treeb6e287ada4aa9b1067ca3686dfd08d825d8eed53 /include/linux/mlx5/mlx5_ifc.h
parentded5c1a16ec69bb815f2b7d9ea4028913ebffca4 (diff)
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/mlx5/mlx5_ifc.h')
0 files changed, 0 insertions, 0 deletions