libbpf: Deprecate xdp_cpumap, xdp_devmap and classifier sec definitions
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 1 Feb 2022 14:58:08 +0000 (15:58 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 1 Feb 2022 17:51:31 +0000 (09:51 -0800)
commit4a4d4cee48e284a2993d417c2f19439c4e1489be
treeb3631814657f56238ce9434654f9ffe09f69b357
parent5ee32ea24ce7075736e03b4b0b5954a8a323cd73
libbpf: Deprecate xdp_cpumap, xdp_devmap and classifier sec definitions

Deprecate xdp_cpumap, xdp_devmap and classifier sec definitions.
Introduce xdp/devmap and xdp/cpumap definitions according to the
standard for SEC("") in libbpf:
- prog_type.prog_flags/attach_place

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/5c7bd9426b3ce6a31d9a4b1f97eb299e1467fc52.1643727185.git.lorenzo@kernel.org
tools/lib/bpf/libbpf.c