Andrew Rybchenko 50b855fc47 net/af_xdp: move XDP library presence flag setting
RTE_NET_AF_XDP_LIBXDP is a conditional to include xdp/xsk.h and should
be set as soon as we know that the header is present.
RTE_NET_AF_XDP_SHARED_UMEM is one of conditions to use
xsk_socket__create_shared().
Both do not depend on libbpf and bpf/bpf.h presence.

Since else branch below returns error, there is no functional changes,
just style which will help on further rework.

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
2022-10-07 19:37:24 +02:00
..
2022-09-23 16:14:34 +02:00
2022-09-23 16:14:34 +02:00
2022-09-23 16:14:34 +02:00
2022-10-05 21:34:30 +02:00
2022-09-23 16:14:34 +02:00
2022-10-04 17:23:58 +02:00
2022-09-23 16:14:34 +02:00