OSDN Git Service

net/mlx5: Use ida_alloc_range() instead of ida_simple_alloc()
authorRoi Dayan <roid@nvidia.com>
Mon, 15 Mar 2021 11:31:40 +0000 (13:31 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 2 Apr 2021 23:13:07 +0000 (16:13 -0700)
commit8802b8a44ef869d5985be817654373311212acfb
tree9ab87e532f1a06842f8c928e60965060f6b6e92d
parent233dd7d6565e5f4a691e33306eda2d047e98a4bb
net/mlx5: Use ida_alloc_range() instead of ida_simple_alloc()

ida_simple_alloc() and remove functions are deprecated.
Related change:
commit 3264ceec8f17 ("lib/idr.c: document that ida_simple_{get,remove}() are deprecated")

Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c