* [dpdk-test-report] |FAILURE| pw(106142) sid(21284) job(PER_PATCH_BUILD824)[v2, 4/4] app/test: add IP reassembly negative cases
@ 2022-01-20 17:04 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-01-20 17:04 UTC (permalink / raw)
To: test-report, gakhil
[-- Attachment #1: Type: text/plain, Size: 209347 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/106142
_Compilation issues_
Submitter: Akhil Goyal <gakhil@marvell.com>
Date: 2022-01-20 16:48:04
Reply_mail: 20220120164804.4163645-5-gakhil@marvell.com
DPDK git baseline: Repo:dpdk, CommitID: 9cc217a28310d21fba56e5eceb740b4feb7e0949
Meson Build Summary: 19 Builds Done, 0 Successful, 19 Failures, 0 Blocked
+--------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+--------------+------------+--------------+------------+------------+-----------+----------+
| FC35-64 | fail | fail | | | | |
| FreeBSD13-64 | fail | fail | | fail | fail | |
| RHEL85-64 | fail | fail | fail | fail | fail | |
| SUSE15-64 | fail | fail | | | | |
| UB2004-32 | fail | | | | | |
| UB2004-64 | fail | fail | fail | | | fail |
| UB2110-64 | fail | | | | | |
+--------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: FC35-64
Kernel Version: 5.14.16-301.fc35.x86_64
GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: FreeBSD13-64
Kernel Version: 13.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL85-64
Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-icc
OS: SUSE15-64
Kernel Version: 5.3.18-57-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 11.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: UB2004-32
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: UB2110-64
Kernel Version: 5.13.0-19-generic
GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
Clang Version: 13.0.0-2
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FC35-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:26: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:37: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:37: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:29: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:33: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:33: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:9: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:55: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:37: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:40: error: request for member ‘next_frag’ in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:37: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:9: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:41: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:23: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:43: error: request for member ‘next_frag’ in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:28: error: request for member ‘nb_frags’ in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:64: error: request for member ‘next_frag’ in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:31: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:62: error: request for member ‘next_frag’ in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:51: error: request for member ‘next_frag’ in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:21: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:33: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:21: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:21: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:25: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:17: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’ [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:17: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:65: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[2812/3028] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[2813/3028] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[2814/3028] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2815/3028] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2816/3028] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2817/3028] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2818/3028] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2819/3028] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2820/3028] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #2:
OS: FC35-64
Target: x86_64-native-linuxapp-clang
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
clang -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: field designator 'reass_en' does not refer to any field in type 'struct rte_security_ipsec_sa_options'
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c:60:15: error: use of undeclared identifier 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY'
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c:533:5: error: use of undeclared identifier 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME'
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c:545:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c:557:4: error: use of undeclared identifier 'dynfield'
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:557:16: error: expected expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:558:13: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:560:11: error: use of undeclared identifier 'dynfield'
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:570:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:570:31: error: use of undeclared identifier 'dynfield'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:588:2: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:588:16: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:589:6: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:591:25: error: use of undeclared identifier 'dynfield'
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^
../app/test/test_security_inline_proto.c:596:10: error: use of undeclared identifier 'dynfield'
while ((dynfield[j]->nb_frags > 1) &&
^
../app/test/test_security_inline_proto.c:597:32: error: use of undeclared identifier 'dynfield'
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^
../app/test/test_security_inline_proto.c:599:3: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c:599:17: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:601:7: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2816/3028] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[2817/3028] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2818/3028] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2819/3028] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2820/3028] Compiling C object app/test/dpdk-test.p/test_table_pipeline.c.o
[2821/3028] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2822/3028] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2823/3028] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2824/3028] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -I/usr/local/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: 'struct rte_security_ipsec_sa_options' has no member named 'reass_en'
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for 'conf_aes_128_gcm.ipsec_xform.options.esn')
../app/test/test_security_inline_proto.c:60:15: error: 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY' undeclared here (not in a function); did you mean 'RTE_ETH_RX_OFFLOAD_IPV4_CKSUM'?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function 'is_ip_reassembly_incomplete':
../app/test/test_security_inline_proto.c:533:5: error: 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME' undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function 'free_mbuf':
../app/test/test_security_inline_proto.c:545:2: error: unknown type name 'rte_eth_ip_reass_dynfield_t'
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: 'rte_eth_ip_reass_dynfield_t' undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member 'next_frag' in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:30: error: variable 'dynfield' set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function 'get_and_verify_incomplete_frags':
../app/test/test_security_inline_proto.c:570:2: error: unknown type name 'rte_eth_ip_reass_dynfield_t'
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: 'rte_eth_ip_reass_dynfield_t' undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member 'next_frag' in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:21: error: request for member 'nb_frags' in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:43: error: request for member 'next_frag' in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member 'next_frag' in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:37: error: request for member 'next_frag' in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function 'test_ipsec_encap_decap':
../app/test/test_security_inline_proto.c:627:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:5: error: 'RTE_ETH_IP_REASS_DYNFIELD_NAME' undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function 'test_ipsec':
../app/test/test_security_inline_proto.c:783:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function 'testsuite_setup':
../app/test/test_security_inline_proto.c:973:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:11: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function 'rte_eth_ip_reassembly_conf_set' [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of 'rte_eth_ip_reassembly_conf_set' [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:51: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[1882/2054] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[1883/2054] Compiling C object app/test/dpdk-test.p/test_table.c.o
[1884/2054] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
[1885/2054] Compiling C object app/test/dpdk-test.p/test_security.c.o
[1886/2054] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[1887/2054] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[1888/2054] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[1889/2054] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[1890/2054] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
clang -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: field designator 'reass_en' does not refer to any field in type 'struct rte_security_ipsec_sa_options'
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c:60:15: error: use of undeclared identifier 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY'
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c:533:5: error: use of undeclared identifier 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME'
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c:545:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c:557:4: error: use of undeclared identifier 'dynfield'
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:557:16: error: expected expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:558:13: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:560:11: error: use of undeclared identifier 'dynfield'
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:570:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:570:31: error: use of undeclared identifier 'dynfield'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:588:2: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:588:16: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:589:6: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:591:25: error: use of undeclared identifier 'dynfield'
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^
../app/test/test_security_inline_proto.c:596:10: error: use of undeclared identifier 'dynfield'
while ((dynfield[j]->nb_frags > 1) &&
^
../app/test/test_security_inline_proto.c:597:32: error: use of undeclared identifier 'dynfield'
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^
../app/test/test_security_inline_proto.c:599:3: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c:599:17: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:601:7: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1867/2015] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[1868/2015] Compiling C object app/test/dpdk-test.p/test_link_bonding_rssconf.c.o
[1869/2015] Compiling C object app/test/dpdk-test.p/test_pmd_ring_perf.c.o
[1870/2015] Compiling C object app/test/dpdk-test.p/test_link_bonding.c.o
[1871/2015] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[1872/2015] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[1873/2015] Compiling C object app/test/dpdk-test.p/test_link_bonding_mode4.c.o
[1874/2015] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[1875/2015] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #5:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: 'struct rte_security_ipsec_sa_options' has no member named 'reass_en'
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for 'conf_aes_128_gcm.ipsec_xform.options.esn')
../app/test/test_security_inline_proto.c:60:15: error: 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY' undeclared here (not in a function); did you mean 'RTE_ETH_RX_OFFLOAD_IPV4_CKSUM'?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function 'is_ip_reassembly_incomplete':
../app/test/test_security_inline_proto.c:533:5: error: 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME' undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function 'free_mbuf':
../app/test/test_security_inline_proto.c:545:2: error: unknown type name 'rte_eth_ip_reass_dynfield_t'
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: 'rte_eth_ip_reass_dynfield_t' undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member 'next_frag' in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:30: error: variable 'dynfield' set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function 'get_and_verify_incomplete_frags':
../app/test/test_security_inline_proto.c:570:2: error: unknown type name 'rte_eth_ip_reass_dynfield_t'
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: 'rte_eth_ip_reass_dynfield_t' undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member 'next_frag' in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:21: error: request for member 'nb_frags' in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:43: error: request for member 'next_frag' in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member 'next_frag' in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:37: error: request for member 'next_frag' in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function 'test_ipsec_encap_decap':
../app/test/test_security_inline_proto.c:627:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:5: error: 'RTE_ETH_IP_REASS_DYNFIELD_NAME' undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function 'test_ipsec':
../app/test/test_security_inline_proto.c:783:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function 'testsuite_setup':
../app/test/test_security_inline_proto.c:973:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:11: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function 'rte_eth_ip_reassembly_conf_set' [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of 'rte_eth_ip_reassembly_conf_set' [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:51: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[1871/1916] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[1872/1916] Compiling C object app/test/dpdk-test.p/test_string_fns.c.o
[1873/1916] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[1874/1916] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[1875/1916] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
[1876/1916] Compiling C object app/test/dpdk-test.p/test_security.c.o
[1877/1916] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[1878/1916] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[1879/1916] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #6:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: 'struct rte_security_ipsec_sa_options' has no member named 'reass_en'
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for 'conf_aes_128_gcm.ipsec_xform.options.esn')
../app/test/test_security_inline_proto.c:60:15: error: 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY' undeclared here (not in a function); did you mean 'RTE_ETH_RX_OFFLOAD_IPV4_CKSUM'?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function 'is_ip_reassembly_incomplete':
../app/test/test_security_inline_proto.c:533:5: error: 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME' undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function 'free_mbuf':
../app/test/test_security_inline_proto.c:545:2: error: unknown type name 'rte_eth_ip_reass_dynfield_t'
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: 'rte_eth_ip_reass_dynfield_t' undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member 'next_frag' in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:30: error: variable 'dynfield' set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function 'get_and_verify_incomplete_frags':
../app/test/test_security_inline_proto.c:570:2: error: unknown type name 'rte_eth_ip_reass_dynfield_t'
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: 'rte_eth_ip_reass_dynfield_t' undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member 'next_frag' in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:21: error: request for member 'nb_frags' in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:43: error: request for member 'next_frag' in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ')' token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro 'RTE_MBUF_DYNFIELD'
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member 'next_frag' in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro 'RTE_MBUF_DYNFIELD'
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:37: error: request for member 'next_frag' in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function 'test_ipsec_encap_decap':
../app/test/test_security_inline_proto.c:627:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:5: error: 'RTE_ETH_IP_REASS_DYNFIELD_NAME' undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function 'test_ipsec':
../app/test/test_security_inline_proto.c:783:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function 'testsuite_setup':
../app/test/test_security_inline_proto.c:973:14: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:11: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function 'rte_eth_ip_reassembly_conf_set' [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of 'rte_eth_ip_reassembly_conf_set' [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:51: error: 'struct rte_eth_dev_info' has no member named 'reass_capa'
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[1843/2015] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[1844/2015] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[1845/2015] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[1846/2015] Compiling C object app/test/dpdk-test.p/test_table.c.o
[1847/2015] Compiling C object app/test/dpdk-test.p/test_security.c.o
[1848/2015] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[1849/2015] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[1850/2015] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[1851/2015] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
.options.reass_en = 1,
^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
.options.reass_en = 1,
^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
while ((dynfield[j]->nb_frags > 1) &&
^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag,
^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < vector->nb_frags)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function); did you mean ‘RTE_ETH_RSS_LEVEL_MASK’?
RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RSS_LEVEL_MASK
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < nb_tx)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:974:12: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’; did you mean ‘rte_eth_dev_rss_hash_conf_get’? [-Werror=implicit-function-declaration]
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rss_hash_conf_get
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:52: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~
rx_seg_capa
cc1: all warnings being treated as errors
[2777/2991] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2778/2991] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2779/2991] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2780/2991] Compiling C object app/test/dpdk-test.p/test_table_pipeline.c.o
[2781/2991] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2782/2991] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2783/2991] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2784/2991] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2785/2991] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL85-64
Target: x86_64-native-linuxapp-clang
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
clang -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: field designator 'reass_en' does not refer to any field in type 'struct rte_security_ipsec_sa_options'
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c:60:15: error: use of undeclared identifier 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY'
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c:533:5: error: use of undeclared identifier 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME'
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c:545:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c:557:4: error: use of undeclared identifier 'dynfield'
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:557:16: error: expected expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:558:13: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:560:11: error: use of undeclared identifier 'dynfield'
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:570:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:570:31: error: use of undeclared identifier 'dynfield'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:588:2: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:588:16: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:589:6: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:591:25: error: use of undeclared identifier 'dynfield'
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^
../app/test/test_security_inline_proto.c:596:10: error: use of undeclared identifier 'dynfield'
while ((dynfield[j]->nb_frags > 1) &&
^
../app/test/test_security_inline_proto.c:597:32: error: use of undeclared identifier 'dynfield'
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^
../app/test/test_security_inline_proto.c:599:3: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c:599:17: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:601:7: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2774/2991] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[2775/2991] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[2776/2991] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2777/2991] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2778/2991] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2779/2991] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2780/2991] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2781/2991] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2782/2991] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #9:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
.options.reass_en = 1,
^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
.options.reass_en = 1,
^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
while ((dynfield[j]->nb_frags > 1) &&
^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag,
^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < vector->nb_frags)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function); did you mean ‘RTE_ETH_RSS_LEVEL_MASK’?
RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RSS_LEVEL_MASK
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < nb_tx)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:974:12: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’; did you mean ‘rte_eth_dev_rss_hash_conf_get’? [-Werror=implicit-function-declaration]
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rss_hash_conf_get
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:52: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~
rx_seg_capa
cc1: all warnings being treated as errors
[2804/2845] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2805/2845] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2806/2845] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2807/2845] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2808/2845] Compiling C object app/test/dpdk-test.p/test_table_pipeline.c.o
[2809/2845] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2810/2845] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2811/2845] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2812/2845] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #10:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
.options.reass_en = 1,
^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
.options.reass_en = 1,
^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
while ((dynfield[j]->nb_frags > 1) &&
^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag,
^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < vector->nb_frags)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function); did you mean ‘RTE_ETH_RSS_LEVEL_MASK’?
RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RSS_LEVEL_MASK
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < nb_tx)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:974:12: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’; did you mean ‘rte_eth_dev_rss_hash_conf_get’? [-Werror=implicit-function-declaration]
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rss_hash_conf_get
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:52: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~
rx_seg_capa
cc1: all warnings being treated as errors
[2845/3055] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[2846/3055] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2847/3055] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2848/3055] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2849/3055] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2850/3055] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2851/3055] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2852/3055] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2853/3055] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #11:
OS: RHEL85-64
Target: x86_64-native-linuxapp-icc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
icc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c(17):
../app/test/test_security_inline_proto_vectors.h(752): error: struct "rte_security_ipsec_sa_options" has no field "reass_en"
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c(60): error: identifier "RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY" is undefined
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c(533): error: identifier "RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME" is undefined
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c(545): error: identifier "rte_eth_ip_reass_dynfield_t" is undefined
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c(557): error: identifier "rte_eth_ip_reass_dynfield_t" is undefined
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c(557): error: expected an expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c(570): error: identifier "rte_eth_ip_reass_dynfield_t" is undefined
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c(570): error: identifier "dynfield" is undefined
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c(588): error: expected an expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c(599): error: expected an expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c(627): error: struct "rte_eth_dev_info" has no field "reass_capa"
if (dev_info.reass_capa.max_frags < vector->nb_frags)
^
../app/test/test_security_inline_proto.c(687): error: identifier "RTE_ETH_IP_REASS_DYNFIELD_NAME" is undefined
RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
^
../app/test/test_security_inline_proto.c(783): error: struct "rte_eth_dev_info" has no field "reass_capa"
if (dev_info.reass_capa.max_frags < nb_tx)
^
../app/test/test_security_inline_proto.c(973): error: struct "rte_eth_dev_info" has no field "reass_capa"
if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
^
../app/test/test_security_inline_proto.c(974): error: struct "rte_eth_dev_info" has no field "reass_capa"
dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
^
../app/test/test_security_inline_proto.c(975): error #266: function "rte_eth_ip_reassembly_conf_set" declared implicitly
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^
../app/test/test_security_inline_proto.c(975): error: struct "rte_eth_dev_info" has no field "reass_capa"
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^
compilation aborted for ../app/test/test_security_inline_proto.c (code 2)
[2785/3028] Compiling C object app/test/dpdk-test.p/test_spinlock.c.o
[2786/3028] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2787/3028] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[2788/3028] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2789/3028] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_tx_enq_seg.c.o
[2790/3028] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
[2791/3028] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2792/3028] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2793/3028] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
ninja: build stopped
*Build Failed #12:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o
clang -Iapp/test/3062f5d@@dpdk-test@exe -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o' -MF 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o.d' -o 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o' -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: field designator 'reass_en' does not refer to any field in type 'struct rte_security_ipsec_sa_options'
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c:60:15: error: use of undeclared identifier 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY'
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c:533:5: error: use of undeclared identifier 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME'
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c:545:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c:557:4: error: use of undeclared identifier 'dynfield'
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:557:16: error: expected expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:558:13: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:560:11: error: use of undeclared identifier 'dynfield'
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:570:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:570:31: error: use of undeclared identifier 'dynfield'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:588:2: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:588:16: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:589:6: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:591:25: error: use of undeclared identifier 'dynfield'
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^
../app/test/test_security_inline_proto.c:596:10: error: use of undeclared identifier 'dynfield'
while ((dynfield[j]->nb_frags > 1) &&
^
../app/test/test_security_inline_proto.c:597:32: error: use of undeclared identifier 'dynfield'
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^
../app/test/test_security_inline_proto.c:599:3: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c:599:17: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:601:7: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2801/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_service_cores.c.o'
[2802/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_stack_perf.c.o'
[2803/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_security.c.o'
[2804/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_stack.c.o'
[2805/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table.c.o'
[2806/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_acl.c.o'
[2807/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_ports.c.o'
[2808/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'
[2809/3016] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'
ninja: build stopped
*Build Failed #13:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o
gcc -Iapp/test/3062f5d@@dpdk-test@exe -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -I/usr/local/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o' -MF 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o.d' -o 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o' -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:0:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
.options.reass_en = 1,
^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
.options.reass_en = 1,
^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35:0,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
rte_eth_ip_reass_dynfield_t dynfield;
^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’; did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_security_dynfield_t
In file included from ../lib/ethdev/rte_flow.h:35:0,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function); did you mean ‘rte_security_dynfield_t’?
rte_eth_ip_reass_dynfield_t *);
^
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
while ((dynfield[j]->nb_frags > 1) &&
^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^~
In file included from ../lib/ethdev/rte_flow.h:35:0,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
ret = compare_pkt_data(dynfield[j]->next_frag,
^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < vector->nb_frags)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function); did you mean ‘RTE_ETH_RSS_LEVEL_MASK’?
RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_RSS_LEVEL_MASK
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.max_frags < nb_tx)
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:15: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:974:12: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
^~~~~~~~~~
rx_seg_capa
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’; did you mean ‘rte_eth_dev_rss_hash_conf_get’? [-Werror=implicit-function-declaration]
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rss_hash_conf_get
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:52: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’; did you mean ‘rx_seg_capa’?
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^~~~~~~~~~
rx_seg_capa
cc1: all warnings being treated as errors
[2803/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_security.c.o'
[2804/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_acl.c.o'
[2805/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_ports.c.o'
[2806/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_pipeline.c.o'
[2807/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_tables.c.o'
[2808/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_combined.c.o'
[2809/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'
[2810/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'
[2811/3014] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'
ninja: build stopped
*Build Failed #14:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:11: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’ [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:51: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[2267/2478] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2268/2478] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2269/2478] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
[2270/2478] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2271/2478] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2272/2478] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2273/2478] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2274/2478] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2275/2478] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #15:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
clang -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: field designator 'reass_en' does not refer to any field in type 'struct rte_security_ipsec_sa_options'
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c:60:15: error: use of undeclared identifier 'RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY'
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c:533:5: error: use of undeclared identifier 'RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME'
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c:545:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c:557:4: error: use of undeclared identifier 'dynfield'
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:557:16: error: expected expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:558:13: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:560:11: error: use of undeclared identifier 'dynfield'
mbuf = dynfield.next_frag;
^
../app/test/test_security_inline_proto.c:570:2: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:570:31: error: use of undeclared identifier 'dynfield'
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c:588:2: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c:588:16: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:589:6: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
../app/test/test_security_inline_proto.c:591:25: error: use of undeclared identifier 'dynfield'
ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
^
../app/test/test_security_inline_proto.c:596:10: error: use of undeclared identifier 'dynfield'
while ((dynfield[j]->nb_frags > 1) &&
^
../app/test/test_security_inline_proto.c:597:32: error: use of undeclared identifier 'dynfield'
is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
^
../app/test/test_security_inline_proto.c:599:3: error: use of undeclared identifier 'dynfield'
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c:599:17: error: expected expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../lib/mbuf/rte_mbuf_dyn.h:229:50: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../app/test/test_security_inline_proto.c:601:7: error: use of undeclared identifier 'rte_eth_ip_reass_dynfield_t'
rte_eth_ip_reass_dynfield_t *);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2839/3051] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2840/3051] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2841/3051] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2842/3051] Compiling C object app/test/dpdk-test.p/test_table_pipeline.c.o
[2843/3051] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2844/3051] Compiling C object app/test/dpdk-test.p/test_table_ports.c.o
[2845/3051] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2846/3051] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2847/3051] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:11: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’ [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:51: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[2834/3051] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[2835/3051] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[2836/3051] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2837/3051] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2838/3051] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2839/3051] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2840/3051] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2841/3051] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2842/3051] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
icc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c(17):
../app/test/test_security_inline_proto_vectors.h(752): error: struct "rte_security_ipsec_sa_options" has no field "reass_en"
.options.reass_en = 1,
^
../app/test/test_security_inline_proto.c(60): error: identifier "RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY" is undefined
.offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
^
../app/test/test_security_inline_proto.c(533): error: identifier "RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME" is undefined
RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
^
../app/test/test_security_inline_proto.c(545): error: identifier "rte_eth_ip_reass_dynfield_t" is undefined
rte_eth_ip_reass_dynfield_t dynfield;
^
../app/test/test_security_inline_proto.c(557): error: identifier "rte_eth_ip_reass_dynfield_t" is undefined
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c(557): error: expected an expression
dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c(570): error: identifier "rte_eth_ip_reass_dynfield_t" is undefined
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c(570): error: identifier "dynfield" is undefined
rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
^
../app/test/test_security_inline_proto.c(588): error: expected an expression
dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
^
../app/test/test_security_inline_proto.c(599): error: expected an expression
dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
^
../app/test/test_security_inline_proto.c(627): error: struct "rte_eth_dev_info" has no field "reass_capa"
if (dev_info.reass_capa.max_frags < vector->nb_frags)
^
../app/test/test_security_inline_proto.c(687): error: identifier "RTE_ETH_IP_REASS_DYNFIELD_NAME" is undefined
RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
^
../app/test/test_security_inline_proto.c(783): error: struct "rte_eth_dev_info" has no field "reass_capa"
if (dev_info.reass_capa.max_frags < nb_tx)
^
../app/test/test_security_inline_proto.c(973): error: struct "rte_eth_dev_info" has no field "reass_capa"
if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
^
../app/test/test_security_inline_proto.c(974): error: struct "rte_eth_dev_info" has no field "reass_capa"
dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
^
../app/test/test_security_inline_proto.c(975): error #266: function "rte_eth_ip_reassembly_conf_set" declared implicitly
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^
../app/test/test_security_inline_proto.c(975): error: struct "rte_eth_dev_info" has no field "reass_capa"
rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
^
compilation aborted for ../app/test/test_security_inline_proto.c (code 2)
[2760/3002] Compiling C object app/test/dpdk-test.p/test_stack.c.o
[2761/3002] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2762/3002] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2763/3002] Compiling C object app/test/dpdk-test.p/test_stack_perf.c.o
[2764/3002] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_tx_enq_seg.c.o
[2765/3002] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
[2766/3002] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2767/3002] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2768/3002] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
ninja: build stopped
*Build Failed #18:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o
gcc -Iapp/test/3062f5d@@dpdk-test@exe -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Ilib/metrics -I../lib/metrics -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o' -MF 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o.d' -o 'app/test/3062f5d@@dpdk-test@exe/test_security_inline_proto.c.o' -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:12: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:23: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:23: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:15: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:5: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:5: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:13: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:19: error: request for member ‘next_frag’ in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:30: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:2: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:6: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:16: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:36: error: request for member ‘next_frag’ in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:21: error: request for member ‘nb_frags’ in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:43: error: request for member ‘next_frag’ in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:17: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:48: error: request for member ‘next_frag’ in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:37: error: request for member ‘next_frag’ in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:5: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:14: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:11: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:3: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’ [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:3: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:51: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[2620/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table.c.o'.
[2621/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_security.c.o'.
[2622/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_pipeline.c.o'.
[2623/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_ports.c.o'.
[2624/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_acl.c.o'.
[2625/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_combined.c.o'.
[2626/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
[2627/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'.
[2628/2664] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'.
ninja: build stopped
*Build Failed #19:
OS: UB2110-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_security_inline_proto.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bpf -I../lib/bpf -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/bitratestats -I../lib/bitratestats -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/null -I../drivers/net/null -Ilib/power -I../lib/power -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_security_inline_proto.c.o -MF app/test/dpdk-test.p/test_security_inline_proto.c.o.d -o app/test/dpdk-test.p/test_security_inline_proto.c.o -c ../app/test/test_security_inline_proto.c
In file included from ../app/test/test_security_inline_proto.c:17:
../app/test/test_security_inline_proto_vectors.h:752:26: error: ‘struct rte_security_ipsec_sa_options’ has no member named ‘reass_en’
752 | .options.reass_en = 1,
| ^~~~~~~~
../app/test/test_security_inline_proto_vectors.h:752:37: error: initialized field overwritten [-Werror=override-init]
752 | .options.reass_en = 1,
| ^
../app/test/test_security_inline_proto_vectors.h:752:37: note: (near initialization for ‘conf_aes_128_gcm.ipsec_xform.options.esn’)
../app/test/test_security_inline_proto.c:60:29: error: ‘RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY’ undeclared here (not in a function); did you mean ‘RTE_ETH_RX_OFFLOAD_IPV4_CKSUM’?
60 | .offloads = RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_RX_OFFLOAD_IPV4_CKSUM
../app/test/test_security_inline_proto.c: In function ‘is_ip_reassembly_incomplete’:
../app/test/test_security_inline_proto.c:533:33: error: ‘RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME’ undeclared (first use in this function)
533 | RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:533:33: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_security_inline_proto.c: In function ‘free_mbuf’:
../app/test/test_security_inline_proto.c:545:9: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:558:55: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
558 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:557:37: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
557 | dynfield = *RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:560:40: error: request for member ‘next_frag’ in something not a structure or union
560 | mbuf = dynfield.next_frag;
| ^
../app/test/test_security_inline_proto.c:545:37: error: variable ‘dynfield’ set but not used [-Werror=unused-but-set-variable]
545 | rte_eth_ip_reass_dynfield_t dynfield;
| ^~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘get_and_verify_incomplete_frags’:
../app/test/test_security_inline_proto.c:570:9: error: unknown type name ‘rte_eth_ip_reass_dynfield_t’
570 | rte_eth_ip_reass_dynfield_t *dynfield[MAX_PKT_BURST];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../app/test/test_security_inline_proto.c:589:41: error: ‘rte_eth_ip_reass_dynfield_t’ undeclared (first use in this function)
589 | rte_eth_ip_reass_dynfield_t *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:229:46: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:588:23: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
588 | dynfield[j] = RTE_MBUF_DYNFIELD(mbuf, ip_reass_dynfield_offset,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:591:43: error: request for member ‘next_frag’ in something not a structure or union
591 | ret = compare_pkt_data(dynfield[j]->next_frag, vector->frags[j]->data,
| ^~
../app/test/test_security_inline_proto.c:596:28: error: request for member ‘nb_frags’ in something not a structure or union
596 | while ((dynfield[j]->nb_frags > 1) &&
| ^~
../app/test/test_security_inline_proto.c:597:64: error: request for member ‘next_frag’ in something not a structure or union
597 | is_ip_reassembly_incomplete(dynfield[j]->next_frag)) {
| ^~
In file included from ../lib/ethdev/rte_flow.h:35,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1427,
from ../app/test/test_security_inline_proto.c:11:
../lib/mbuf/rte_mbuf_dyn.h:229:50: error: expected expression before ‘)’ token
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:599:31: note: in expansion of macro ‘RTE_MBUF_DYNFIELD’
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:599:62: error: request for member ‘next_frag’ in something not a structure or union
599 | dynfield[j] = RTE_MBUF_DYNFIELD(dynfield[j-1]->next_frag,
| ^~
../lib/mbuf/rte_mbuf_dyn.h:229:64: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
229 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../app/test/test_security_inline_proto.c:603:51: error: request for member ‘next_frag’ in something not a structure or union
603 | ret = compare_pkt_data(dynfield[j]->next_frag,
| ^~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec_encap_decap’:
../app/test/test_security_inline_proto.c:627:21: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
627 | if (dev_info.reass_capa.max_frags < vector->nb_frags)
| ^
../app/test/test_security_inline_proto.c:687:33: error: ‘RTE_ETH_IP_REASS_DYNFIELD_NAME’ undeclared (first use in this function)
687 | RTE_ETH_IP_REASS_DYNFIELD_NAME, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c: In function ‘test_ipsec’:
../app/test/test_security_inline_proto.c:783:21: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
783 | if (dev_info.reass_capa.max_frags < nb_tx)
| ^
../app/test/test_security_inline_proto.c: In function ‘testsuite_setup’:
../app/test/test_security_inline_proto.c:973:21: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
973 | if (dev_info.reass_capa.reass_timeout > APP_REASS_TIMEOUT) {
| ^
../app/test/test_security_inline_proto.c:974:25: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
974 | dev_info.reass_capa.reass_timeout = APP_REASS_TIMEOUT;
| ^
../app/test/test_security_inline_proto.c:975:17: error: implicit declaration of function ‘rte_eth_ip_reassembly_conf_set’ [-Werror=implicit-function-declaration]
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_security_inline_proto.c:975:17: error: nested extern declaration of ‘rte_eth_ip_reassembly_conf_set’ [-Werror=nested-externs]
../app/test/test_security_inline_proto.c:975:65: error: ‘struct rte_eth_dev_info’ has no member named ‘reass_capa’
975 | rte_eth_ip_reassembly_conf_set(portid, &dev_info.reass_capa);
| ^
cc1: all warnings being treated as errors
[2851/3065] Compiling C object app/test/dpdk-test.p/test_table.c.o
[2852/3065] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2853/3065] Compiling C object app/test/dpdk-test.p/test_table_acl.c.o
[2854/3065] Compiling C object app/test/dpdk-test.p/test_table_pipeline.c.o
[2855/3065] Compiling C object app/test/dpdk-test.p/test_table_ports.c.o
[2856/3065] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2857/3065] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2858/3065] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2859/3065] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-20 17:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 17:04 [dpdk-test-report] |FAILURE| pw(106142) sid(21284) job(PER_PATCH_BUILD824)[v2, 4/4] app/test: add IP reassembly negative cases sys_stv
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).