From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |FAILURE| pw117052-117054 [PATCH] [5/5] test/security: add more MACsec cases
Date: Wed, 28 Sep 2022 09:00:36 -0400 (EDT) [thread overview]
Message-ID: <20220928130036.C23EF6D509@noxus.dpdklab.iol.unh.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 48023 bytes --]
Test-Label: iol-testing
Test-Status: FAILURE
http://dpdk.org/patch/117052
_build patch failure_
Submitter: Akhil Goyal <gakhil@marvell.com>
Date: Wednesday, September 28 2022 12:45:16
Applied on: CommitID:3fe71706abc1f13294c82477a0538047f8e4ebbf
Apply patch set 117052-117054 failed:
[1/2301] Linking static target drivers/libtmp_rte_net_bond.a
[2/2301] Linking static target drivers/libtmp_rte_net_bnxt.a
[3/2301] Linking target drivers/librte_net_bnx2x.so.23.0
[4/2301] Linking target drivers/librte_common_sfc_efx.so.23.0
[5/2301] Linking target drivers/librte_common_cnxk.so.23.0
[6/2301] Linking target lib/librte_pipeline.so.23.0
[7/2301] Generating rte_net_bond.pmd.c with a custom command
[8/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o -c ../drivers/net/cnxk/cnxk_lookup.c
In file included from ../drivers/net/cnxk/cnxk_lookup.c:8:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[9/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[10/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[11/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c:11:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[12/2301] Compiling C object drivers/librte_net_bond.so.23.0.p/meson-generated_.._rte_net_bond.pmd.c.o
[13/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[14/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[15/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[16/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_sec.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_sec.c.o -c ../drivers/net/cnxk/cn10k_ethdev_sec.c
In file included from ../drivers/net/cnxk/cn10k_ethdev.h:7:0,
from ../drivers/net/cnxk/cn10k_ethdev_sec.c:11:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
In file included from ../drivers/net/cnxk/cn10k_ethdev_sec.c:12:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:44:53: warning: ‘struct rte_security_macsec_sa’ declared inside parameter list will not be visible outside of this definition or declaration
int cn10k_eth_macsec_sa_create(void *device, struct rte_security_macsec_sa *conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:45:53: warning: ‘struct rte_security_macsec_sc’ declared inside parameter list will not be visible outside of this definition or declaration
int cn10k_eth_macsec_sc_create(void *device, struct rte_security_macsec_sc *conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:51:15: warning: ‘struct rte_security_macsec_sa_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sa_stats *stats);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:53:15: warning: ‘struct rte_security_macsec_sc_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sc_stats *stats);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_sec.c: In function ‘cn10k_eth_sec_ops_override’:
../drivers/net/cnxk/cn10k_ethdev_sec.c:1064:19: error: ‘struct rte_security_ops’ has no member named ‘macsec_sa_create’; did you mean ‘session_create’?
cnxk_eth_sec_ops.macsec_sa_create = cn10k_eth_macsec_sa_create;
^~~~~~~~~~~~~~~~
session_create
../drivers/net/cnxk/cn10k_ethdev_sec.c:1065:19: error: ‘struct rte_security_ops’ has no member named ‘macsec_sc_create’; did you mean ‘session_create’?
cnxk_eth_sec_ops.macsec_sc_create = cn10k_eth_macsec_sc_create;
^~~~~~~~~~~~~~~~
session_create
../drivers/net/cnxk/cn10k_ethdev_sec.c:1066:19: error: ‘struct rte_security_ops’ has no member named ‘macsec_sa_destroy’; did you mean ‘session_destroy’?
cnxk_eth_sec_ops.macsec_sa_destroy = cn10k_eth_macsec_sa_destroy;
^~~~~~~~~~~~~~~~~
session_destroy
../drivers/net/cnxk/cn10k_ethdev_sec.c:1067:19: error: ‘struct rte_security_ops’ has no member named ‘macsec_sc_destroy’; did you mean ‘session_destroy’?
cnxk_eth_sec_ops.macsec_sc_destroy = cn10k_eth_macsec_sc_destroy;
^~~~~~~~~~~~~~~~~
session_destroy
../drivers/net/cnxk/cn10k_ethdev_sec.c:1073:19: error: ‘struct rte_security_ops’ has no member named ‘macsec_sc_stats_get’; did you mean ‘session_stats_get’?
cnxk_eth_sec_ops.macsec_sc_stats_get = cn10k_eth_macsec_sc_stats_get;
^~~~~~~~~~~~~~~~~~~
session_stats_get
../drivers/net/cnxk/cn10k_ethdev_sec.c:1074:19: error: ‘struct rte_security_ops’ has no member named ‘macsec_sa_stats_get’; did you mean ‘session_stats_get’?
cnxk_eth_sec_ops.macsec_sa_stats_get = cn10k_eth_macsec_sa_stats_get;
^~~~~~~~~~~~~~~~~~~
session_stats_get
[17/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_flow.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_flow.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_flow.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_flow.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_flow.c.o -c ../drivers/net/cnxk/cn10k_flow.c
In file included from ../drivers/net/cnxk/cnxk_flow.h:10:0,
from ../drivers/net/cnxk/cn10k_flow.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
In file included from ../drivers/net/cnxk/cn10k_flow.c:5:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:44:53: warning: ‘struct rte_security_macsec_sa’ declared inside parameter list will not be visible outside of this definition or declaration
int cn10k_eth_macsec_sa_create(void *device, struct rte_security_macsec_sa *conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:45:53: warning: ‘struct rte_security_macsec_sc’ declared inside parameter list will not be visible outside of this definition or declaration
int cn10k_eth_macsec_sc_create(void *device, struct rte_security_macsec_sc *conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:51:15: warning: ‘struct rte_security_macsec_sa_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sa_stats *stats);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:53:15: warning: ‘struct rte_security_macsec_sc_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sc_stats *stats);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[19/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[20/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o -c ../drivers/net/cnxk/cnxk_ptp.c
In file included from ../drivers/net/cnxk/cnxk_ptp.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
[21/2301] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_mcs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_mcs.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_mcs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_mcs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_ethdev_mcs.c.o -c ../drivers/net/cnxk/cn10k_ethdev_mcs.c
In file included from ../drivers/net/cnxk/cn10k_ethdev_mcs.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:347:37: error: field ‘dir’ has incomplete type
enum rte_security_macsec_direction dir;
^~~
In file included from ../drivers/net/cnxk/cn10k_ethdev_mcs.c:6:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:44:53: warning: ‘struct rte_security_macsec_sa’ declared inside parameter list will not be visible outside of this definition or declaration
int cn10k_eth_macsec_sa_create(void *device, struct rte_security_macsec_sa *conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:45:53: warning: ‘struct rte_security_macsec_sc’ declared inside parameter list will not be visible outside of this definition or declaration
int cn10k_eth_macsec_sc_create(void *device, struct rte_security_macsec_sc *conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:51:15: warning: ‘struct rte_security_macsec_sa_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sa_stats *stats);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.h:53:15: warning: ‘struct rte_security_macsec_sc_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sc_stats *stats);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:10:85: error: parameter 2 (‘dir’) has incomplete type
mcs_resource_alloc(struct cnxk_mcs_dev *mcs_dev, enum rte_security_macsec_direction dir,
^~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:10:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
mcs_resource_alloc(struct cnxk_mcs_dev *mcs_dev, enum rte_security_macsec_direction dir,
^~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c: In function ‘mcs_resource_alloc’:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:10:85: warning: unused parameter ‘dir’ [-Wunused-parameter]
mcs_resource_alloc(struct cnxk_mcs_dev *mcs_dev, enum rte_security_macsec_direction dir,
^~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c: At top level:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:50:49: warning: ‘struct rte_security_macsec_sa’ declared inside parameter list will not be visible outside of this definition or declaration
cn10k_eth_macsec_sa_create(void *device, struct rte_security_macsec_sa *conf)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:50:1: error: conflicting types for ‘cn10k_eth_macsec_sa_create’
cn10k_eth_macsec_sa_create(void *device, struct rte_security_macsec_sa *conf)
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cn10k_ethdev_mcs.c:6:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:44:5: note: previous declaration of ‘cn10k_eth_macsec_sa_create’ was here
int cn10k_eth_macsec_sa_create(void *device, struct rte_security_macsec_sa *conf);
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c: In function ‘cn10k_eth_macsec_sa_create’:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:61:40: error: dereferencing pointer to incomplete type ‘struct rte_security_macsec_sa’
ret = mcs_resource_alloc(mcs_dev, conf->dir, &sa_id, 1, CNXK_MCS_RSRC_TYPE_SA);
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:77:38: error: ‘RTE_SECURITY_MACSEC_SALT_LEN’ undeclared (first use in this function); did you mean ‘RTE_SECURITY_DOCSIS_DOWNLINK’?
memcpy(&req.plcy[0][6], conf->salt, RTE_SECURITY_MACSEC_SALT_LEN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_SECURITY_DOCSIS_DOWNLINK
../drivers/net/cnxk/cn10k_ethdev_mcs.c:77:38: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cn10k_ethdev_mcs.c: At top level:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:111:49: warning: ‘struct rte_security_macsec_sc’ declared inside parameter list will not be visible outside of this definition or declaration
cn10k_eth_macsec_sc_create(void *device, struct rte_security_macsec_sc *conf)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:111:1: error: conflicting types for ‘cn10k_eth_macsec_sc_create’
cn10k_eth_macsec_sc_create(void *device, struct rte_security_macsec_sc *conf)
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cn10k_ethdev_mcs.c:6:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:45:5: note: previous declaration of ‘cn10k_eth_macsec_sc_create’ was here
int cn10k_eth_macsec_sc_create(void *device, struct rte_security_macsec_sc *conf);
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c: In function ‘cn10k_eth_macsec_sc_create’:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:119:40: error: dereferencing pointer to incomplete type ‘struct rte_security_macsec_sc’
ret = mcs_resource_alloc(mcs_dev, conf->dir, &sc_id, 1, CNXK_MCS_RSRC_TYPE_SC);
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:125:19: error: ‘RTE_SECURITY_MACSEC_DIR_TX’ undeclared (first use in this function); did you mean ‘RTE_SECURITY_DOCSIS_UPLINK’?
if (conf->dir == RTE_SECURITY_MACSEC_DIR_TX) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_SECURITY_DOCSIS_UPLINK
../drivers/net/cnxk/cn10k_ethdev_mcs.c:145:19: error: ‘RTE_SECURITY_MACSEC_NUM_AN’ undeclared (first use in this function); did you mean ‘RTE_SECURITY_MACSEC_DIR_TX’?
for (i = 0; i < RTE_SECURITY_MACSEC_NUM_AN; i++) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_SECURITY_MACSEC_DIR_TX
../drivers/net/cnxk/cn10k_ethdev_mcs.c: In function ‘cn10k_eth_macsec_session_create’:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:201:41: error: ‘struct rte_security_macsec_xform’ has no member named ‘dir’
ret = mcs_resource_alloc(mcs_dev, xform->dir, &secy_id, 1, CNXK_MCS_RSRC_TYPE_SECY);
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:209:17: error: ‘struct rte_security_macsec_xform’ has no member named ‘dir’
req.dir = xform->dir;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:212:11: error: ‘struct rte_security_macsec_xform’ has no member named ‘dir’
if (xform->dir == RTE_SECURITY_MACSEC_DIR_TX) {
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:212:20: error: ‘RTE_SECURITY_MACSEC_DIR_TX’ undeclared (first use in this function); did you mean ‘RTE_SECURITY_DOCSIS_UPLINK’?
if (xform->dir == RTE_SECURITY_MACSEC_DIR_TX) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_SECURITY_DOCSIS_UPLINK
../drivers/net/cnxk/cn10k_ethdev_mcs.c:213:31: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
sectag_tci = ((uint8_t)xform->tx_secy.sectag_version << 5) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:214:20: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint8_t)xform->tx_secy.end_station << 4) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:215:20: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint8_t)xform->tx_secy.send_sci << 3) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:216:20: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint8_t)xform->tx_secy.scb << 2) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:217:20: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint8_t)xform->tx_secy.encrypt << 1) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:218:19: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
(uint8_t)xform->tx_secy.encrypt;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:219:30: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
req.plcy = ((uint64_t)xform->tx_secy.mtu << 48) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:221:24: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
(((uint64_t)xform->tx_secy.sectag_off & 0x7F) << 32) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:222:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint64_t)xform->tx_secy.sectag_insert_mode << 30) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:223:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint64_t)xform->tx_secy.icv_include_da_sa << 28) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:224:24: error: ‘struct rte_security_macsec_xform’ has no member named ‘cipher_off’
(((uint64_t)xform->cipher_off & 0x7F) << 20) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:225:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘alg’
((uint64_t)xform->alg << 12) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:226:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
((uint64_t)xform->tx_secy.protect_frames << 4) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:227:22: error: ‘struct rte_security_macsec_xform’ has no member named ‘tx_secy’
(uint64_t)xform->tx_secy.ctrl_port_enable;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:229:30: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
req.plcy = ((uint64_t)xform->rx_secy.replay_win_sz << 32) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:230:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
((uint64_t)xform->rx_secy.replay_protect << 30) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:231:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
((uint64_t)xform->rx_secy.icv_include_da_sa << 28) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:232:24: error: ‘struct rte_security_macsec_xform’ has no member named ‘cipher_off’
(((uint64_t)xform->cipher_off & 0x7F) << 20) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:233:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘alg’
((uint64_t)xform->alg << 12) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:234:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
((uint64_t)xform->rx_secy.preserve_sectag << 9) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:235:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
((uint64_t)xform->rx_secy.preserve_icv << 8) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:236:23: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
((uint64_t)xform->rx_secy.validate_frames << 4) |
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:237:22: error: ‘struct rte_security_macsec_xform’ has no member named ‘rx_secy’
(uint64_t)xform->rx_secy.ctrl_port_enable;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:252:31: error: ‘struct rte_security_macsec_xform’ has no member named ‘sci’
macsec_sess_priv->sci = xform->sci;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:253:33: error: ‘struct rte_security_macsec_xform’ has no member named ‘sc_id’
macsec_sess_priv->sc_id = xform->sc_id;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:255:31: error: ‘struct rte_security_macsec_xform’ has no member named ‘dir’
macsec_sess_priv->dir = xform->dir;
^~
../drivers/net/cnxk/cn10k_ethdev_mcs.c: At top level:
../drivers/net/cnxk/cn10k_ethdev_mcs.c:361:15: warning: ‘struct rte_security_macsec_sa_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sa_stats *stats)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:360:1: error: conflicting types for ‘cn10k_eth_macsec_sa_stats_get’
cn10k_eth_macsec_sa_stats_get(void *device, uint16_t sa_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cn10k_ethdev_mcs.c:6:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:50:5: note: previous declaration of ‘cn10k_eth_macsec_sa_stats_get’ was here
int cn10k_eth_macsec_sa_stats_get(void *device, uint16_t sa_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:372:15: warning: ‘struct rte_security_macsec_sc_stats’ declared inside parameter list will not be visible outside of this definition or declaration
struct rte_security_macsec_sc_stats *stats)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_ethdev_mcs.c:371:1: error: conflicting types for ‘cn10k_eth_macsec_sc_stats_get’
cn10k_eth_macsec_sc_stats_get(void *device, uint16_t sc_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cn10k_ethdev_mcs.c:6:0:
../drivers/net/cnxk/cn10k_ethdev_mcs.h:52:5: note: previous declaration of ‘cn10k_eth_macsec_sc_stats_get’ was here
int cn10k_eth_macsec_sc_stats_get(void *device, uint16_t sa_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/2301] Generating symbol file drivers/librte_common_sfc_efx.so.23.0.p/librte_common_sfc_efx.so.23.0.symbols
[23/2301] Generating symbol file drivers/librte_common_cnxk.so.23.0.p/librte_common_cnxk.so.23.0.symbols
[24/2301] Generating symbol file lib/librte_pipeline.so.23.0.p/librte_pipeline.so.23.0.symbols
[25/2301] Generating rte_net_bnxt.pmd.c with a custom command
ninja: build stopped: subcommand failed.
https://lab.dpdk.org/results/dashboard/patchsets/23679/
UNH-IOL DPDK Community Lab
reply other threads:[~2022-09-28 13:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220928130036.C23EF6D509@noxus.dpdklab.iol.unh.edu \
--to=dpdklab@iol.unh.edu \
--cc=dpdk-test-reports@iol.unh.edu \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).