af_xdp + libbpf 0.8
Thomas Monjalon
thomas at monjalon.net
Thu Jun 23 23:58:23 CEST 2022
Hi,
It seems DPDK is not compatible with libbpf 0.8:
drivers/net/af_xdp/rte_eth_af_xdp.c:871:6: error: 'bpf_get_link_xdp_id' is deprecated: libbpf v0.8+: use bpf_xdp_query_id() instead
/usr/include/bpf/libbpf.h:1168:1: note: 'bpf_get_link_xdp_id' has been explicitly marked deprecated here
LIBBPF_DEPRECATED_SINCE(0, 8, "use bpf_xdp_query_id() instead")
drivers/net/af_xdp/rte_eth_af_xdp.c:876:2: error: 'bpf_set_link_xdp_fd' is deprecated: libbpf v0.8+: use bpf_xdp_attach() instead
/usr/include/bpf/libbpf.h:1163:1: note: 'bpf_set_link_xdp_fd' has been explicitly marked deprecated here
LIBBPF_DEPRECATED_SINCE(0, 8, "use bpf_xdp_attach() instead")
dpdk/drivers/net/af_xdp/rte_eth_af_xdp.c:1198:8: error: 'bpf_set_link_xdp_fd' is deprecated: libbpf v0.8+: use bpf_xdp_attach() instead
/usr/include/bpf/libbpf.h:1163:1: note: 'bpf_set_link_xdp_fd' has been explicitly marked deprecated here
LIBBPF_DEPRECATED_SINCE(0, 8, "use bpf_xdp_attach() instead")
More information about the dev
mailing list