]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ee15fd974acdf1e0cf697b25288ebea54b8e3ec
tree085c8f94ab37ef59c8c80f897d58d942786fb7d8
parent8033930fe8aa02de327362c61fa69bd8efa9b8ee
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