[dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup
Thomas Monjalon
thomas at monjalon.net
Wed Nov 10 16:22:16 CET 2021
09/11/2021 22:04, Stephen Hemminger:
> These tests are testing with strings with hostname (dpdk.org)
> and this makes test code do a DNS lookup. In container test
> runs, DNS is unavailable. Replace dpdk.org with the current
> IP and IPV6 addresses. Actual addresses don't matter the purpose
> of the test is to BPF code conversion, not any packets.
>
> Reported-by: Luca Boccassi <bluca at debian.org>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> --- a/app/test/test_bpf.c
> +++ b/app/test/test_bpf.c
> - "host dpdk.org and not (port 80 or port 25)",
> - "host dpdk.org and not port 80 and not port 25",
> + "host 92.243.24.197 and not (port 80 or port 25)",
> + "host 2001:4b98:dc0:43:216:3eff:feb6:2d88 and not port 80 and not port 25",
Wouldn't it be more appropriate to use reserved IP addresses?
More information about the dev
mailing list