DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup
@ 2021-11-09 21:04 Stephen Hemminger
  2021-11-09 22:50 ` Luca Boccassi
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Stephen Hemminger @ 2021-11-09 21:04 UTC (permalink / raw)
  To: konstantin.ananyev, bluca; +Cc: dev, 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@debian.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index ef861d05e755..15d39a72b578 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
 	"dst net 192.168.0.0/24",
 	"dst net 192.168.0.0 mask 255.255.255.0",
 	"port 53",
-	"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",
 	"port not 53 and not arp",
 	"(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
 	"ether proto 0x888e",
-- 
2.30.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup
  2021-11-09 21:04 [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup Stephen Hemminger
@ 2021-11-09 22:50 ` Luca Boccassi
  2021-11-10 15:22 ` Thomas Monjalon
  2021-11-10 16:18 ` [PATCH v2] " Stephen Hemminger
  2 siblings, 0 replies; 11+ messages in thread
From: Luca Boccassi @ 2021-11-09 22:50 UTC (permalink / raw)
  To: Stephen Hemminger, konstantin.ananyev; +Cc: dev

On Tue, 2021-11-09 at 13:04 -0800, Stephen Hemminger wrote:
> 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@debian.org>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  app/test/test_bpf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
> index ef861d05e755..15d39a72b578 100644
> --- a/app/test/test_bpf.c
> +++ b/app/test/test_bpf.c
> @@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
>  	"dst net 192.168.0.0/24",
>  	"dst net 192.168.0.0 mask 255.255.255.0",
>  	"port 53",
> -	"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",
>  	"port not 53 and not arp",
>  	"(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
>  	"ether proto 0x888e",

Thanks for tracking this down!

Acked-by: Luca Boccassi <bluca@debian.org>

-- 
Kind regards,
Luca Boccassi

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup
  2021-11-09 21:04 [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup Stephen Hemminger
  2021-11-09 22:50 ` Luca Boccassi
@ 2021-11-10 15:22 ` Thomas Monjalon
  2021-11-10 16:18 ` [PATCH v2] " Stephen Hemminger
  2 siblings, 0 replies; 11+ messages in thread
From: Thomas Monjalon @ 2021-11-10 15:22 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: konstantin.ananyev, bluca, dev

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@debian.org>
> Signed-off-by: Stephen Hemminger <stephen@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?




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v2] test/bpf_convert: do not require DNS lookup
  2021-11-09 21:04 [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup Stephen Hemminger
  2021-11-09 22:50 ` Luca Boccassi
  2021-11-10 15:22 ` Thomas Monjalon
@ 2021-11-10 16:18 ` Stephen Hemminger
  2021-11-14 23:39   ` Luca Boccassi
                     ` (2 more replies)
  2 siblings, 3 replies; 11+ messages in thread
From: Stephen Hemminger @ 2021-11-10 16:18 UTC (permalink / raw)
  To: konstantin.ananyev, bluca; +Cc: dev, Stephen Hemminger

These tests were using strings with hostname (dpdk.org) and this makes
test code do a DNS lookup. In container environment used for OpenSuse
build, DNS is unavailable.  Replace dpdk.org with an IPv4 address
reserved for documentation (RFC 5737) and use IPv6 in one example (RFC 3849).
Actual addresses don't matter for this test whichis validating tke
classic BPF to eBPF for common cases.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
v2 - use RFC reserved address

 app/test/test_bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index ef861d05e755..785f3e689e10 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
 	"dst net 192.168.0.0/24",
 	"dst net 192.168.0.0 mask 255.255.255.0",
 	"port 53",
-	"host dpdk.org and not (port 80 or port 25)",
-	"host dpdk.org and not port 80 and not port 25",
+	"host 192.0.2.1 and not (port 80 or port 25)",
+	"host 2001:4b98:db0::8 and not port 80 and not port 25",
 	"port not 53 and not arp",
 	"(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
 	"ether proto 0x888e",
-- 
2.30.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2] test/bpf_convert: do not require DNS lookup
  2021-11-10 16:18 ` [PATCH v2] " Stephen Hemminger
@ 2021-11-14 23:39   ` Luca Boccassi
  2021-11-24 18:51     ` Luca Boccassi
  2021-11-15  3:41   ` Kalesh Anakkur Purayil
  2021-11-15 23:23   ` [PATCH v3] " Stephen Hemminger
  2 siblings, 1 reply; 11+ messages in thread
From: Luca Boccassi @ 2021-11-14 23:39 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

On Wed, 10 Nov 2021 at 16:18, Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> These tests were using strings with hostname (dpdk.org) and this makes
> test code do a DNS lookup. In container environment used for OpenSuse
> build, DNS is unavailable.  Replace dpdk.org with an IPv4 address
> reserved for documentation (RFC 5737) and use IPv6 in one example (RFC 3849).
> Actual addresses don't matter for this test whichis validating tke
> classic BPF to eBPF for common cases.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> v2 - use RFC reserved address
>
>  app/test/test_bpf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
> index ef861d05e755..785f3e689e10 100644
> --- a/app/test/test_bpf.c
> +++ b/app/test/test_bpf.c
> @@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
>         "dst net 192.168.0.0/24",
>         "dst net 192.168.0.0 mask 255.255.255.0",
>         "port 53",
> -       "host dpdk.org and not (port 80 or port 25)",
> -       "host dpdk.org and not port 80 and not port 25",
> +       "host 192.0.2.1 and not (port 80 or port 25)",
> +       "host 2001:4b98:db0::8 and not port 80 and not port 25",
>         "port not 53 and not arp",
>         "(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
>         "ether proto 0x888e",
> --
> 2.30.2

Acked-by: Luca Boccassi <bluca@debian.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2] test/bpf_convert: do not require DNS lookup
  2021-11-10 16:18 ` [PATCH v2] " Stephen Hemminger
  2021-11-14 23:39   ` Luca Boccassi
@ 2021-11-15  3:41   ` Kalesh Anakkur Purayil
  2021-11-15 23:23   ` [PATCH v3] " Stephen Hemminger
  2 siblings, 0 replies; 11+ messages in thread
From: Kalesh Anakkur Purayil @ 2021-11-15  3:41 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Konstantin Ananyev, Luca Boccassi, dpdk-dev

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

On Wed, Nov 10, 2021 at 9:48 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:

> These tests were using strings with hostname (dpdk.org) and this makes
> test code do a DNS lookup. In container environment used for OpenSuse
> build, DNS is unavailable.  Replace dpdk.org with an IPv4 address
>
extra space character before Replace?

> reserved for documentation (RFC 5737) and use IPv6 in one example (RFC
> 3849).
> Actual addresses don't matter for this test whichis validating tke
>
Missing space between which and is and typo in "the"

> classic BPF to eBPF for common cases.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> v2 - use RFC reserved address
>
>  app/test/test_bpf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
> index ef861d05e755..785f3e689e10 100644
> --- a/app/test/test_bpf.c
> +++ b/app/test/test_bpf.c
> @@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
>         "dst net 192.168.0.0/24",
>         "dst net 192.168.0.0 mask 255.255.255.0",
>         "port 53",
> -       "host dpdk.org and not (port 80 or port 25)",
> -       "host dpdk.org and not port 80 and not port 25",
> +       "host 192.0.2.1 and not (port 80 or port 25)",
> +       "host 2001:4b98:db0::8 and not port 80 and not port 25",
>         "port not 53 and not arp",
>         "(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and
> tcp[2:2] < 1550)",
>         "ether proto 0x888e",
> --
> 2.30.2
>
>

-- 
Regards,
Kalesh A P

[-- Attachment #2: Type: text/html, Size: 2919 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v3] test/bpf_convert: do not require DNS lookup
  2021-11-10 16:18 ` [PATCH v2] " Stephen Hemminger
  2021-11-14 23:39   ` Luca Boccassi
  2021-11-15  3:41   ` Kalesh Anakkur Purayil
@ 2021-11-15 23:23   ` Stephen Hemminger
  2021-11-15 23:29     ` [PATCH v4] " Stephen Hemminger
  2021-11-15 23:29     ` [PATCH v5] " Stephen Hemminger
  2 siblings, 2 replies; 11+ messages in thread
From: Stephen Hemminger @ 2021-11-15 23:23 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Luca Boccassi

These tests were using strings with hostname (dpdk.org) and this makes
test code do a DNS lookup. In container environment used for OpenSuse
build, DNS is unavailable. Replace dpdk.org with an IPv4 address
reserved for documentation (RFC 5737) and use IPv6 in one example (RFC 3849).
Actual addresses don't matter for this test which is validating that
code generated in classic BPF can be succesfully converted to eBPF.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Luca Boccassi <bluca@debian.org>
---
v3 - fix typos in commit message

 app/test/test_bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index ef861d05e755..785f3e689e10 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
 	"dst net 192.168.0.0/24",
 	"dst net 192.168.0.0 mask 255.255.255.0",
 	"port 53",
-	"host dpdk.org and not (port 80 or port 25)",
-	"host dpdk.org and not port 80 and not port 25",
+	"host 192.0.2.1 and not (port 80 or port 25)",
+	"host 2001:4b98:db0::8  and not port 80 and not port 25",
 	"port not 53 and not arp",
 	"(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
 	"ether proto 0x888e",
-- 
2.30.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v4] test/bpf_convert: do not require DNS lookup
  2021-11-15 23:23   ` [PATCH v3] " Stephen Hemminger
@ 2021-11-15 23:29     ` Stephen Hemminger
  2021-11-15 23:29     ` [PATCH v5] " Stephen Hemminger
  1 sibling, 0 replies; 11+ messages in thread
From: Stephen Hemminger @ 2021-11-15 23:29 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Luca Boccassi

These tests were using strings with hostname (dpdk.org) and this makes
test code do a DNS lookup. In container environment used for OpenSuse
build, DNS is unavailable. Replace dpdk.org with an IPv4 address
reserved for documentation (RFC5737) and use IPv6 in one example
(RFC3849).  Actual addresses don't matter for this test which is
validating that code generated in classic BPF can be successfully
converted to eBPF.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Aced-by: Luca Boccassi <bluca@debian.org>
---
v4 - yet another spelling error

 app/test/test_bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index ef861d05e755..785f3e689e10 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
 	"dst net 192.168.0.0/24",
 	"dst net 192.168.0.0 mask 255.255.255.0",
 	"port 53",
-	"host dpdk.org and not (port 80 or port 25)",
-	"host dpdk.org and not port 80 and not port 25",
+	"host 192.0.2.1 and not (port 80 or port 25)",
+	"host 2001:4b98:db0::8  and not port 80 and not port 25",
 	"port not 53 and not arp",
 	"(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
 	"ether proto 0x888e",
-- 
2.30.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v5] test/bpf_convert: do not require DNS lookup
  2021-11-15 23:23   ` [PATCH v3] " Stephen Hemminger
  2021-11-15 23:29     ` [PATCH v4] " Stephen Hemminger
@ 2021-11-15 23:29     ` Stephen Hemminger
  2021-11-16 13:31       ` David Marchand
  1 sibling, 1 reply; 11+ messages in thread
From: Stephen Hemminger @ 2021-11-15 23:29 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Luca Boccassi

These tests were using strings with hostname (dpdk.org) and this makes
test code do a DNS lookup. In container environment used for OpenSuse
build, DNS is unavailable. Replace dpdk.org with an IPv4 address
reserved for documentation (RFC5737) and use IPv6 in one example
(RFC3849).  Actual addresses don't matter for this test which is
validating that code generated in classic BPF can be successfully
converted to eBPF.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Luca Boccassi <bluca@debian.org>
---
 app/test/test_bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index ef861d05e755..785f3e689e10 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
 	"dst net 192.168.0.0/24",
 	"dst net 192.168.0.0 mask 255.255.255.0",
 	"port 53",
-	"host dpdk.org and not (port 80 or port 25)",
-	"host dpdk.org and not port 80 and not port 25",
+	"host 192.0.2.1 and not (port 80 or port 25)",
+	"host 2001:4b98:db0::8  and not port 80 and not port 25",
 	"port not 53 and not arp",
 	"(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
 	"ether proto 0x888e",
-- 
2.30.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v5] test/bpf_convert: do not require DNS lookup
  2021-11-15 23:29     ` [PATCH v5] " Stephen Hemminger
@ 2021-11-16 13:31       ` David Marchand
  0 siblings, 0 replies; 11+ messages in thread
From: David Marchand @ 2021-11-16 13:31 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev, Luca Boccassi

On Tue, Nov 16, 2021 at 12:30 AM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> These tests were using strings with hostname (dpdk.org) and this makes
> test code do a DNS lookup. In container environment used for OpenSuse
> build, DNS is unavailable. Replace dpdk.org with an IPv4 address
> reserved for documentation (RFC5737) and use IPv6 in one example
> (RFC3849).  Actual addresses don't matter for this test which is
> validating that code generated in classic BPF can be successfully
> converted to eBPF.

Fixes: 2eccf6afbea9 ("bpf: add function to convert classic BPF to DPDK BPF")

>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> Acked-by: Luca Boccassi <bluca@debian.org>

Applied, thanks.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2] test/bpf_convert: do not require DNS lookup
  2021-11-14 23:39   ` Luca Boccassi
@ 2021-11-24 18:51     ` Luca Boccassi
  0 siblings, 0 replies; 11+ messages in thread
From: Luca Boccassi @ 2021-11-24 18:51 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

On Sun, 2021-11-14 at 23:39 +0000, Luca Boccassi wrote:
> On Wed, 10 Nov 2021 at 16:18, Stephen Hemminger
> <stephen@networkplumber.org> wrote:
> > 
> > These tests were using strings with hostname (dpdk.org) and this makes
> > test code do a DNS lookup. In container environment used for OpenSuse
> > build, DNS is unavailable.  Replace dpdk.org with an IPv4 address
> > reserved for documentation (RFC 5737) and use IPv6 in one example (RFC 3849).
> > Actual addresses don't matter for this test whichis validating tke
> > classic BPF to eBPF for common cases.
> > 
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > ---
> > v2 - use RFC reserved address
> > 
> >  app/test/test_bpf.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
> > index ef861d05e755..785f3e689e10 100644
> > --- a/app/test/test_bpf.c
> > +++ b/app/test/test_bpf.c
> > @@ -3359,8 +3359,8 @@ static const char * const sample_filters[] = {
> >         "dst net 192.168.0.0/24",
> >         "dst net 192.168.0.0 mask 255.255.255.0",
> >         "port 53",
> > -       "host dpdk.org and not (port 80 or port 25)",
> > -       "host dpdk.org and not port 80 and not port 25",
> > +       "host 192.0.2.1 and not (port 80 or port 25)",
> > +       "host 2001:4b98:db0::8 and not port 80 and not port 25",
> >         "port not 53 and not arp",
> >         "(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)",
> >         "ether proto 0x888e",
> > --
> > 2.30.2
> 
> Acked-by: Luca Boccassi <bluca@debian.org>

The test still fails in a restricted build environment on latest main:

[ 1846s] EAL: Multi-process socket /tmp/dpdk/bpf_autotest/mp_socket
[ 1846s] EAL: Selected IOVA mode 'VA'
[ 1846s] APP: HPET is not enabled, using TSC as default timer
[ 1846s] RTE>>bpf_autotest
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_jit(0xf7fd2000) failed, error code: -95;
[ 1846s] bpf_exec(0xf7fd2000): division by 0 at pc: 0x68;
[ 1846s] evaluate: function calls are supported only for 64 bit apps at pc: 8
[ 1846s] evaluate: function calls are supported only for 64 bit apps at pc: 4
[ 1846s] evaluate: function calls are supported only for 64 bit apps at pc: 0
[ 1846s] evaluate: function calls are supported only for 64 bit apps at pc: 7
[ 1846s] evaluate: function calls are supported only for 64 bit apps at pc: 10
[ 1846s] bpf_validate: unsupported argument type
[ 1846s] bpf_validate: unsupported argument type
[ 1846s] bpf_validate: unsupported argument type
[ 1846s] run_test(test_store1) start
[ 1846s] run_test(test_store2) start
[ 1846s] run_test(test_load1) start
[ 1846s] run_test(test_ldimm1) start
[ 1846s] run_test(test_mul1) start
[ 1846s] run_test(test_shift1) start
[ 1846s] run_test(test_jump1) start
[ 1846s] run_test(test_jump2) start
[ 1846s] run_test(test_alu1) start
[ 1846s] run_test(test_bele1) start
[ 1846s] run_test(test_xadd1) start
[ 1846s] run_test(test_div1) start
[ 1846s] run_test(test_call1) start
[ 1846s] run_test@3202: failed to load bpf code, error=22(Invalid argument);
[ 1846s] run_test(test_call2) start
[ 1846s] run_test@3202: failed to load bpf code, error=22(Invalid argument);
[ 1846s] run_test(test_call3) start
[ 1846s] run_test@3202: failed to load bpf code, error=22(Invalid argument);
[ 1846s] run_test(test_call4) start
[ 1846s] run_test@3202: failed to load bpf code, error=22(Invalid argument);
[ 1846s] run_test(test_call5) start
[ 1846s] run_test@3202: failed to load bpf code, error=22(Invalid argument);
[ 1846s] run_test(test_ld_mbuf1) start
[ 1846s] run_test@3202: failed to load bpf code, error=95(Operation not supported);
[ 1846s] run_test(test_ld_mbuf2) start
[ 1846s] run_test@3202: failed to load bpf code, error=95(Operation not supported);
[ 1846s] run_test(test_ld_mbuf3) start
[ 1846s] run_test@3202: failed to load bpf code, error=95(Operation not supported);
[ 1846s] Test OK
[ 1847s] RTE>>EAL: Detected CPU lcores: 8
[ 1847s] EAL: Detected NUMA nodes: 1
[ 1847s] EAL: Detected shared linkage of DPDK
[ 1847s] EAL: Multi-process socket /tmp/dpdk/bpf_convert_autotest/mp_socket
[ 1847s] EAL: Selected IOVA mode 'VA'
[ 1847s] APP: HPET is not enabled, using TSC as default timer
[ 1847s] RTE>>bpf_convert_autotest
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] test_bpf_match@3292: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter_sanity@3338: filter "ip" doesn't match test data
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "host 172.18.5.4"
[ 1847s] cBPF program (14 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 6
[ 1847s] (002) ld       [26]
[ 1847s] (003) jeq      #0xac120504      jt 12	jf 4
[ 1847s] (004) ld       [30]
[ 1847s] (005) jeq      #0xac120504      jt 12	jf 13
[ 1847s] (006) jeq      #0x806           jt 8	jf 7
[ 1847s] (007) jeq      #0x8035          jt 8	jf 13
[ 1847s] (008) ld       [28]
[ 1847s] (009) jeq      #0xac120504      jt 12	jf 10
[ 1847s] (010) ld       [38]
[ 1847s] (011) jeq      #0xac120504      jt 12	jf 13
[ 1847s] (012) ret      #262144
[ 1847s] (013) ret      #0
[ 1847s] 
[ 1847s] eBPF program (24 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L12
[ 1847s]  L5:	ldw r0, [26]
[ 1847s]  L6:	mov32 r8, #0xac120504
[ 1847s]  L7:	jeq r0, #0x0, L20
[ 1847s]  L8:	ldw r0, [30]
[ 1847s]  L9:	mov32 r8, #0xac120504
[ 1847s]  L10:	jeq r0, #0x0, L20
[ 1847s]  L11:	ja L22
[ 1847s]  L12:	jeq r0, #0x806, L14
[ 1847s]  L13:	jne r0, #0x8035, L22
[ 1847s]  L14:	ldw r0, [28]
[ 1847s]  L15:	mov32 r8, #0xac120504
[ 1847s]  L16:	jeq r0, #0x0, L20
[ 1847s]  L17:	ldw r0, [38]
[ 1847s]  L18:	mov32 r8, #0xac120504
[ 1847s]  L19:	jne r0, #0x0, L22
[ 1847s]  L20:	mov32 r0, #0x40000
[ 1847s]  L21:	exit
[ 1847s]  L22:	mov32 r0, #0x0
[ 1847s]  L23:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "net 192.168.0.0/24"
[ 1847s] cBPF program (18 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 8
[ 1847s] (002) ld       [26]
[ 1847s] (003) and      #0xffffff00
[ 1847s] (004) jeq      #0xc0a80000      jt 16	jf 5
[ 1847s] (005) ld       [30]
[ 1847s] (006) and      #0xffffff00
[ 1847s] (007) jeq      #0xc0a80000      jt 16	jf 17
[ 1847s] (008) jeq      #0x806           jt 10	jf 9
[ 1847s] (009) jeq      #0x8035          jt 10	jf 17
[ 1847s] (010) ld       [28]
[ 1847s] (011) and      #0xffffff00
[ 1847s] (012) jeq      #0xc0a80000      jt 16	jf 13
[ 1847s] (013) ld       [38]
[ 1847s] (014) and      #0xffffff00
[ 1847s] (015) jeq      #0xc0a80000      jt 16	jf 17
[ 1847s] (016) ret      #262144
[ 1847s] (017) ret      #0
[ 1847s] 
[ 1847s] eBPF program (28 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L14
[ 1847s]  L5:	ldw r0, [26]
[ 1847s]  L6:	and32 r0, #0xffffff00
[ 1847s]  L7:	mov32 r8, #0xc0a80000
[ 1847s]  L8:	jeq r0, #0x0, L24
[ 1847s]  L9:	ldw r0, [30]
[ 1847s]  L10:	and32 r0, #0xffffff00
[ 1847s]  L11:	mov32 r8, #0xc0a80000
[ 1847s]  L12:	jeq r0, #0x0, L24
[ 1847s]  L13:	ja L26
[ 1847s]  L14:	jeq r0, #0x806, L16
[ 1847s]  L15:	jne r0, #0x8035, L26
[ 1847s]  L16:	ldw r0, [28]
[ 1847s]  L17:	and32 r0, #0xffffff00
[ 1847s]  L18:	mov32 r8, #0xc0a80000
[ 1847s]  L19:	jeq r0, #0x0, L24
[ 1847s]  L20:	ldw r0, [38]
[ 1847s]  L21:	and32 r0, #0xffffff00
[ 1847s]  L22:	mov32 r8, #0xc0a80000
[ 1847s]  L23:	jne r0, #0x0, L26
[ 1847s]  L24:	mov32 r0, #0x40000
[ 1847s]  L25:	exit
[ 1847s]  L26:	mov32 r0, #0x0
[ 1847s]  L27:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "src net 192.168.0.0/24"
[ 1847s] cBPF program (12 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 5
[ 1847s] (002) ld       [26]
[ 1847s] (003) and      #0xffffff00
[ 1847s] (004) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (005) jeq      #0x806           jt 7	jf 6
[ 1847s] (006) jeq      #0x8035          jt 7	jf 11
[ 1847s] (007) ld       [28]
[ 1847s] (008) and      #0xffffff00
[ 1847s] (009) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (010) ret      #262144
[ 1847s] (011) ret      #0
[ 1847s] 
[ 1847s] eBPF program (20 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L10
[ 1847s]  L5:	ldw r0, [26]
[ 1847s]  L6:	and32 r0, #0xffffff00
[ 1847s]  L7:	mov32 r8, #0xc0a80000
[ 1847s]  L8:	jeq r0, #0x0, L16
[ 1847s]  L9:	ja L18
[ 1847s]  L10:	jeq r0, #0x806, L12
[ 1847s]  L11:	jne r0, #0x8035, L18
[ 1847s]  L12:	ldw r0, [28]
[ 1847s]  L13:	and32 r0, #0xffffff00
[ 1847s]  L14:	mov32 r8, #0xc0a80000
[ 1847s]  L15:	jne r0, #0x0, L18
[ 1847s]  L16:	mov32 r0, #0x40000
[ 1847s]  L17:	exit
[ 1847s]  L18:	mov32 r0, #0x0
[ 1847s]  L19:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "src net 192.168.0.0 mask 255.255.255.0"
[ 1847s] cBPF program (12 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 5
[ 1847s] (002) ld       [26]
[ 1847s] (003) and      #0xffffff00
[ 1847s] (004) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (005) jeq      #0x806           jt 7	jf 6
[ 1847s] (006) jeq      #0x8035          jt 7	jf 11
[ 1847s] (007) ld       [28]
[ 1847s] (008) and      #0xffffff00
[ 1847s] (009) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (010) ret      #262144
[ 1847s] (011) ret      #0
[ 1847s] 
[ 1847s] eBPF prbpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] ogram (20 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L10
[ 1847s]  L5:	ldw r0, [26]
[ 1847s]  L6:	and32 r0, #0xffffff00
[ 1847s]  L7:	mov32 r8, #0xc0a80000
[ 1847s]  L8:	jeq r0, #0x0, L16
[ 1847s]  L9:	ja L18
[ 1847s]  L10:	jeq r0, #0x806, L12
[ 1847s]  L11:	jne r0, #0x8035, L18
[ 1847s]  L12:	ldw r0, [28]
[ 1847s]  L13:	and32 r0, #0xffffff00
[ 1847s]  L14:	mov32 r8, #0xc0a80000
[ 1847s]  L15:	jne r0, #0x0, L18
[ 1847s]  L16:	mov32 r0, #0x40000
[ 1847s]  L17:	exit
[ 1847s]  L18:	mov32 r0, #0x0
[ 1847s]  L19:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "dst net 192.168.0.0/24"
[ 1847s] cBPF program (12 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 5
[ 1847s] (002) ld       [30]
[ 1847s] (003) and      #0xffffff00
[ 1847s] (004) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (005) jeq      #0x806           jt 7	jf 6
[ 1847s] (006) jeq      #0x8035          jt 7	jf 11
[ 1847s] (007) ld       [38]
[ 1847s] (008) and      #0xffffff00
[ 1847s] (009) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (010) ret      #262144
[ 1847s] (011) ret      #0
[ 1847s] 
[ 1847s] eBPF program (20 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L10
[ 1847s]  L5:	ldw r0, [30]
[ 1847s]  L6:	and32 r0, #0xffffff00
[ 1847s]  L7:	mov32 r8, #0xc0a80000
[ 1847s]  L8:	jeq r0, #0x0, L16
[ 1847s]  L9:	ja L18
[ 1847s]  L10:	jeq r0, #0x806, L12
[ 1847s]  L11:	jne r0, #0x8035, L18
[ 1847s]  L12:	ldw r0, [38]
[ 1847s]  L13:	and32 r0, #0xffffff00
[ 1847s]  L14:	mov32 r8, #0xc0a80000
[ 1847s]  L15:	jne r0, #0x0, L18
[ 1847s]  L16:	mov32 r0, #0x40000
[ 1847s]  L17:	exit
[ 1847s]  L18:	mov32 r0, #0x0
[ 1847s]  L19:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "dst net 192.168.0.0 mask 255.255.255.0"
[ 1847s] cBPF program (12 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 5
[ 1847s] (002) ld       [30]
[ 1847s] (003) and      #0xffffff00
[ 1847s] (004) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (005) jeq      #0x806           jt 7	jf 6
[ 1847s] (006) jeq      #0x8035          jt 7	jf 11
[ 1847s] (007) ld       [38]
[ 1847s] (008) and      #0xffffff00
[ 1847s] (009) jeq      #0xc0a80000      jt 10	jf 11
[ 1847s] (010) ret      #262144
[ 1847s] (011) ret      #0
[ 1847s] 
[ 1847s] eBPF program (20 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L10
[ 1847s]  L5:	ldw r0, [30]
[ 1847s]  L6:	and32 r0, #0xffffff00
[ 1847s]  L7:	mov32 r8, #0xc0a80000
[ 1847s]  L8:	jeq r0, #0x0, L16
[ 1847s]  L9:	ja L18
[ 1847s]  L10:	jeq r0, #0x806, L12
[ 1847s]  L11:	jne r0, #0x8035, L18
[ 1847s]  L12:	ldw r0, [38]
[ 1847s]  L13:	and32 r0, #0xffffff00
[ 1847s]  L14:	mov32 r8, #0xc0a80000
[ 1847s]  L15:	jne r0, #0x0, L18
[ 1847s]  L16:	mov32 r0, #0x40000
[ 1847s]  L17:	exit
[ 1847s]  L18:	mov32 r0, #0x0
[ 1847s]  L19:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "port 53"
[ 1847s] cBPF program (24 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 2	jf 10
[ 1847s] (002) ldb      [20]
[ 1847s] (003) jeq      #0x84            jt 6	jf 4
[ 1847s] (004) jeq      #0x6             jt 6	jf 5
[ 1847s] (005) jeq      #0x11            jt 6	jf 23
[ 1847s] (006) ldh      [54]
[ 1847s] (007) jeq      #0x35            jt 22	jf 8
[ 1847s] (008) ldh      [56]
[ 1847s] (009) jeq      #0x35            jt 22	jf 23
[ 1847s] (010) jeq      #0x800           jt 11	jf 23
[ 1847s] (011) ldb      [23]
[ 1847s] (012) jeq      #0x84            jt 15	jf 13
[ 1847s] (013) jeq      #0x6             jt 15	jf 14
[ 1847s] (014) jeq      #0x11            jt 15	jf 23
[ 1847s] (015) ldh      [20]
[ 1847s] (016) jset     #0x1fff          jt 23	jf 17
[ 1847s] (017) ldxb     4*([14]&0xf)
[ 1847s] (018) ldh      [x + 14]
[ 1847s] (019) jeq      #0x35            jt 22	jf 20
[ 1847s] (020) ldh      [x + 16]
[ 1847s] (021) jeq      #0x35            jt 22	jf 23
[ 1847s] (022) ret      #262144
[ 1847s] (023) ret      #0
[ 1847s] 
[ 1847s] eBPF program (35 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x86dd, L14
[ 1847s]  L5:	ldb r0, [20]
[ 1847s]  L6:	jeq r0, #0x84, L9
[ 1847s]  L7:	jeq r0, #0x6, L9
[ 1847s]  L8:	jne r0, #0x11, L33
[ 1847s]  L9:	ldh r0, [54]
[ 1847s]  L10:	jeq r0, #0x35, L31
[ 1847s]  L11:	ldh r0, [56]
[ 1847s]  L12:	jeq r0, #0x35, L31
[ 1847s]  L13:	ja L33
[ 1847s]  L14:	jne r0, #0x800, L33
[ 1847s]  L15:	ldb r0, [23]
[ 1847s]  L16:	jeq r0, #0x84, L19
[ 1847s]  L17:	jeq r0, #0x6, L19
[ 1847s]  L18:	jne r0, #0x11, L33
[ 1847s]  L19:	ldh r0, [20]
[ 1847s]  L20:	jset r0, #0x1fff, L33
[ 1847s]  L21:	mov r8, r0
[ 1847s]  L22:	ldb r0, [14]
[ 1847s]  L23:	and32 r0, #0xf
[ 1847s]  L24:	lsh32 r0, #0x2
[ 1847s]  L25:	mov r7, r0
[ 1847s]  L26:	mov r0, r8
[ 1847s]  L27:	ldh r0, [r7 + 14]
[ 1847s]  L28:	jeq r0, #0x35, L31
[ 1847s]  L29:	ldh r0, [r7 + 16]
[ 1847s]  L30:	jne r0, #0x35, L33
[ 1847s]  L31:	mov32 r0, #0x40000
[ 1847s]  L32:	exit
[ 1847s]  L33:	mov32 r0, #0x0
[ 1847s]  L34:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf cobpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] de, error=95(Operation not supported);
[ 1847s] test_bpf_filter "host 192.0.2.1 and not (port 80 or port 25)"
[ 1847s] cBPF program (27 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 19
[ 1847s] (002) ld       [26]
[ 1847s] (003) jeq      #0xc0000201      jt 6	jf 4
[ 1847s] (004) ld       [30]
[ 1847s] (005) jeq      #0xc0000201      jt 6	jf 26
[ 1847s] (006) ldb      [23]
[ 1847s] (007) jeq      #0x84            jt 10	jf 8
[ 1847s] (008) jeq      #0x6             jt 10	jf 9
[ 1847s] (009) jeq      #0x11            jt 10	jf 25
[ 1847s] (010) ldh      [20]
[ 1847s] (011) jset     #0x1fff          jt 25	jf 12
[ 1847s] (012) ldxb     4*([14]&0xf)
[ 1847s] (013) ldh      [x + 14]
[ 1847s] (014) jeq      #0x50            jt 26	jf 15
[ 1847s] (015) jeq      #0x19            jt 26	jf 16
[ 1847s] (016) ldh      [x + 16]
[ 1847s] (017) jeq      #0x50            jt 26	jf 18
[ 1847s] (018) jeq      #0x19            jt 26	jf 25
[ 1847s] (019) jeq      #0x806           jt 21	jf 20
[ 1847s] (020) jeq      #0x8035          jt 21	jf 26
[ 1847s] (021) ld       [28]
[ 1847s] (022) jeq      #0xc0000201      jt 25	jf 23
[ 1847s] (023) ld       [38]
[ 1847s] (024) jeq      #0xc0000201      jt 25	jf 26
[ 1847s] (025) ret      #262144
[ 1847s] (026) ret      #0
[ 1847s] 
[ 1847s] eBPF program (42 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L30
[ 1847s]  L5:	ldw r0, [26]
[ 1847s]  L6:	mov32 r8, #0xc0000201
[ 1847s]  L7:	jeq r0, #0x0, L11
[ 1847s]  L8:	ldw r0, [30]
[ 1847s]  L9:	mov32 r8, #0xc0000201
[ 1847s]  L10:	jne r0, #0x0, L40
[ 1847s]  L11:	ldb r0, [23]
[ 1847s]  L12:	jeq r0, #0x84, L15
[ 1847s]  L13:	jeq r0, #0x6, L15
[ 1847s]  L14:	jne r0, #0x11, L38
[ 1847s]  L15:	ldh r0, [20]
[ 1847s]  L16:	jset r0, #0x1fff, L38
[ 1847s]  L17:	mov r8, r0
[ 1847s]  L18:	ldb r0, [14]
[ 1847s]  L19:	and32 r0, #0xf
[ 1847s]  L20:	lsh32 r0, #0x2
[ 1847s]  L21:	mov r7, r0
[ 1847s]  L22:	mov r0, r8
[ 1847s]  L23:	ldh r0, [r7 + 14]
[ 1847s]  L24:	jeq r0, #0x50, L40
[ 1847s]  L25:	jeq r0, #0x19, L40
[ 1847s]  L26:	ldh r0, [r7 + 16]
[ 1847s]  L27:	jeq r0, #0x50, L40
[ 1847s]  L28:	jeq r0, #0x19, L40
[ 1847s]  L29:	ja L38
[ 1847s]  L30:	jeq r0, #0x806, L32
[ 1847s]  L31:	jne r0, #0x8035, L40
[ 1847s]  L32:	ldw r0, [28]
[ 1847s]  L33:	mov32 r8, #0xc0000201
[ 1847s]  L34:	jeq r0, #0x0, L38
[ 1847s]  L35:	ldw r0, [38]
[ 1847s]  L36:	mov32 r8, #0xc0000201
[ 1847s]  L37:	jne r0, #0x0, L40
[ 1847s]  L38:	mov32 r0, #0x40000
[ 1847s]  L39:	exit
[ 1847s]  L40:	mov32 r0, #0x0
[ 1847s]  L41:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "host 2001:4b98:db0::8 and not port 80 and not port 25"
[ 1847s] cBPF program (30 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 2	jf 29
[ 1847s] (002) ld       [22]
[ 1847s] (003) jeq      #0x20014b98      jt 4	jf 10
[ 1847s] (004) ld       [26]
[ 1847s] (005) jeq      #0xdb00000       jt 6	jf 10
[ 1847s] (006) ld       [30]
[ 1847s] (007) jeq      #0x0             jt 8	jf 10
[ 1847s] (008) ld       [34]
[ 1847s] (009) jeq      #0x8             jt 18	jf 10
[ 1847s] (010) ld       [38]
[ 1847s] (011) jeq      #0x20014b98      jt 12	jf 29
[ 1847s] (012) ld       [42]
[ 1847s] (013) jeq      #0xdb00000       jt 14	jf 29
[ 1847s] (014) ld       [46]
[ 1847s] (015) jeq      #0x0             jt 16	jf 29
[ 1847s] (016) ld       [50]
[ 1847s] (017) jeq      #0x8             jt 18	jf 29
[ 1847s] (018) ldb      [20]
[ 1847s] (019) jeq      #0x84            jt 22	jf 20
[ 1847s] (020) jeq      #0x6             jt 22	jf 21
[ 1847s] (021) jeq      #0x11            jt 22	jf 28
[ 1847s] (022) ldh      [54]
[ 1847s] (023) jeq      #0x50            jt 29	jf 24
[ 1847s] (024) jeq      #0x19            jt 29	jf 25
[ 1847s] (025) ldh      [56]
[ 1847s] (026) jeq      #0x50            jt 29	jf 27
[ 1847s] (027) jeq      #0x19            jt 29	jf 28
[ 1847s] (028) ret      #262144
[ 1847s] (029) ret      #0
[ 1847s] 
[ 1847s] eBPF program (35 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x86dd, L33
[ 1847s]  L5:	ldw r0, [22]
[ 1847s]  L6:	jne r0, #0x20014b98, L13
[ 1847s]  L7:	ldw r0, [26]
[ 1847s]  L8:	jne r0, #0xdb00000, L13
[ 1847s]  L9:	ldw r0, [30]
[ 1847s]  L10:	jne r0, #0x0, L13
[ 1847s]  L11:	ldw r0, [34]
[ 1847s]  L12:	jeq r0, #0x8, L21
[ 1847s]  L13:	ldw r0, [38]
[ 1847s]  L14:	jne r0, #0x20014b98, L33
[ 1847s]  L15:	ldw r0, [42]
[ 1847s]  L16:	jne r0, #0xdb00000, L33
[ 1847s]  L17:	ldw r0, [46]
[ 1847s]  L18:	jne r0, #0x0, L33
[ 1847s]  L19:	ldw r0, [50]
[ 1847s]  L20:	jne r0, #0x8, L33
[ 1847s]  L21:	ldb r0, [20]
[ 1847s]  L22:	jeq r0, #0x84, L25
[ 1847s]  L23:	jeq r0, #0x6, L25
[ 1847s]  L24:	jne r0, #0x11, L31
[ 1847s]  L25:	ldh r0, [54]
[ 1847s]  L26:	jeq r0, #0x50, L33
[ 1847s]  L27:	jeq r0, #0x19, L33
[ 1847s]  L28:	ldh r0, [56]
[ 1847s]  L29:	jeq r0, #0x50, L33
[ 1847s]  L30:	jeq r0, #0x19, L33
[ 1847s]  L31:	mov32 r0, #0x40000
[ 1847s]  L32:	exit
[ 1847s]  L33:	mov32 r0, #0x0
[ 1847s]  L34:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "port not 53 and not arp"
[ 1847s] cBPF program (25 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s]          jt 2	jf 10
[ 1847s] (002) ldb      [20]
[ 1847s] (003) jeq      #0x84            jt 6	jf 4
[ 1847s] (004) jeq      #0x6             jt 6	jf 5
[ 1847s] (005) jeq      #0x11            jt 6	jf 24
[ 1847s] (006) ldh      [54]
[ 1847s] (007) jeq      #0x35            jt 23	jf 8
[ 1847s] (008) ldh      [56]
[ 1847s] (009) jeq      #0x35            jt 23	jf 24
[ 1847s] (010) jeq      #0x800           jt 11	jf 22
[ 1847s] (011) ldb      [23]
[ 1847s] (012) jeq      #0x84            jt 15	jf 13
[ 1847s] (013) jeq      #0x6             jt 15	jf 14
[ 1847s] (014) jeq      #0x11            jt 15	jf 24
[ 1847s] (015) ldh      [20]
[ 1847s] (016) jset     #0x1fff          jt 24	jf 17
[ 1847s] (017) ldxb     4*([14]&0xf)
[ 1847s] (018) ldh      [x + 14]
[ 1847s] (019) jeq      #0x35            jt 23	jf 20
[ 1847s] (020) ldh      [x + 16]
[ 1847s] (021) jeq      #0x35            jt 23	jf 24
[ 1847s] (022) jeq      #0x806           jt 23	jf 24
[ 1847s] (023) ret      #0
[ 1847s] (024) ret      #262144
[ 1847s] 
[ 1847s] eBPF program (37 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x86dd, L14
[ 1847s]  L5:	ldb r0, [20]
[ 1847s]  L6:	jeq r0, #0x84, L9
[ 1847s]  L7:	jeq r0, #0x6, L9
[ 1847s]  L8:	jne r0, #0x11, L35
[ 1847s]  L9:	ldh r0, [54]
[ 1847s]  L10:	jeq r0, #0x35, L33
[ 1847s]  L11:	ldh r0, [56]
[ 1847s]  L12:	jeq r0, #0x35, L33
[ 1847s]  L13:	ja L35
[ 1847s]  L14:	jne r0, #0x800, L32
[ 1847s]  L15:	ldb r0, [23]
[ 1847s]  L16:	jeq r0, #0x84, L19
[ 1847s]  L17:	jeq r0, #0x6, L19
[ 1847s]  L18:	jne r0, #0x11, L35
[ 1847s]  L19:	ldh r0, [20]
[ 1847s]  L20:	jset r0, #0x1fff, L35
[ 1847s]  L21:	mov r8, r0
[ 1847s]  L22:	ldb r0, [14]
[ 1847s]  L23:	and32 r0, #0xf
[ 1847s]  L24:	lsh32 r0, #0x2
[ 1847s]  L25:	mov r7, r0
[ 1847s]  L26:	mov r0, r8
[ 1847s]  L27:	ldh r0, [r7 + 14]
[ 1847s]  L28:	jeq r0, #0x35, L33
[ 1847s]  L29:	ldh r0, [r7 + 16]
[ 1847s]  L30:	jeq r0, #0x35, L33
[ 1847s]  L31:	ja L35
[ 1847s]  L32:	jne r0, #0x806, L35
[ 1847s]  L33:	mov32 r0, #0x0
[ 1847s]  L34:	exit
[ 1847s]  L35:	mov32 r0, #0x40000
[ 1847s]  L36:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)"
[ 1847s] cBPF program (15 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 14
[ 1847s] (002) ldb      [23]
[ 1847s] (003) jeq      #0x6             jt 4	jf 14
[ 1847s] (004) ldh      [20]
[ 1847s] (005) jset     #0x1fff          jt 14	jf 6
[ 1847s] (006) ldxb     4*([14]&0xf)
[ 1847s] (007) ldh      [x + 14]
[ 1847s] (008) jgt      #0x5dc           jt 9	jf 10
[ 1847s] (009) jge      #0x60e           jt 10	jf 13
[ 1847s] (010) ldh      [x + 16]
[ 1847s] (011) jgt      #0x5dc           jt 12	jf 14
[ 1847s] (012) jge      #0x60e           jt 14	jf 13
[ 1847s] (013) ret      #262144
[ 1847s] (014) ret      #0
[ 1847s] 
[ 1847s] eBPF program (28 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L26
[ 1847s]  L5:	ldb r0, [23]
[ 1847s]  L6:	jne r0, #0x6, L26
[ 1847s]  L7:	ldh r0, [20]
[ 1847s]  L8:	jset r0, #0x1fff, L26
[ 1847s]  L9:	mov r8, r0
[ 1847s]  L10:	ldb r0, [14]
[ 1847s]  L11:	and32 r0, #0xf
[ 1847s]  L12:	lsh32 r0, #0x2
[ 1847s]  L13:	mov r7, r0
[ 1847s]  L14:	mov r0, r8
[ 1847s]  L15:	ldh r0, [r7 + 14]
[ 1847s]  L16:	jgt r0, #0x5dc, L18
[ 1847s]  L17:	ja L20
[ 1847s]  L18:	jge r0, #0x60e, L20
[ 1847s]  L19:	ja L24
[ 1847s]  L20:	ldh r0, [r7 + 16]
[ 1847s]  L21:	jgt r0, #0x5dc, L23
[ 1847s]  L22:	ja L26
[ 1847s]  L23:	jge r0, #0x60e, L26
[ 1847s]  L24:	mov32 r0, #0x40000
[ 1847s]  L25:	exit
[ 1847s]  L26:	mov32 r0, #0x0
[ 1847s]  L27:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "ether proto 0x888e"
[ 1847s] cBPF program (4 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x888e          jt 2	jf 3
[ 1847s] (002) ret      #262144
[ 1847s] (003) ret      #0
[ 1847s] 
[ 1847s] eBPF program (9 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x888e, L7
[ 1847s]  L5:	mov32 r0, #0x40000
[ 1847s]  L6:	exit
[ 1847s]  L7:	mov32 r0, #0x0
[ 1847s]  L8:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "ether[0] & 1 = 0 and ip[16] >= 224"
[ 1847s] cBPF program (8 insns)
[ 1847s] (000) ldb      [0]
[ 1847s] (001) jset     #0x1             jt 7	jf 2
[ 1847s] (002) ldh      [12]
[ 1847s] (003) jeq      #0x800           jt 4	jf 7
[ 1847s] (004) ldb      [30]
[ 1847s] (005) jge      #0xe0            jt 6	jf 7
[ 1847s] (006) ret      #262144
[ 1847s] (007) ret      #0
[ 1847s] 
[ 1847s] eBPF program (14 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldb r0, [0]
[ 1847s]  L4:	jset r0, #0x1, L12
[ 1847s]  L5:	ldh r0, [12]
[ 1847s]  L6:	jne r0, #0x800, L12
[ 1847s]  L7:	ldb r0, [30]
[ 1847s]  L8:	jge r0, #0xe0, L10
[ 1847s]  L9:	ja L12
[ 1847s]  L10:	mov32 r0, #0x40000
[ 1847s]  L11:	exit
[ 1847s]  L12:	mov32 r0, #0x0
[ 1847s]  L13:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "icmp[icmptype] != icmp-echo and icmp[icmptype] != icmp-echoreplybpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] "
[ 1847s] cBPF program (12 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 11
[ 1847s] (002) ldb      [23]
[ 1847s] (003) jeq      #0x1             jt 4	jf 11
[ 1847s] (004) ldh      [20]
[ 1847s] (005) jset     #0x1fff          jt 11	jf 6
[ 1847s] (006) ldxb     4*([14]&0xf)
[ 1847s] (007) ldb      [x + 14]
[ 1847s] (008) jeq      #0x8             jt 11	jf 9
[ 1847s] (009) jeq      #0x0             jt 11	jf 10
[ 1847s] (010) ret      #262144
[ 1847s] (011) ret      #0
[ 1847s] 
[ 1847s] eBPF program (22 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L20
[ 1847s]  L5:	ldb r0, [23]
[ 1847s]  L6:	jne r0, #0x1, L20
[ 1847s]  L7:	ldh r0, [20]
[ 1847s]  L8:	jset r0, #0x1fff, L20
[ 1847s]  L9:	mov r8, r0
[ 1847s]  L10:	ldb r0, [14]
[ 1847s]  L11:	and32 r0, #0xf
[ 1847s]  L12:	lsh32 r0, #0x2
[ 1847s]  L13:	mov r7, r0
[ 1847s]  L14:	mov r0, r8
[ 1847s]  L15:	ldb r0, [r0 + 14]
[ 1847s]  L16:	jeq r0, #0x8, L20
[ 1847s]  L17:	jeq r0, #0x0, L20
[ 1847s]  L18:	mov32 r0, #0x40000
[ 1847s]  L19:	exit
[ 1847s]  L20:	mov32 r0, #0x0
[ 1847s]  L21:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "tcp[tcpflags] & (tcp-syn|tcp-fin) != 0 and not src and dst net 127.0.0.1"
[ 1847s] cBPF program (15 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 14
[ 1847s] (002) ldb      [23]
[ 1847s] (003) jeq      #0x6             jt 4	jf 14
[ 1847s] (004) ldh      [20]
[ 1847s] (005) jset     #0x1fff          jt 14	jf 6
[ 1847s] (006) ldxb     4*([14]&0xf)
[ 1847s] (007) ldb      [x + 27]
[ 1847s] (008) jset     #0x3             jt 9	jf 14
[ 1847s] (009) ld       [26]
[ 1847s] (010) jeq      #0x7f000001      jt 11	jf 13
[ 1847s] (011) ld       [30]
[ 1847s] (012) jeq      #0x7f000001      jt 14	jf 13
[ 1847s] (013) ret      #262144
[ 1847s] (014) ret      #0
[ 1847s] 
[ 1847s] eBPF program (26 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L24
[ 1847s]  L5:	ldb r0, [23]
[ 1847s]  L6:	jne r0, #0x6, L24
[ 1847s]  L7:	ldh r0, [20]
[ 1847s]  L8:	jset r0, #0x1fff, L24
[ 1847s]  L9:	mov r8, r0
[ 1847s]  L10:	ldb r0, [14]
[ 1847s]  L11:	and32 r0, #0xf
[ 1847s]  L12:	lsh32 r0, #0x2
[ 1847s]  L13:	mov r7, r0
[ 1847s]  L14:	mov r0, r8
[ 1847s]  L15:	ldb r0, [r0 + 27]
[ 1847s]  L16:	jset r0, #0x3, L18
[ 1847s]  L17:	ja L24
[ 1847s]  L18:	ldw r0, [26]
[ 1847s]  L19:	jne r0, #0x7f000001, L22
[ 1847s]  L20:	ldw r0, [30]
[ 1847s]  L21:	jeq r0, #0x7f000001, L24
[ 1847s]  L22:	mov32 r0, #0x40000
[ 1847s]  L23:	exit
[ 1847s]  L24:	mov32 r0, #0x0
[ 1847s]  L25:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "not ether dst 01:80:c2:00:00:0e"
[ 1847s] cBPF program (6 insns)
[ 1847s] (000) ld       [2]
[ 1847s] (001) jeq      #0xc200000e      jt 2	jf 5
[ 1847s] (002) ldh      [0]
[ 1847s] (003) jeq      #0x180           jt 4	jf 5
[ 1847s] (004) ret      #0
[ 1847s] (005) ret      #262144
[ 1847s] 
[ 1847s] eBPF program (12 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldw r0, [2]
[ 1847s]  L4:	mov32 r8, #0xc200000e
[ 1847s]  L5:	jne r0, #0x0, L10
[ 1847s]  L6:	ldh r0, [0]
[ 1847s]  L7:	jne r0, #0x180, L10
[ 1847s]  L8:	mov32 r0, #0x0
[ 1847s]  L9:	exit
[ 1847s]  L10:	mov32 r0, #0x40000
[ 1847s]  L11:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "not broadcast and not multicast"
[ 1847s] cBPF program (8 insns)
[ 1847s] (000) ld       [2]
[ 1847s] (001) jeq      #0xffffffff      jt 2	jf 4
[ 1847s] (002) ldh      [0]
[ 1847s] (003) jeq      #0xffff          jt 6	jf 4
[ 1847s] (004) ldb      [0]
[ 1847s] (005) jset     #0x1             jt 6	jf 7
[ 1847s] (006) ret      #0
[ 1847s] (007) ret      #262144
[ 1847s] 
[ 1847s] eBPF program (15 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldw r0, [2]
[ 1847s]  L4:	mov32 r8, #0xffffffff
[ 1847s]  L5:	jne r0, #0x0, L8
[ 1847s]  L6:	ldh r0, [0]
[ 1847s]  L7:	jeq r0, #0xffff, L11
[ 1847s]  L8:	ldb r0, [0]
[ 1847s]  L9:	jset r0, #0x1, L11
[ 1847s]  L10:	ja L13
[ 1847s]  L11:	mov32 r0, #0x0
[ 1847s]  L12:	exit
[ 1847s]  L13:	mov32 r0, #0x40000
[ 1847s]  L14:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "dst host ff02::1"
[ 1847s] cBPF program (12 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 2	jf 11
[ 1847s] (002) ld       [38]
[ 1847s] (003) jeq      #0xff020000      jt 4	jf 11
[ 1847s] (004) ld       [42]
[ 1847s] (005) jeq      #0x0             jt 6	jf 11
[ 1847s] (006) ld       [46]
[ 1847s] (007) jeq      #0x0             jt 8	jf 11
[ 1847s] (008) ld       [50]
[ 1847s] (009) jeq      #0x1             jt 10	jf 11
[ 1847s] (010) ret      #262144
[ 1847s] (011) ret      #0
[ 1847s] 
[ 1847s] eBPF program (18 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x86dd, L16
[ 1847s]  L5:	ldw r0, [38]
[ 1847s]  L6:	mov32 r8, #0xff020000
[ 1847s]  L7:	jne r0, #0x0, L16
[ 1847s]  L8:	ldw r0, [42]
[ 1847s]  L9:	jne r0, #0x0, L16
[ 1847s]  L10:	ldw r0, [46]
[ 1847s]  L11:	jne r0, #0x0, L16
[ 1847s]  L12:	ldw r0, [50]
[ 1847s]  L13:	jne r0, #0x1, bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] bpf_validate: unsupported argument type
[ 1847s] L16
[ 1847s]  L14:	mov32 r0, #0x40000
[ 1847s]  L15:	exit
[ 1847s]  L16:	mov32 r0, #0x0
[ 1847s]  L17:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "port 80 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420"
[ 1847s] cBPF program (22 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 21	jf 2
[ 1847s] (002) jeq      #0x800           jt 3	jf 21
[ 1847s] (003) ldb      [23]
[ 1847s] (004) jeq      #0x84            jt 21	jf 5
[ 1847s] (005) jeq      #0x6             jt 6	jf 21
[ 1847s] (006) ldh      [20]
[ 1847s] (007) jset     #0x1fff          jt 21	jf 8
[ 1847s] (008) ldxb     4*([14]&0xf)
[ 1847s] (009) ldh      [x + 14]
[ 1847s] (010) jeq      #0x50            jt 13	jf 11
[ 1847s] (011) ldh      [x + 16]
[ 1847s] (012) jeq      #0x50            jt 13	jf 21
[ 1847s] (013) ldb      [x + 26]
[ 1847s] (014) and      #0xf0
[ 1847s] (015) rsh      #2
[ 1847s] (016) add      x
[ 1847s] (017) tax      
[ 1847s] (018) ld       [x + 14]
[ 1847s] (019) jeq      #0x47455420      jt 20	jf 21
[ 1847s] (020) ret      #262144
[ 1847s] (021) ret      #0
[ 1847s] 
[ 1847s] eBPF program (32 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jeq r0, #0x86dd, L30
[ 1847s]  L5:	jne r0, #0x800, L30
[ 1847s]  L6:	ldb r0, [23]
[ 1847s]  L7:	jeq r0, #0x84, L30
[ 1847s]  L8:	jne r0, #0x6, L30
[ 1847s]  L9:	ldh r0, [20]
[ 1847s]  L10:	jset r0, #0x1fff, L30
[ 1847s]  L11:	mov r8, r0
[ 1847s]  L12:	ldb r0, [14]
[ 1847s]  L13:	and32 r0, #0xf
[ 1847s]  L14:	lsh32 r0, #0x2
[ 1847s]  L15:	mov r7, r0
[ 1847s]  L16:	mov r0, r8
[ 1847s]  L17:	ldh r0, [r7 + 14]
[ 1847s]  L18:	jeq r0, #0x50, L21
[ 1847s]  L19:	ldh r0, [r7 + 16]
[ 1847s]  L20:	jne r0, #0x50, L30
[ 1847s]  L21:	ldb r0, [r0 + 26]
[ 1847s]  L22:	and32 r0, #0xf0
[ 1847s]  L23:	rsh32 r0, #0x2
[ 1847s]  L24:	add32 r0, r7
[ 1847s]  L25:	mov r7, r0
[ 1847s]  L26:	ldw r0, [r0 + 14]
[ 1847s]  L27:	jne r0, #0x47455420, L30
[ 1847s]  L28:	mov32 r0, #0x40000
[ 1847s]  L29:	exit
[ 1847s]  L30:	mov32 r0, #0x0
[ 1847s]  L31:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "dst port 135 and tcp port 135 and ip[2:2]==48"
[ 1847s] cBPF program (15 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 14	jf 2
[ 1847s] (002) jeq      #0x800           jt 3	jf 14
[ 1847s] (003) ldb      [23]
[ 1847s] (004) jeq      #0x84            jt 14	jf 5
[ 1847s] (005) jeq      #0x6             jt 6	jf 14
[ 1847s] (006) ldh      [20]
[ 1847s] (007) jset     #0x1fff          jt 14	jf 8
[ 1847s] (008) ldxb     4*([14]&0xf)
[ 1847s] (009) ldh      [x + 16]
[ 1847s] (010) jeq      #0x87            jt 11	jf 14
[ 1847s] (011) ldh      [16]
[ 1847s] (012) jeq      #0x30            jt 13	jf 14
[ 1847s] (013) ret      #262144
[ 1847s] (014) ret      #0
[ 1847s] 
[ 1847s] eBPF program (25 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jeq r0, #0x86dd, L23
[ 1847s]  L5:	jne r0, #0x800, L23
[ 1847s]  L6:	ldb r0, [23]
[ 1847s]  L7:	jeq r0, #0x84, L23
[ 1847s]  L8:	jne r0, #0x6, L23
[ 1847s]  L9:	ldh r0, [20]
[ 1847s]  L10:	jset r0, #0x1fff, L23
[ 1847s]  L11:	mov r8, r0
[ 1847s]  L12:	ldb r0, [14]
[ 1847s]  L13:	and32 r0, #0xf
[ 1847s]  L14:	lsh32 r0, #0x2
[ 1847s]  L15:	mov r7, r0
[ 1847s]  L16:	mov r0, r8
[ 1847s]  L17:	ldh r0, [r7 + 16]
[ 1847s]  L18:	jne r0, #0x87, L23
[ 1847s]  L19:	ldh r0, [16]
[ 1847s]  L20:	jne r0, #0x30, L23
[ 1847s]  L21:	mov32 r0, #0x40000
[ 1847s]  L22:	exit
[ 1847s]  L23:	mov32 r0, #0x0
[ 1847s]  L24:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "icmp[icmptype]==icmp-echo and ip[2:2]==92 and icmp[8:4]==0xAAAAAAAA"
[ 1847s] cBPF program (15 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x800           jt 2	jf 14
[ 1847s] (002) ldb      [23]
[ 1847s] (003) jeq      #0x1             jt 4	jf 14
[ 1847s] (004) ldh      [20]
[ 1847s] (005) jset     #0x1fff          jt 14	jf 6
[ 1847s] (006) ldxb     4*([14]&0xf)
[ 1847s] (007) ldb      [x + 14]
[ 1847s] (008) jeq      #0x8             jt 9	jf 14
[ 1847s] (009) ldh      [16]
[ 1847s] (010) jeq      #0x5c            jt 11	jf 14
[ 1847s] (011) ld       [x + 22]
[ 1847s] (012) jeq      #0xaaaaaaaa      jt 13	jf 14
[ 1847s] (013) ret      #262144
[ 1847s] (014) ret      #0
[ 1847s] 
[ 1847s] eBPF program (26 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jne r0, #0x800, L24
[ 1847s]  L5:	ldb r0, [23]
[ 1847s]  L6:	jne r0, #0x1, L24
[ 1847s]  L7:	ldh r0, [20]
[ 1847s]  L8:	jset r0, #0x1fff, L24
[ 1847s]  L9:	mov r8, r0
[ 1847s]  L10:	ldb r0, [14]
[ 1847s]  L11:	and32 r0, #0xf
[ 1847s]  L12:	lsh32 r0, #0x2
[ 1847s]  L13:	mov r7, r0
[ 1847s]  L14:	mov r0, r8
[ 1847s]  L15:	ldb r0, [r0 + 14]
[ 1847s]  L16:	jne r0, #0x8, L24
[ 1847s]  L17:	ldh r0, [16]
[ 1847s]  L18:	jne r0, #0x5c, L24
[ 1847s]  L19:	ldw r0, [r0 + 22]
[ 1847s]  L20:	mov32 r8, #0xaaaaaaaa
[ 1847s]  L21:	jne r0, #0x0, L24
[ 1847s]  L22:	mov32 r0, #0x40000
[ 1847s]  L23:	exit
[ 1847s]  L24:	mov32 r0, #0x0
[ 1847s]  L25:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "dst port 135 or dst port 445 or dst portbpf_validate: unsupported argument type
[ 1847s]  1433 and tcp[tcpflags] & (tcp-syn) != 0 and tcp[tcpflags] & (tcp-ack) = 0 and src net 192.168.0.0/24"
[ 1847s] cBPF program (21 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 20	jf 2
[ 1847s] (002) jeq      #0x800           jt 3	jf 20
[ 1847s] (003) ldb      [23]
[ 1847s] (004) jeq      #0x84            jt 20	jf 5
[ 1847s] (005) jeq      #0x6             jt 6	jf 20
[ 1847s] (006) ldh      [20]
[ 1847s] (007) jset     #0x1fff          jt 20	jf 8
[ 1847s] (008) ldxb     4*([14]&0xf)
[ 1847s] (009) ldh      [x + 16]
[ 1847s] (010) jeq      #0x87            jt 13	jf 11
[ 1847s] (011) jeq      #0x1bd           jt 13	jf 12
[ 1847s] (012) jeq      #0x599           jt 13	jf 20
[ 1847s] (013) ldb      [x + 27]
[ 1847s] (014) jset     #0x2             jt 15	jf 20
[ 1847s] (015) jset     #0x10            jt 20	jf 16
[ 1847s] (016) ld       [26]
[ 1847s] (017) and      #0xffffff00
[ 1847s] (018) jeq      #0xc0a80000      jt 19	jf 20
[ 1847s] (019) ret      #262144
[ 1847s] (020) ret      #0
[ 1847s] 
[ 1847s] eBPF program (33 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jeq r0, #0x86dd, L31
[ 1847s]  L5:	jne r0, #0x800, L31
[ 1847s]  L6:	ldb r0, [23]
[ 1847s]  L7:	jeq r0, #0x84, L31
[ 1847s]  L8:	jne r0, #0x6, L31
[ 1847s]  L9:	ldh r0, [20]
[ 1847s]  L10:	jset r0, #0x1fff, L31
[ 1847s]  L11:	mov r8, r0
[ 1847s]  L12:	ldb r0, [14]
[ 1847s]  L13:	and32 r0, #0xf
[ 1847s]  L14:	lsh32 r0, #0x2
[ 1847s]  L15:	mov r7, r0
[ 1847s]  L16:	mov r0, r8
[ 1847s]  L17:	ldh r0, [r7 + 16]
[ 1847s]  L18:	jeq r0, #0x87, L21
[ 1847s]  L19:	jeq r0, #0x1bd, L21
[ 1847s]  L20:	jne r0, #0x599, L31
[ 1847s]  L21:	ldb r0, [r0 + 27]
[ 1847s]  L22:	jset r0, #0x2, L24
[ 1847s]  L23:	ja L31
[ 1847s]  L24:	jset r0, #0x10, L31
[ 1847s]  L25:	ldw r0, [26]
[ 1847s]  L26:	and32 r0, #0xffffff00
[ 1847s]  L27:	mov32 r8, #0xc0a80000
[ 1847s]  L28:	jne r0, #0x0, L31
[ 1847s]  L29:	mov32 r0, #0x40000
[ 1847s]  L30:	exit
[ 1847s]  L31:	mov32 r0, #0x0
[ 1847s]  L32:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "tcp src port 443 and (tcp[((tcp[12] & 0xF0) >> 4 ) * 4] = 0x18) and (tcp[((tcp[12] & 0xF0) >> 4 ) * 4 + 1] = 0x03) and (tcp[((tcp[12] & 0xF0) >> 4 ) * 4 + 2] < 0x04) and ((ip[2:2] - 4 * (ip[0] & 0x0F) - 4 * ((tcp[12] & 0xF0) >> 4) > 69))"
[ 1847s] cBPF program (62 insns)
[ 1847s] (000) ldh      [12]
[ 1847s] (001) jeq      #0x86dd          jt 61	jf 2
[ 1847s] (002) jeq      #0x800           jt 3	jf 61
[ 1847s] (003) ldb      [23]
[ 1847s] (004) jeq      #0x6             jt 5	jf 61
[ 1847s] (005) ldh      [20]
[ 1847s] (006) jset     #0x1fff          jt 61	jf 7
[ 1847s] (007) ldxb     4*([14]&0xf)
[ 1847s] (008) ldh      [x + 14]
[ 1847s] (009) jeq      #0x1bb           jt 10	jf 61
[ 1847s] (010) ldb      [x + 26]
[ 1847s] (011) and      #0xf0
[ 1847s] (012) rsh      #4
[ 1847s] (013) mul      #4
[ 1847s] (014) add      x
[ 1847s] (015) tax      
[ 1847s] (016) ldb      [x + 14]
[ 1847s] (017) jeq      #0x18            jt 18	jf 61
[ 1847s] (018) ldxb     4*([14]&0xf)
[ 1847s] (019) ldb      [x + 26]
[ 1847s] (020) and      #0xf0
[ 1847s] (021) rsh      #4
[ 1847s] (022) mul      #4
[ 1847s] (023) add      #1
[ 1847s] (024) add      x
[ 1847s] (025) tax      
[ 1847s] (026) ldb      [x + 14]
[ 1847s] (027) jeq      #0x3             jt 28	jf 61
[ 1847s] (028) ldxb     4*([14]&0xf)
[ 1847s] (029) ldb      [x + 26]
[ 1847s] (030) and      #0xf0
[ 1847s] (031) rsh      #4
[ 1847s] (032) mul      #4
[ 1847s] (033) add      #2
[ 1847s] (034) add      x
[ 1847s] (035) tax      
[ 1847s] (036) ldb      [x + 14]
[ 1847s] (037) jge      #0x4             jt 61	jf 38
[ 1847s] (038) ldh      [16]
[ 1847s] (039) st       M[5]
[ 1847s] (040) ldb      [14]
[ 1847s] (041) and      #0xf
[ 1847s] (042) tax      
[ 1847s] (043) ld       #0x4
[ 1847s] (044) mul      x
[ 1847s] (045) tax      
[ 1847s] (046) ld       M[5]
[ 1847s] (047) sub      x
[ 1847s] (048) st       M[9]
[ 1847s] (049) ldxb     4*([14]&0xf)
[ 1847s] (050) ldb      [x + 26]
[ 1847s] (051) and      #0xf0
[ 1847s] (052) rsh      #4
[ 1847s] (053) tax      
[ 1847s] (054) ld       #0x4
[ 1847s] (055) mul      x
[ 1847s] (056) tax      
[ 1847s] (057) ld       M[9]
[ 1847s] (058) sub      x
[ 1847s] (059) jgt      #0x45            jt 60	jf 61
[ 1847s] (060) ret      #262144
[ 1847s] (061) ret      #0
[ 1847s] 
[ 1847s] eBPF program (88 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldh r0, [12]
[ 1847s]  L4:	jeq r0, #0x86dd, L86
[ 1847s]  L5:	jne r0, #0x800, L86
[ 1847s]  L6:	ldb r0, [23]
[ 1847s]  L7:	jne r0, #0x6, L86
[ 1847s]  L8:	ldh r0, [20]
[ 1847s]  L9:	jset r0, #0x1fff, L86
[ 1847s]  L10:	mov r8, r0
[ 1847s]  L11:	ldb r0, [14]
[ 1847s]  L12:	and32 r0, #0xf
[ 1847s]  L13:	lsh32 r0, #0x2
[ 1847s]  L14:	mov r7, r0
[ 1847s]  L15:	mov r0, r8
[ 1847s]  L16:	ldh r0, [r7 + 14]
[ 1847s]  L17:	jne r0, #0x1bb, L86
[ 1847s]  L18:	ldb r0, [r0 + 26]
[ 1847s]  L19:	and32 r0, #0xf0
[ 1847s]  L20:	rsh32 r0, #0x4
[ 1847s]  L21:	mul32 r0, #0x4
[ 1847s]  L22:	add32 r0, r7
[ 1847s]  L23:	mov r7, r0
[ 1847s]  L24:	ldb r0, [r0 + 14]
[ 1847s]  L25:	jne r0, #0x18, L86
[ 1847s]  L26:	mov r8, r0
[ 1847s]  L27:	ldb r0, [14]
[ 1847s]  L28:	and32 r0, #0xf
[ 1847s]  L29:	lsh32 r0, #0x2
[ 1847s]  L30:	mov r7, r0
[ 1847s]  L31:	mov r0, r8
[ 1847s]  L32:	ldb r0, [r0 + 26]
[ 1847s]  L33:	and32 r0, #0xf0
[ 1847s]  L34:	rsbpf_validate: unsupported argument type
[ 1847s] h32 r0, #0x4
[ 1847s]  L35:	mul32 r0, #0x4
[ 1847s]  L36:	add32 r0, #0x1
[ 1847s]  L37:	add32 r0, r7
[ 1847s]  L38:	mov r7, r0
[ 1847s]  L39:	ldb r0, [r0 + 14]
[ 1847s]  L40:	jne r0, #0x3, L86
[ 1847s]  L41:	mov r8, r0
[ 1847s]  L42:	ldb r0, [14]
[ 1847s]  L43:	and32 r0, #0xf
[ 1847s]  L44:	lsh32 r0, #0x2
[ 1847s]  L45:	mov r7, r0
[ 1847s]  L46:	mov r0, r8
[ 1847s]  L47:	ldb r0, [r0 + 26]
[ 1847s]  L48:	and32 r0, #0xf0
[ 1847s]  L49:	rsh32 r0, #0x4
[ 1847s]  L50:	mul32 r0, #0x4
[ 1847s]  L51:	add32 r0, #0x2
[ 1847s]  L52:	add32 r0, r7
[ 1847s]  L53:	mov r7, r0
[ 1847s]  L54:	ldb r0, [r0 + 14]
[ 1847s]  L55:	jge r0, #0x4, L86
[ 1847s]  L56:	ldh r0, [16]
[ 1847s]  L57:	stxw [r10 + -44], r0
[ 1847s]  L58:	ldb r0, [14]
[ 1847s]  L59:	and32 r0, #0xf
[ 1847s]  L60:	mov r7, r0
[ 1847s]  L61:	mov32 r0, #0x4
[ 1847s]  L62:	mul32 r0, r7
[ 1847s]  L63:	mov r7, r0
[ 1847s]  L64:	ldxw r0, [r10 + -44]
[ 1847s]  L65:	sub32 r0, r7
[ 1847s]  L66:	stxw [r10 + -28], r0
[ 1847s]  L67:	mov r8, r0
[ 1847s]  L68:	ldb r0, [14]
[ 1847s]  L69:	and32 r0, #0xf
[ 1847s]  L70:	lsh32 r0, #0x2
[ 1847s]  L71:	mov r7, r0
[ 1847s]  L72:	mov r0, r8
[ 1847s]  L73:	ldb r0, [r0 + 26]
[ 1847s]  L74:	and32 r0, #0xf0
[ 1847s]  L75:	rsh32 r0, #0x4
[ 1847s]  L76:	mov r7, r0
[ 1847s]  L77:	mov32 r0, #0x4
[ 1847s]  L78:	mul32 r0, r7
[ 1847s]  L79:	mov r7, r0
[ 1847s]  L80:	ldxw r0, [r10 + -28]
[ 1847s]  L81:	sub32 r0, r7
[ 1847s]  L82:	jgt r0, #0x45, L84
[ 1847s]  L83:	ja L86
[ 1847s]  L84:	mov32 r0, #0x40000
[ 1847s]  L85:	exit
[ 1847s]  L86:	mov32 r0, #0x0
[ 1847s]  L87:	exit
[ 1847s] test_bpf_filter@3411: failed to load bpf code, error=95(Operation not supported);
[ 1847s] test_bpf_filter "len = 128"
[ 1847s] cBPF program (4 insns)
[ 1847s] (000) ld       #pktlen
[ 1847s] (001) jeq      #0x80            jt 2	jf 3
[ 1847s] (002) ret      #262144
[ 1847s] (003) ret      #0
[ 1847s] 
[ 1847s] eBPF program (9 insns)
[ 1847s]  L0:	xor r0, r0
[ 1847s]  L1:	xor r7, r7
[ 1847s]  L2:	mov r6, r1
[ 1847s]  L3:	ldxw r0, [r6 + 36]
[ 1847s]  L4:	jne r0, #0x80, L7
[ 1847s]  L5:	mov32 r0, #0x40000
[ 1847s]  L6:	exit
[ 1847s]  L7:	mov32 r0, #0x0
[ 1847s]  L8:	exit
[ 1847s] Test Failed

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-24 18:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 21:04 [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup Stephen Hemminger
2021-11-09 22:50 ` Luca Boccassi
2021-11-10 15:22 ` Thomas Monjalon
2021-11-10 16:18 ` [PATCH v2] " Stephen Hemminger
2021-11-14 23:39   ` Luca Boccassi
2021-11-24 18:51     ` Luca Boccassi
2021-11-15  3:41   ` Kalesh Anakkur Purayil
2021-11-15 23:23   ` [PATCH v3] " Stephen Hemminger
2021-11-15 23:29     ` [PATCH v4] " Stephen Hemminger
2021-11-15 23:29     ` [PATCH v5] " Stephen Hemminger
2021-11-16 13:31       ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).