* [dpdk-test-report] |FAILURE| pw(81771) [v2, 14/14] ethdev: remove legacy filter API functions
@ 2020-10-22 14:20 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2020-10-22 14:20 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 174916 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/81771
_Compilation issues_
Submitter: Andrew Rybchenko <arybchenko@solarflare.com>
Date: 2020-10-22 09:42:37
Reply_mail: 1603359758-13297-15-git-send-email-arybchenko@solarflare.com
DPDK git baseline: Repo:dpdk-next-net, CommitID: 041eb9fb823755b4272b329df2e9a2f00766abf0
Meson Build Summary: 21 Builds Done, 7 Successful, 14 Failures, 0 Blocked
+----------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| CENTOS82-64 | FAIL | FAIL | FAIL | pass | FAIL | |
| RHEL82-64 | FAIL | | | | | |
| UB1804-64 | FAIL | | | | | |
| FC32-64 | FAIL | FAIL | | | | |
| UB2004-64 | FAIL | FAIL | FAIL | | | pass |
| WIN10-64 | | pass | | | | |
| UB2004-32 | FAIL | | | | | |
| FreeBSD1201-64 | pass | pass | | pass | pass | |
| SUSE15-64 | FAIL | FAIL | | | | |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: CENTOS82-64
Kernel Version: 4.18.0-193.14.2.el8_2.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: RHEL82-64
Kernel Version: 4.18.0-193.el8.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
x86_64-native-linuxapp-gcc
OS: UB1804-64
Kernel Version: 5.3.0-59-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
x86_64-native-linuxapp-gcc
OS: FC32-64
Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2004-64
Kernel Version: 5.4.0-47-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
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: WIN10-64
Kernel Version: N/A
CPU info: N/A
GCC Version: N/A
Clang Version: Clang 8.0.0
x86_64-windows-clang
OS: UB2004-32
Kernel Version: 5.4.0-47-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: FreeBSD1201-64
Kernel Version: 12.1-RELEASE
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 4.12.14-lp150.11-default
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_MAX’?
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_MAX
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_IP_IN_GRE’?
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_IP_IN_GRE
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FEC_RS’?
RTE_ETH_FILTER_ADD,
^~~~~~~~~~~~~~~~~~
RTE_ETH_FEC_RS
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
&tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
&tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] ==
^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
RTE_ETH_FILTER_DELETE,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2601/2681] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_init.c.o
[2602/2681] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2603/2681] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2604/2681] Compiling C object drivers/librte_event_octeontx2.a.p/meson-generated_.._rte_event_octeontx2.pmd.c.o
[2605/2681] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2606/2681] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2607/2681] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2608/2681] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2609/2681] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
ninja: build stopped: subcommand failed
*Build Failed #2:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
clang -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_TENID'
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^
../examples/tep_termination/vxlan_setup.c:62:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^
../examples/tep_termination/vxlan_setup.c:63:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_OMAC_TENID_IMAC'
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^
../examples/tep_termination/vxlan_setup.c:236:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:264:3: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:275:37: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:280:8: note: did you mean 'rte_eth_dev_rx_intr_ctl'?
../lib/librte_ethdev/rte_ethdev.h:3569:5: note: 'rte_eth_dev_rx_intr_ctl' declared here
int rte_eth_dev_rx_intr_ctl(uint16_t port_id, int epfd, int op, void *data);
^
../examples/tep_termination/vxlan_setup.c:281:3: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:282:3: error: use of undeclared identifier 'RTE_ETH_FILTER_ADD'
RTE_ETH_FILTER_ADD,
^
../examples/tep_termination/vxlan_setup.c:348:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:352:4: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:362:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:368:9: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:369:5: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:370:5: error: use of undeclared identifier 'RTE_ETH_FILTER_DELETE'
RTE_ETH_FILTER_DELETE,
^
15 errors generated.
[2590/2681] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2591/2681] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2592/2681] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2593/2681] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2594/2681] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2595/2681] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2596/2681] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2597/2681] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2598/2681] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped: subcommand failed
*Build Failed #3:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-icc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
icc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -mno-avx512f -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c(61): error: identifier "RTE_TUNNEL_FILTER_IMAC_TENID" is undefined
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^
../examples/tep_termination/vxlan_setup.c(62): error: identifier "RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID" is undefined
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^
../examples/tep_termination/vxlan_setup.c(63): error: identifier "RTE_TUNNEL_FILTER_OMAC_TENID_IMAC" is undefined
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^
../examples/tep_termination/vxlan_setup.c(236): error: incomplete type is not allowed
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c(264): error: incomplete type is not allowed
sizeof(struct rte_eth_tunnel_filter_conf));
^
../examples/tep_termination/vxlan_setup.c(280): error #266: function "rte_eth_dev_filter_ctrl" declared implicitly
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c(281): error: identifier "RTE_ETH_FILTER_TUNNEL" is undefined
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c(282): error: identifier "RTE_ETH_FILTER_ADD" is undefined
RTE_ETH_FILTER_ADD,
^
../examples/tep_termination/vxlan_setup.c(348): error: incomplete type is not allowed
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c(352): error: incomplete type is not allowed
sizeof(struct rte_eth_tunnel_filter_conf));
^
../examples/tep_termination/vxlan_setup.c(368): error #266: function "rte_eth_dev_filter_ctrl" declared implicitly
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c(369): error: identifier "RTE_ETH_FILTER_TUNNEL" is undefined
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c(370): error: identifier "RTE_ETH_FILTER_DELETE" is undefined
RTE_ETH_FILTER_DELETE,
^
compilation aborted for ../examples/tep_termination/vxlan_setup.c (code 2)
[2587/2681] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2588/2681] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2589/2681] Compiling C object examples/dpdk-service_cores.p/service_cores_main.c.o
[2590/2681] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2591/2681] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2592/2681] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2593/2681] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2594/2681] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2595/2681] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
ninja: build stopped: subcommand failed
*Build Failed #4:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_MAX’?
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_MAX
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_IP_IN_GRE’?
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_IP_IN_GRE
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FEC_RS’?
RTE_ETH_FILTER_ADD,
^~~~~~~~~~~~~~~~~~
RTE_ETH_FEC_RS
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
&tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
&tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] ==
^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
RTE_ETH_FILTER_DELETE,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2658/2681] Linking target examples/dpdk-rxtx_callbacks
[2659/2681] Linking target examples/dpdk-service_cores
[2660/2681] Linking target examples/dpdk-qos_sched
[2661/2681] Linking target examples/dpdk-efd_server
[2662/2681] Linking target examples/dpdk-skeleton
ninja: build stopped: subcommand failed
*Build Failed #5:
OS: FC32-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function)
61 | uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function)
62 | RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
63 | RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
236 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
264 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
264 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:61:49: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
| ~~~~~~~^~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
266 | rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
| ^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
266 | rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
267 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
267 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
270 | rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
| ^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
270 | rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
272 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
272 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
273 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
273 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
275 | if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
| ^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
276 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
276 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
278 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
278 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
280 | ret = rte_eth_dev_filter_ctrl(ports[0],
| ^~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function)
281 | RTE_ETH_FILTER_TUNNEL,
| ^~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_RAW’?
282 | RTE_ETH_FILTER_ADD,
| ^~~~~~~~~~~~~~~~~~
| RTE_ETH_FLOW_RAW
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
236 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
348 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
352 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
352 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:61:49: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
| ~~~~~~~^~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
355 | &tunnel_filter_conf.outer_mac);
| ^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
355 | &tunnel_filter_conf.outer_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
357 | &tunnel_filter_conf.inner_mac);
| ^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
357 | &tunnel_filter_conf.inner_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
358 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
358 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
359 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
359 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
361 | if (tep_filter_type[filter_idx] ==
| ^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
363 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
363 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
365 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
365 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
366 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
366 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function)
369 | RTE_ETH_FILTER_TUNNEL,
| ^~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
370 | RTE_ETH_FILTER_DELETE,
| ^~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
348 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2595/2685] Compiling C object examples/dpdk-tep_termination.p/tep_termination_vxlan.c.o
[2596/2685] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2597/2685] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2598/2685] Compiling C object examples/dpdk-qos_sched.p/qos_sched_app_thread.c.o
[2599/2685] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
[2600/2685] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2601/2685] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2602/2685] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2603/2685] Generating rte_kni with a custom command
make: Entering directory '/usr/src/kernels/5.6.5-300.fc32.x86_64'
CC [M] /root/FC32-64_K5.6.0_GCC10.0.1/x86_64-native-linuxapp-gcc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o
CC [M] /root/FC32-64_K5.6.0_GCC10.0.1/x86_64-native-linuxapp-gcc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o
LD [M] /root/FC32-64_K5.6.0_GCC10.0.1/x86_64-native-linuxapp-gcc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/rte_kni.o
MODPOST 1 modules
CC [M] /root/FC32-64_K5.6.0_GCC10.0.1/x86_64-native-linuxapp-gcc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/FC32-64_K5.6.0_GCC10.0.1/x86_64-native-linuxapp-gcc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/kernels/5.6.5-300.fc32.x86_64'
[2604/2685] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2605/2685] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
ninja: build stopped: subcommand failed
*Build Failed #6:
OS: FC32-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
clang -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_TENID'
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^
../examples/tep_termination/vxlan_setup.c:62:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^
../examples/tep_termination/vxlan_setup.c:63:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_OMAC_TENID_IMAC'
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^
../examples/tep_termination/vxlan_setup.c:236:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:264:3: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:275:37: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:280:8: note: did you mean 'rte_eth_dev_rx_intr_ctl'?
../lib/librte_ethdev/rte_ethdev.h:3569:5: note: 'rte_eth_dev_rx_intr_ctl' declared here
int rte_eth_dev_rx_intr_ctl(uint16_t port_id, int epfd, int op, void *data);
^
../examples/tep_termination/vxlan_setup.c:281:3: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:282:3: error: use of undeclared identifier 'RTE_ETH_FILTER_ADD'
RTE_ETH_FILTER_ADD,
^
../examples/tep_termination/vxlan_setup.c:348:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:352:4: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:362:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:368:9: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:369:5: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:370:5: error: use of undeclared identifier 'RTE_ETH_FILTER_DELETE'
RTE_ETH_FILTER_DELETE,
^
15 errors generated.
[2604/2686] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2605/2686] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2606/2686] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2607/2686] Generating rte_kni with a custom command
make: Entering directory '/usr/src/kernels/5.6.5-300.fc32.x86_64'
CC [M] /root/FC32-64_K5.6.0_Clang10.0.0/x86_64-native-linuxapp-clang/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o
CC [M] /root/FC32-64_K5.6.0_Clang10.0.0/x86_64-native-linuxapp-clang/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o
LD [M] /root/FC32-64_K5.6.0_Clang10.0.0/x86_64-native-linuxapp-clang/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/rte_kni.o
MODPOST 1 modules
CC [M] /root/FC32-64_K5.6.0_Clang10.0.0/x86_64-native-linuxapp-clang/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/FC32-64_K5.6.0_Clang10.0.0/x86_64-native-linuxapp-clang/6bdf9378baaa4c71a3dd73531f56699d/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/kernels/5.6.5-300.fc32.x86_64'
[2608/2686] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2609/2686] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2610/2686] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2611/2686] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped: subcommand failed
*Build Failed #7:
OS: RHEL82-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_MAX’?
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_MAX
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_IP_IN_GRE’?
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_IP_IN_GRE
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FEC_RS’?
RTE_ETH_FILTER_ADD,
^~~~~~~~~~~~~~~~~~
RTE_ETH_FEC_RS
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
&tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
&tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] ==
^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
RTE_ETH_FILTER_DELETE,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2603/2681] Generating rte_event_octeontx2.sym_chk with a meson_exe.py custom command
[2604/2681] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2605/2681] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2606/2681] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2607/2681] Linking target app/dpdk-test-cmdline
[2608/2681] Linking target app/dpdk-pdump
[2609/2681] Linking target app/dpdk-test-acl
[2610/2681] Linking target app/dpdk-proc-info
[2611/2681] Linking target app/dpdk-test-bbdev
ninja: build stopped: subcommand failed
*Build Failed #8:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
clang -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_TENID'
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^
../examples/tep_termination/vxlan_setup.c:62:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^
../examples/tep_termination/vxlan_setup.c:63:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_OMAC_TENID_IMAC'
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^
../examples/tep_termination/vxlan_setup.c:236:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:264:3: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:275:37: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:280:8: note: did you mean 'rte_eth_dev_rx_intr_ctl'?
../lib/librte_ethdev/rte_ethdev.h:3569:5: note: 'rte_eth_dev_rx_intr_ctl' declared here
int rte_eth_dev_rx_intr_ctl(uint16_t port_id, int epfd, int op, void *data);
^
../examples/tep_termination/vxlan_setup.c:280:8: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:281:3: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:282:3: error: use of undeclared identifier 'RTE_ETH_FILTER_ADD'
RTE_ETH_FILTER_ADD,
^
../examples/tep_termination/vxlan_setup.c:348:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:352:4: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:362:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:369:5: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:370:5: error: use of undeclared identifier 'RTE_ETH_FILTER_DELETE'
RTE_ETH_FILTER_DELETE,
^
15 errors generated.
[2566/2652] Compiling C object examples/dpdk-timer.p/timer_main.c.o
[2567/2652] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2568/2652] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2569/2652] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2570/2652] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2571/2652] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2572/2652] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2573/2652] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2574/2652] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
ninja: build stopped: subcommand failed
*Build Failed #9:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_MAX’?
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_MAX
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_FILTER_IMAC_TENID’?
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_FILTER_IMAC_TENID
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_FILTER_IMAC_TENID’?
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_FILTER_IMAC_TENID
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16:0,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘uint8_t * {aka unsigned char *}’
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^
In file included from ../lib/librte_ethdev/rte_ethdev.h:159:0,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:222:1: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1] {aka unsigned char (*)[1]}’
rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from,
^~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^
In file included from ../lib/librte_ethdev/rte_ethdev.h:159:0,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:222:1: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1] {aka unsigned char (*)[1]}’
rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from,
^~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FILTER_TUNNEL’?
RTE_ETH_FILTER_ADD,
^~~~~~~~~~~~~~~~~~
RTE_ETH_FILTER_TUNNEL
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
In file included from ../lib/librte_eal/x86/include/rte_memcpy.h:16:0,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
/usr/include/string.h:60:14: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘uint8_t * {aka unsigned char *}’
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
&tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.outer_mac);
^
In file included from ../lib/librte_ethdev/rte_ethdev.h:159:0,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:222:1: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1] {aka unsigned char (*)[1]}’
rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from,
^~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
&tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.inner_mac);
^
In file included from ../lib/librte_ethdev/rte_ethdev.h:159:0,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:222:1: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1] {aka unsigned char (*)[1]}’
rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from,
^~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] ==
^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FILTER_TUNNEL’?
RTE_ETH_FILTER_DELETE,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_FILTER_TUNNEL
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2553/2651] Compiling C object examples/dpdk-qos_sched.p/qos_sched_main.c.o
[2554/2651] Compiling C object examples/dpdk-qos_sched.p/qos_sched_app_thread.c.o
[2555/2651] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[2556/2651] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_init.c.o
[2557/2651] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2558/2651] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2559/2651] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2560/2651] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2561/2651] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed
*Build Failed #10:
OS: UB1804-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_MAX’?
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_MAX
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function); did you mean ‘RTE_TUNNEL_TYPE_IP_IN_GRE’?
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_TUNNEL_TYPE_IP_IN_GRE
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:424,
from /usr/include/getopt.h:24,
from ../examples/tep_termination/vxlan_setup.c:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
__NTH (memset (void *__dest, int __ch, size_t __len))
^~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FEC_RS’?
RTE_ETH_FILTER_ADD,
^~~~~~~~~~~~~~~~~~
RTE_ETH_FEC_RS
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
sizeof(struct rte_eth_tunnel_filter_conf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:424,
from /usr/include/getopt.h:24,
from ../examples/tep_termination/vxlan_setup.c:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
__NTH (memset (void *__dest, int __ch, size_t __len))
^~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
&tunnel_filter_conf.outer_mac);
^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.outer_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
&tunnel_filter_conf.inner_mac);
^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&tunnel_filter_conf.inner_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
struct rte_ether_addr *__restrict ea_to)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
if (tep_filter_type[filter_idx] ==
^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
tunnel_filter_conf.queue_id = vdev->rx_q;
^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.queue_id = vdev->rx_q;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function); did you mean ‘RTE_ETH_EVENT_NEW’?
RTE_ETH_FILTER_TUNNEL,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_EVENT_NEW
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
RTE_ETH_FILTER_DELETE,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2584/2670] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2585/2670] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2586/2670] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2587/2670] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2588/2670] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2589/2670] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2590/2670] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2591/2670] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2592/2670] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed
*Build Failed #11:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function)
61 | uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function)
62 | RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
63 | RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
236 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
264 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
264 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
In file included from /usr/include/features.h:461,
from /usr/include/getopt.h:24,
from ../examples/tep_termination/vxlan_setup.c:5:
/usr/include/i386-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘size_t’ {aka ‘unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
59 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
266 | rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
| ^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
266 | rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
267 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
267 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
270 | rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
| ^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
270 | rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
272 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
272 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
273 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
273 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
275 | if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
| ^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
276 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
276 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
278 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
278 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
280 | ret = rte_eth_dev_filter_ctrl(ports[0],
| ^~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function)
281 | RTE_ETH_FILTER_TUNNEL,
| ^~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_RAW’?
282 | RTE_ETH_FILTER_ADD,
| ^~~~~~~~~~~~~~~~~~
| RTE_ETH_FLOW_RAW
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
236 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
348 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
352 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
352 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
In file included from /usr/include/features.h:461,
from /usr/include/getopt.h:24,
from ../examples/tep_termination/vxlan_setup.c:5:
/usr/include/i386-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘size_t’ {aka ‘unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
59 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
355 | &tunnel_filter_conf.outer_mac);
| ^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
355 | &tunnel_filter_conf.outer_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
357 | &tunnel_filter_conf.inner_mac);
| ^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
357 | &tunnel_filter_conf.inner_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
358 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
358 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
359 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
359 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
361 | if (tep_filter_type[filter_idx] ==
| ^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
363 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
363 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
365 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
365 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
366 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
366 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function)
369 | RTE_ETH_FILTER_TUNNEL,
| ^~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
370 | RTE_ETH_FILTER_DELETE,
| ^~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
348 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2319/2404] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2320/2404] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2321/2404] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2322/2404] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2323/2404] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2324/2404] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2325/2404] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2326/2404] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2327/2404] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed
*Build Failed #12:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
clang -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_TENID'
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^
../examples/tep_termination/vxlan_setup.c:62:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^
../examples/tep_termination/vxlan_setup.c:63:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_OMAC_TENID_IMAC'
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^
../examples/tep_termination/vxlan_setup.c:236:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:264:3: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:236:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:275:37: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:280:8: note: did you mean 'rte_eth_dev_rx_intr_ctl'?
../lib/librte_ethdev/rte_ethdev.h:3569:5: note: 'rte_eth_dev_rx_intr_ctl' declared here
int rte_eth_dev_rx_intr_ctl(uint16_t port_id, int epfd, int op, void *data);
^
../examples/tep_termination/vxlan_setup.c:281:3: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:282:3: error: use of undeclared identifier 'RTE_ETH_FILTER_ADD'
RTE_ETH_FILTER_ADD,
^
../examples/tep_termination/vxlan_setup.c:348:36: error: variable has incomplete type 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:352:4: error: invalid application of 'sizeof' to an incomplete type 'struct rte_eth_tunnel_filter_conf'
sizeof(struct rte_eth_tunnel_filter_conf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:348:9: note: forward declaration of 'struct rte_eth_tunnel_filter_conf'
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c:362:4: error: use of undeclared identifier 'RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID'
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
^
../examples/tep_termination/vxlan_setup.c:368:9: error: implicit declaration of function 'rte_eth_dev_filter_ctrl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c:369:5: error: use of undeclared identifier 'RTE_ETH_FILTER_TUNNEL'
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c:370:5: error: use of undeclared identifier 'RTE_ETH_FILTER_DELETE'
RTE_ETH_FILTER_DELETE,
^
15 errors generated.
[2588/2675] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2589/2675] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
[2590/2675] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2591/2675] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2592/2675] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2593/2675] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2594/2675] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2595/2675] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2596/2675] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped: subcommand failed
*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
gcc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-format-truncation -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c:61:30: error: ‘RTE_TUNNEL_FILTER_IMAC_TENID’ undeclared here (not in a function)
61 | uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:62:4: error: ‘RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID’ undeclared here (not in a function)
62 | RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:63:4: error: ‘RTE_TUNNEL_FILTER_OMAC_TENID_IMAC’ undeclared here (not in a function)
63 | RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_link’:
../examples/tep_termination/vxlan_setup.c:236:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
236 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:264:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
264 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~
../examples/tep_termination/vxlan_setup.c:264:3: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
264 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
In file included from /usr/include/features.h:461,
from /usr/include/getopt.h:24,
from ../examples/tep_termination/vxlan_setup.c:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
59 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
../examples/tep_termination/vxlan_setup.c:266:61: error: request for member ‘outer_mac’ in something not a structure or union
266 | rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
| ^
../examples/tep_termination/vxlan_setup.c:266:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
266 | rte_ether_addr_copy(&ports_eth_addr[0], &tunnel_filter_conf.outer_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:267:20: error: request for member ‘filter_type’ in something not a structure or union
267 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^
../examples/tep_termination/vxlan_setup.c:267:2: error: statement with no effect [-Werror=unused-value]
267 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:270:61: error: request for member ‘inner_mac’ in something not a structure or union
270 | rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
| ^
../examples/tep_termination/vxlan_setup.c:270:42: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
270 | rte_ether_addr_copy(&vdev->mac_address, &tunnel_filter_conf.inner_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:272:20: error: request for member ‘queue_id’ in something not a structure or union
272 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^
../examples/tep_termination/vxlan_setup.c:272:2: error: statement with no effect [-Werror=unused-value]
272 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:273:20: error: request for member ‘tenant_id’ in something not a structure or union
273 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^
../examples/tep_termination/vxlan_setup.c:273:2: error: statement with no effect [-Werror=unused-value]
273 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:275:34: error: comparison between pointer and integer [-Werror]
275 | if (tep_filter_type[filter_idx] == RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID)
| ^~
../examples/tep_termination/vxlan_setup.c:276:21: error: request for member ‘inner_vlan’ in something not a structure or union
276 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^
../examples/tep_termination/vxlan_setup.c:276:3: error: statement with no effect [-Werror=unused-value]
276 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:278:20: error: request for member ‘tunnel_type’ in something not a structure or union
278 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^
../examples/tep_termination/vxlan_setup.c:278:2: error: statement with no effect [-Werror=unused-value]
278 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:280:8: error: implicit declaration of function ‘rte_eth_dev_filter_ctrl’; did you mean ‘rte_eth_dev_rx_intr_ctl’? [-Werror=implicit-function-declaration]
280 | ret = rte_eth_dev_filter_ctrl(ports[0],
| ^~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_rx_intr_ctl
../examples/tep_termination/vxlan_setup.c:280:8: error: nested extern declaration of ‘rte_eth_dev_filter_ctrl’ [-Werror=nested-externs]
../examples/tep_termination/vxlan_setup.c:281:3: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function)
281 | RTE_ETH_FILTER_TUNNEL,
| ^~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:281:3: note: each undeclared identifier is reported only once for each function it appears in
../examples/tep_termination/vxlan_setup.c:282:3: error: ‘RTE_ETH_FILTER_ADD’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_RAW’?
282 | RTE_ETH_FILTER_ADD,
| ^~~~~~~~~~~~~~~~~~
| RTE_ETH_FLOW_RAW
../examples/tep_termination/vxlan_setup.c:236:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
236 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c: In function ‘vxlan_unlink’:
../examples/tep_termination/vxlan_setup.c:348:36: error: storage size of ‘tunnel_filter_conf’ isn’t known
348 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:352:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_eth_tunnel_filter_conf’
352 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~
../examples/tep_termination/vxlan_setup.c:352:4: error: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Werror=int-conversion]
352 | sizeof(struct rte_eth_tunnel_filter_conf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t * {aka unsigned char *}
In file included from /usr/include/features.h:461,
from /usr/include/getopt.h:24,
from ../examples/tep_termination/vxlan_setup.c:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
59 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
../examples/tep_termination/vxlan_setup.c:355:24: error: request for member ‘outer_mac’ in something not a structure or union
355 | &tunnel_filter_conf.outer_mac);
| ^
../examples/tep_termination/vxlan_setup.c:355:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
355 | &tunnel_filter_conf.outer_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:357:24: error: request for member ‘inner_mac’ in something not a structure or union
357 | &tunnel_filter_conf.inner_mac);
| ^
../examples/tep_termination/vxlan_setup.c:357:5: error: passing argument 2 of ‘rte_ether_addr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
357 | &tunnel_filter_conf.inner_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8_t (*)[1] {aka unsigned char (*)[1]}
In file included from ../lib/librte_ethdev/rte_ethdev.h:159,
from ../examples/tep_termination/vxlan_setup.c:13:
../lib/librte_net/rte_ether.h:223:41: note: expected ‘struct rte_ether_addr * restrict’ but argument is of type ‘uint8_t (*)[1]’ {aka ‘unsigned char (*)[1]’}
223 | struct rte_ether_addr *__restrict ea_to)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../examples/tep_termination/vxlan_setup.c:358:21: error: request for member ‘tenant_id’ in something not a structure or union
358 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^
../examples/tep_termination/vxlan_setup.c:358:3: error: statement with no effect [-Werror=unused-value]
358 | tunnel_filter_conf.tenant_id = tenant_id_conf[vdev->rx_q];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:359:21: error: request for member ‘filter_type’ in something not a structure or union
359 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^
../examples/tep_termination/vxlan_setup.c:359:3: error: statement with no effect [-Werror=unused-value]
359 | tunnel_filter_conf.filter_type = tep_filter_type[filter_idx];
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:361:35: error: comparison between pointer and integer [-Werror]
361 | if (tep_filter_type[filter_idx] ==
| ^~
../examples/tep_termination/vxlan_setup.c:363:22: error: request for member ‘inner_vlan’ in something not a structure or union
363 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^
../examples/tep_termination/vxlan_setup.c:363:4: error: statement with no effect [-Werror=unused-value]
363 | tunnel_filter_conf.inner_vlan = INNER_VLAN_ID;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:365:21: error: request for member ‘queue_id’ in something not a structure or union
365 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^
../examples/tep_termination/vxlan_setup.c:365:3: error: statement with no effect [-Werror=unused-value]
365 | tunnel_filter_conf.queue_id = vdev->rx_q;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:366:21: error: request for member ‘tunnel_type’ in something not a structure or union
366 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^
../examples/tep_termination/vxlan_setup.c:366:3: error: statement with no effect [-Werror=unused-value]
366 | tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
| ^~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:369:5: error: ‘RTE_ETH_FILTER_TUNNEL’ undeclared (first use in this function)
369 | RTE_ETH_FILTER_TUNNEL,
| ^~~~~~~~~~~~~~~~~~~~~
../examples/tep_termination/vxlan_setup.c:370:5: error: ‘RTE_ETH_FILTER_DELETE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FLOW_GENEVE’?
370 | RTE_ETH_FILTER_DELETE,
| ^~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_FLOW_GENEVE
../examples/tep_termination/vxlan_setup.c:348:36: error: unused variable ‘tunnel_filter_conf’ [-Werror=unused-variable]
348 | struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2587/2675] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2588/2675] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2589/2675] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_init.c.o
[2590/2675] Compiling C object examples/dpdk-tep_termination.p/tep_termination_main.c.o
[2591/2675] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2592/2675] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2593/2675] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2594/2675] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2595/2675] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed
*Build Failed #14:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o
icc -Iexamples/dpdk-tep_termination.p -Iexamples -I../examples -Iexamples/tep_termination -I../examples/tep_termination -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -Wno-deprecated-declarations -MD -MQ examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -MF examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o.d -o examples/dpdk-tep_termination.p/tep_termination_vxlan_setup.c.o -c ../examples/tep_termination/vxlan_setup.c
../examples/tep_termination/vxlan_setup.c(61): error: identifier "RTE_TUNNEL_FILTER_IMAC_TENID" is undefined
uint8_t tep_filter_type[] = {RTE_TUNNEL_FILTER_IMAC_TENID,
^
../examples/tep_termination/vxlan_setup.c(62): error: identifier "RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID" is undefined
RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID,
^
../examples/tep_termination/vxlan_setup.c(63): error: identifier "RTE_TUNNEL_FILTER_OMAC_TENID_IMAC" is undefined
RTE_TUNNEL_FILTER_OMAC_TENID_IMAC,};
^
../examples/tep_termination/vxlan_setup.c(236): error: incomplete type is not allowed
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c(264): error: incomplete type is not allowed
sizeof(struct rte_eth_tunnel_filter_conf));
^
../examples/tep_termination/vxlan_setup.c(280): error #266: function "rte_eth_dev_filter_ctrl" declared implicitly
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c(281): error: identifier "RTE_ETH_FILTER_TUNNEL" is undefined
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c(282): error: identifier "RTE_ETH_FILTER_ADD" is undefined
RTE_ETH_FILTER_ADD,
^
../examples/tep_termination/vxlan_setup.c(348): error: incomplete type is not allowed
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
^
../examples/tep_termination/vxlan_setup.c(352): error: incomplete type is not allowed
sizeof(struct rte_eth_tunnel_filter_conf));
^
../examples/tep_termination/vxlan_setup.c(368): error #266: function "rte_eth_dev_filter_ctrl" declared implicitly
ret = rte_eth_dev_filter_ctrl(ports[0],
^
../examples/tep_termination/vxlan_setup.c(369): error: identifier "RTE_ETH_FILTER_TUNNEL" is undefined
RTE_ETH_FILTER_TUNNEL,
^
../examples/tep_termination/vxlan_setup.c(370): error: identifier "RTE_ETH_FILTER_DELETE" is undefined
RTE_ETH_FILTER_DELETE,
^
compilation aborted for ../examples/tep_termination/vxlan_setup.c (code 2)
[2591/2675] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2592/2675] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2593/2675] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2594/2675] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2595/2675] Generating rte_kni with a custom command
make: Entering directory '/usr/src/linux-headers-5.4.0-47-generic'
CC [M] /root/UB2004-64_K5.4.0_ICC19.1.0/x86_64-native-linuxapp-icc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/26/kernel/linux/kni/kni_net.o
CC [M] /root/UB2004-64_K5.4.0_ICC19.1.0/x86_64-native-linuxapp-icc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/26/kernel/linux/kni/kni_misc.o
LD [M] /root/UB2004-64_K5.4.0_ICC19.1.0/x86_64-native-linuxapp-icc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/26/kernel/linux/kni/rte_kni.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /root/UB2004-64_K5.4.0_ICC19.1.0/x86_64-native-linuxapp-icc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/26/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/UB2004-64_K5.4.0_ICC19.1.0/x86_64-native-linuxapp-icc/6bdf9378baaa4c71a3dd73531f56699d/dpdk/26/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/linux-headers-5.4.0-47-generic'
[2596/2675] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2597/2675] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2598/2675] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2599/2675] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
ninja: build stopped: subcommand failed
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-22 14:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22 14:20 [dpdk-test-report] |FAILURE| pw(81771) [v2, 14/14] ethdev: remove legacy filter API functions 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).