]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita953faca84dbfc94d73dc8ce570339b129487121
treeb3631814657f56238ce9434654f9ffe09f69b357
parent7dde9a60478ab7e43e33d43dcd58c826a014bf7e
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