]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: Stop using bpf_map__def() API
authorChristy Lee <christylee@fb.com>
Sat, 8 Jan 2022 00:42:14 +0000 (16:42 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 13 Jan 2022 01:01:38 +0000 (17:01 -0800)
commit8e828ae111f008e2320444a91a98791508ac8984
tree814b02e59e77f99a9a5c4739b860e75ff29ef286
parentb522ccf3f367556430bb902525046ca8a164a976
samples/bpf: Stop using bpf_map__def() API

libbpf bpf_map__def() API is being deprecated, replace samples/bpf's
usage with the appropriate getters and setters.

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220108004218.355761-2-christylee@fb.com
samples/bpf/xdp_rxq_info_user.c