xdp: Directly use ida_alloc()/free() APIs
authorKe Liu <liuke94@huawei.com>
Fri, 27 May 2022 06:46:09 +0000 (06:46 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 2 Jun 2022 23:25:30 +0000 (16:25 -0700)
commit21f1481a8db4caae4f935ef37aa29e5b3ceebc56
tree085c8f94ab37ef59c8c80f897d58d942786fb7d8
parent58f9d52ff689a262bec7f5713c07f5a79e115168
xdp: Directly use ida_alloc()/free() APIs

Use ida_alloc() / ida_free() instead of the deprecated ida_simple_get() /
ida_simple_remove().

Signed-off-by: Ke Liu <liuke94@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/bpf/20220527064609.2358482-1-liuke94@huawei.com
net/xdp/xdp_umem.c