automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw92761-92775 [PATCH] [v3, 15/15] crypto/mlx5: set feature flags and capabilities
@ 2021-05-04 21:30 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-05-04 21:30 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

Test-Label: Performance-Testing
Test-Status: FAILURE
http://dpdk.org/patch/92761

_build patch failure_

Submitter: Matan Azrad <matan@nvidia.com>
Date: Tuesday, May 04 2021 21:08:57 
Applied on: CommitID:fd09e24352c9eaf0a5538bf5c01d3da3c8da33c2
Apply patch set 92761-92775 failed:

[1/582] Linking static target drivers/libtmp_rte_net_mlx5.a
[2/582] Compiling C object drivers/librte_crypto_null.a.p/meson-generated_.._rte_crypto_null.pmd.c.o
[3/582] Compiling C object drivers/librte_crypto_null.so.21.2.p/meson-generated_.._rte_crypto_null.pmd.c.o
[4/582] Generating rte_crypto_openssl_def with a custom command
[5/582] Generating rte_crypto_octeontx2_def with a custom command
[6/582] Generating rte_crypto_octeontx2_mingw with a custom command
[7/582] Linking target drivers/librte_crypto_caam_jr.so.21.2
[8/582] Linking target drivers/librte_crypto_dpaa_sec.so.21.2
[9/582] Linking target drivers/librte_crypto_nitrox.so.21.2
[10/582] Linking static target drivers/librte_crypto_null.a
[11/582] Linking target drivers/librte_crypto_dpaa2_sec.so.21.2
[12/582] Generating rte_crypto_openssl_mingw with a custom command
[13/582] Linking target drivers/librte_crypto_ccp.so.21.2
[14/582] Compiling C object drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
[15/582] Compiling C object drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd_ops.c.o
[16/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[17/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[18/582] Linking static target drivers/libtmp_rte_crypto_openssl.a
[19/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd_ops.c.o
[20/582] Compiling C object drivers/libtmp_rte_crypto_octeontx2.a.p/crypto_octeontx2_otx2_cryptodev_sec.c.o
[21/582] Generating rte_crypto_octeontx.pmd.c with a custom command
[22/582] Generating rte_crypto_scheduler_def with a custom command
[23/582] Compiling C object drivers/librte_crypto_octeontx.so.21.2.p/meson-generated_.._rte_crypto_octeontx.pmd.c.o
[24/582] Generating rte_crypto_scheduler_mingw with a custom command
[25/582] Compiling C object drivers/librte_crypto_octeontx.a.p/meson-generated_.._rte_crypto_octeontx.pmd.c.o
[26/582] Linking static target drivers/librte_crypto_octeontx.a
[27/582] Compiling C object drivers/libtmp_rte_crypto_octeontx2.a.p/crypto_octeontx2_otx2_cryptodev_ops.c.o
[28/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[29/582] Linking static target drivers/libtmp_rte_crypto_octeontx2.a
[30/582] Generating rte_crypto_virtio_def with a custom command
[31/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[32/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[33/582] Generating rte_crypto_virtio_mingw with a custom command
[34/582] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[35/582] Generating rte_compress_mlx5_mingw with a custom command
[36/582] Generating rte_compress_mlx5_def with a custom command
[37/582] Linking static target drivers/libtmp_rte_crypto_scheduler.a
[38/582] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_pci.c.o
[39/582] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtqueue.c.o
[40/582] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o
[41/582] Generating rte_compress_octeontx_mingw with a custom command
[42/582] Generating rte_compress_octeontx_def with a custom command
[43/582] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_rxtx.c.o
[44/582] Generating rte_crypto_openssl.pmd.c with a custom command
[45/582] Generating rte_compress_zlib_mingw with a custom command
[46/582] Linking static target drivers/libtmp_rte_crypto_virtio.a
[47/582] Generating rte_net_mlx5.pmd.c with a custom command
[48/582] Generating rte_compress_zlib_def with a custom command
[49/582] Compiling C object drivers/librte_crypto_openssl.a.p/meson-generated_.._rte_crypto_openssl.pmd.c.o
[50/582] Compiling C object drivers/librte_crypto_openssl.so.21.2.p/meson-generated_.._rte_crypto_openssl.pmd.c.o
[51/582] Compiling C object drivers/librte_net_mlx5.so.21.2.p/meson-generated_.._rte_net_mlx5.pmd.c.o
[52/582] Generating rte_crypto_octeontx2.pmd.c with a custom command
[53/582] Compiling C object drivers/libtmp_rte_compress_octeontx.a.p/compress_octeontx_otx_zip.c.o
[54/582] Compiling C object drivers/librte_net_mlx5.a.p/meson-generated_.._rte_net_mlx5.pmd.c.o
[55/582] Linking static target drivers/librte_crypto_openssl.a
[56/582] Compiling C object drivers/librte_crypto_octeontx2.a.p/meson-generated_.._rte_crypto_octeontx2.pmd.c.o
[57/582] Compiling C object drivers/librte_crypto_octeontx2.so.21.2.p/meson-generated_.._rte_crypto_octeontx2.pmd.c.o
[58/582] Generating symbol file drivers/librte_crypto_dpaa_sec.so.21.2.p/librte_crypto_dpaa_sec.so.21.2.symbols
[59/582] Linking static target drivers/librte_net_mlx5.a
[60/582] Generating symbol file drivers/librte_crypto_dpaa2_sec.so.21.2.p/librte_crypto_dpaa2_sec.so.21.2.symbols
[61/582] Linking static target drivers/librte_crypto_octeontx2.a
[62/582] Compiling C object drivers/libtmp_rte_compress_zlib.a.p/compress_zlib_zlib_pmd_ops.c.o
[63/582] Compiling C object drivers/libtmp_rte_compress_zlib.a.p/compress_zlib_zlib_pmd.c.o
[64/582] Compiling C object drivers/libtmp_rte_compress_octeontx.a.p/compress_octeontx_otx_zip_pmd.c.o
[65/582] Generating rte_regex_mlx5_def with a custom command
[66/582] Linking static target drivers/libtmp_rte_compress_zlib.a
[67/582] Generating rte_crypto_scheduler.pmd.c with a custom command
[68/582] Linking static target drivers/libtmp_rte_compress_octeontx.a
[69/582] Generating rte_regex_mlx5_mingw with a custom command
[70/582] Compiling C object drivers/librte_crypto_scheduler.a.p/meson-generated_.._rte_crypto_scheduler.pmd.c.o
[71/582] Compiling C object drivers/librte_crypto_scheduler.so.21.2.p/meson-generated_.._rte_crypto_scheduler.pmd.c.o
[72/582] Linking static target drivers/librte_crypto_scheduler.a
[73/582] Generating rte_crypto_null.sym_chk with a custom command (wrapped by meson to capture output)
[74/582] Compiling C object drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto_dek.c.o
FAILED: drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto_dek.c.o 
ccache cc -Idrivers/libtmp_rte_crypto_mlx5.a.p -Idrivers -I../drivers -Idrivers/crypto/mlx5 -I../drivers/crypto/mlx5 -Ilib/cryptodev -I../lib/cryptodev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Ilib/hash -I../lib/hash -Ilib/net -I../lib/net -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MQ drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto_dek.c.o -MF drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto_dek.c.o.d -o drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto_dek.c.o -c ../drivers/crypto/mlx5/mlx5_crypto_dek.c
In file included from ../drivers/crypto/mlx5/mlx5_crypto.h:13:0,
                 from ../drivers/crypto/mlx5/mlx5_crypto_dek.c:14:
../drivers/common/mlx5/mlx5_common_utils.h:15:0: warning: "DRV_LOG" redefined
 #define DRV_LOG(level, ...) \
 
In file included from ../drivers/crypto/mlx5/mlx5_crypto_dek.c:13:0:
../drivers/crypto/mlx5/mlx5_crypto_utils.h:14:0: note: this is the location of the previous definition
 #define DRV_LOG(level, ...) \
 
In file included from ../drivers/crypto/mlx5/mlx5_crypto_dek.c:14:0:
../drivers/crypto/mlx5/mlx5_crypto.h:64:26: error: field ‘entry’ has incomplete type
  struct mlx5_hlist_entry entry; /* Pointer to DEK hash list entry. */
                          ^~~~~
../drivers/crypto/mlx5/mlx5_crypto.h:72:37: error: field ‘login_attr’ has incomplete type
  struct mlx5_devx_crypto_login_attr login_attr;
                                     ^~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_destroy’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:25:9: warning: implicit declaration of function ‘mlx5_hlist_unregister’; did you mean ‘rte_bus_unregister’? [-Wimplicit-function-declaration]
  return mlx5_hlist_unregister(priv->dek_hlist, &dek->entry);
         ^~~~~~~~~~~~~~~~~~~~~
         rte_bus_unregister
../drivers/crypto/mlx5/mlx5_crypto_dek.c:25:9: warning: nested extern declaration of ‘mlx5_hlist_unregister’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_prepare’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:40:35: warning: implicit declaration of function ‘mlx5_hlist_register’; did you mean ‘rte_bus_register’? [-Wimplicit-function-declaration]
  struct mlx5_hlist_entry *entry = mlx5_hlist_register(dek_hlist,
                                   ^~~~~~~~~~~~~~~~~~~
                                   rte_bus_register
../drivers/crypto/mlx5/mlx5_crypto_dek.c:40:35: warning: nested extern declaration of ‘mlx5_hlist_register’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto_dek.c:40:35: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
In file included from ../lib/eal/x86/include/rte_byteorder.h:13:0,
                 from ../lib/net/rte_ip.h:30,
                 from ../drivers/crypto/mlx5/mlx5_crypto_dek.c:5:
../lib/eal/include/rte_common.h:774:46: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    const typeof(((type *)0)->member) *_ptr = (ptr); \
                                              ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c:44:9: note: in expansion of macro ‘container_of’
         container_of(entry, struct mlx5_crypto_dek, entry);
         ^~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_match_cb’:
../lib/eal/include/rte_common.h:774:46: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    const typeof(((type *)0)->member) *_ptr = (ptr); \
                                              ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c:55:4: note: in expansion of macro ‘container_of’
    container_of(entry, typeof(*dek), entry);
    ^~~~~~~~~~~~
../lib/eal/include/rte_common.h:774:46: note: (near initialization for ‘dek’)
    const typeof(((type *)0)->member) *_ptr = (ptr); \
                                              ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c:55:4: note: in expansion of macro ‘container_of’
    container_of(entry, typeof(*dek), entry);
    ^~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_create_cb’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:71:9: error: variable ‘dek_attr’ has initializer but incomplete type
  struct mlx5_devx_dek_attr dek_attr = {
         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c:72:4: error: ‘struct mlx5_devx_dek_attr’ has no member named ‘pd’
   .pd = ctx->priv->pdn,
    ^~
../drivers/crypto/mlx5/mlx5_crypto_dek.c:72:9: warning: excess elements in struct initializer
   .pd = ctx->priv->pdn,
         ^~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c:72:9: note: (near initialization for ‘dek_attr’)
../drivers/crypto/mlx5/mlx5_crypto_dek.c:73:4: error: ‘struct mlx5_devx_dek_attr’ has no member named ‘key_purpose’
   .key_purpose = MLX5_CRYPTO_KEY_PURPOSE_AES_XTS,
    ^~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c:73:18: error: ‘MLX5_CRYPTO_KEY_PURPOSE_AES_XTS’ undeclared (first use in this function); did you mean ‘MLX5_CRYPTO_KEY_LENGTH’?
   .key_purpose = MLX5_CRYPTO_KEY_PURPOSE_AES_XTS,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  MLX5_CRYPTO_KEY_LENGTH
../drivers/crypto/mlx5/mlx5_crypto_dek.c:73:18: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/mlx5/mlx5_crypto_dek.c:73:18: warning: excess elements in struct initializer
../drivers/crypto/mlx5/mlx5_crypto_dek.c:73:18: note: (near initialization for ‘dek_attr’)
../drivers/crypto/mlx5/mlx5_crypto_dek.c:74:4: error: ‘struct mlx5_devx_dek_attr’ has no member named ‘has_keytag’
   .has_keytag = 1,
    ^~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c:74:17: warning: excess elements in struct initializer
   .has_keytag = 1,
                 ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c:74:17: note: (near initialization for ‘dek_attr’)
../drivers/crypto/mlx5/mlx5_crypto_dek.c:71:28: error: storage size of ‘dek_attr’ isn’t known
  struct mlx5_devx_dek_attr dek_attr = {
                            ^~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c:84:23: error: ‘MLX5_CRYPTO_KEY_SIZE_128b’ undeclared (first use in this function); did you mean ‘MLX5_CRYPTO_KEY_LENGTH’?
   dek_attr.key_size = MLX5_CRYPTO_KEY_SIZE_128b;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
                       MLX5_CRYPTO_KEY_LENGTH
../drivers/crypto/mlx5/mlx5_crypto_dek.c:88:23: error: ‘MLX5_CRYPTO_KEY_SIZE_256b’ undeclared (first use in this function); did you mean ‘MLX5_CRYPTO_KEY_SIZE_128b’?
   dek_attr.key_size = MLX5_CRYPTO_KEY_SIZE_256b;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
                       MLX5_CRYPTO_KEY_SIZE_128b
../drivers/crypto/mlx5/mlx5_crypto_dek.c:95:13: warning: implicit declaration of function ‘mlx5_devx_cmd_create_dek_obj’; did you mean ‘mlx5_devx_cmd_create_qp’? [-Wimplicit-function-declaration]
  dek->obj = mlx5_devx_cmd_create_dek_obj(ctx->priv->ctx, &dek_attr);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
             mlx5_devx_cmd_create_qp
../drivers/crypto/mlx5/mlx5_crypto_dek.c:95:13: warning: nested extern declaration of ‘mlx5_devx_cmd_create_dek_obj’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto_dek.c:71:28: warning: unused variable ‘dek_attr’ [-Wunused-variable]
  struct mlx5_devx_dek_attr dek_attr = {
                            ^~~~~~~~
In file included from ../lib/eal/x86/include/rte_byteorder.h:13:0,
                 from ../lib/net/rte_ip.h:30,
                 from ../drivers/crypto/mlx5/mlx5_crypto_dek.c:5:
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_remove_cb’:
../lib/eal/include/rte_common.h:774:46: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    const typeof(((type *)0)->member) *_ptr = (ptr); \
                                              ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c:109:3: note: in expansion of macro ‘container_of’
   container_of(entry, typeof(*dek), entry);
   ^~~~~~~~~~~~
../lib/eal/include/rte_common.h:774:46: note: (near initialization for ‘dek’)
    const typeof(((type *)0)->member) *_ptr = (ptr); \
                                              ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c:109:3: note: in expansion of macro ‘container_of’
   container_of(entry, typeof(*dek), entry);
   ^~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_setup’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:119:20: warning: implicit declaration of function ‘mlx5_hlist_create’; did you mean ‘mlx5_devx_sq_create’? [-Wimplicit-function-declaration]
  priv->dek_hlist = mlx5_hlist_create("dek_hlist",
                    ^~~~~~~~~~~~~~~~~
                    mlx5_devx_sq_create
../drivers/crypto/mlx5/mlx5_crypto_dek.c:119:20: warning: nested extern declaration of ‘mlx5_hlist_create’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto_dek.c:121:9: error: ‘MLX5_HLIST_WRITE_MOST’ undeclared (first use in this function); did you mean ‘MLX5_VIRTQ_STATE_INIT’?
      0, MLX5_HLIST_WRITE_MOST |
         ^~~~~~~~~~~~~~~~~~~~~
         MLX5_VIRTQ_STATE_INIT
../drivers/crypto/mlx5/mlx5_crypto_dek.c:122:6: error: ‘MLX5_HLIST_DIRECT_KEY’ undeclared (first use in this function); did you mean ‘MLX5_HLIST_WRITE_MOST’?
      MLX5_HLIST_DIRECT_KEY,
      ^~~~~~~~~~~~~~~~~~~~~
      MLX5_HLIST_WRITE_MOST
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_unset’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:134:2: warning: implicit declaration of function ‘mlx5_hlist_destroy’; did you mean ‘mlx5_devx_sq_destroy’? [-Wimplicit-function-declaration]
  mlx5_hlist_destroy(priv->dek_hlist);
  ^~~~~~~~~~~~~~~~~~
  mlx5_devx_sq_destroy
../drivers/crypto/mlx5/mlx5_crypto_dek.c:134:2: warning: nested extern declaration of ‘mlx5_hlist_destroy’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_destroy’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:26:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../drivers/crypto/mlx5/mlx5_crypto_dek.c: In function ‘mlx5_crypto_dek_prepare’:
../drivers/crypto/mlx5/mlx5_crypto_dek.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[75/582] Compiling C object drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto.c.o
FAILED: drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto.c.o 
ccache cc -Idrivers/libtmp_rte_crypto_mlx5.a.p -Idrivers -I../drivers -Idrivers/crypto/mlx5 -I../drivers/crypto/mlx5 -Ilib/cryptodev -I../lib/cryptodev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Ilib/hash -I../lib/hash -Ilib/net -I../lib/net -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MQ drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto.c.o -MF drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto.c.o.d -o drivers/libtmp_rte_crypto_mlx5.a.p/crypto_mlx5_mlx5_crypto.c.o -c ../drivers/crypto/mlx5/mlx5_crypto.c
In file included from ../drivers/crypto/mlx5/mlx5_crypto.h:13:0,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:19:
../drivers/common/mlx5/mlx5_common_utils.h:15:0: warning: "DRV_LOG" redefined
 #define DRV_LOG(level, ...) \
 
In file included from ../drivers/crypto/mlx5/mlx5_crypto.c:18:0:
../drivers/crypto/mlx5/mlx5_crypto_utils.h:14:0: note: this is the location of the previous definition
 #define DRV_LOG(level, ...) \
 
In file included from ../drivers/crypto/mlx5/mlx5_crypto.c:19:0:
../drivers/crypto/mlx5/mlx5_crypto.h:64:26: error: field ‘entry’ has incomplete type
  struct mlx5_hlist_entry entry; /* Pointer to DEK hash list entry. */
                          ^~~~~
../drivers/crypto/mlx5/mlx5_crypto.h:72:37: error: field ‘login_attr’ has incomplete type
  struct mlx5_devx_crypto_login_attr login_attr;
                                     ^~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_sym_session_configure’:
../drivers/crypto/mlx5/mlx5_crypto.c:204:22: error: ‘MLX5_ENCRYPTION_ORDER_ENCRYPTED_RAW_MEMORY’ undeclared (first use in this function)
   encryption_order = MLX5_ENCRYPTION_ORDER_ENCRYPTED_RAW_MEMORY;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:204:22: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/mlx5/mlx5_crypto.c:206:22: error: ‘MLX5_ENCRYPTION_ORDER_ENCRYPTED_RAW_WIRE’ undeclared (first use in this function); did you mean ‘MLX5_ENCRYPTION_ORDER_ENCRYPTED_RAW_MEMORY’?
   encryption_order = MLX5_ENCRYPTION_ORDER_ENCRYPTED_RAW_WIRE;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      MLX5_ENCRYPTION_ORDER_ENCRYPTED_RAW_MEMORY
In file included from ../drivers/common/mlx5/linux/mlx5_glue.h:21:0,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:12:
../drivers/crypto/mlx5/mlx5_crypto.c:208:5: error: ‘MLX5_BSF_SIZE_64B’ undeclared (first use in this function); did you mean ‘MLX5_CQE_SIZE_64B’?
    (MLX5_BSF_SIZE_64B << MLX5_BSF_SIZE_OFFSET |
     ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:207:36: note: in expansion of macro ‘rte_cpu_to_be_32’
  sess_private_data->bs_bpt_eo_es = rte_cpu_to_be_32
                                    ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:208:26: error: ‘MLX5_BSF_SIZE_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_BSF_SIZE_64B’?
    (MLX5_BSF_SIZE_64B << MLX5_BSF_SIZE_OFFSET |
                          ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:207:36: note: in expansion of macro ‘rte_cpu_to_be_32’
  sess_private_data->bs_bpt_eo_es = rte_cpu_to_be_32
                                    ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:209:5: error: ‘MLX5_BSF_P_TYPE_CRYPTO’ undeclared (first use in this function); did you mean ‘MLX5_CLASS_CRYPTO’?
     MLX5_BSF_P_TYPE_CRYPTO << MLX5_BSF_P_TYPE_OFFSET |
     ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:207:36: note: in expansion of macro ‘rte_cpu_to_be_32’
  sess_private_data->bs_bpt_eo_es = rte_cpu_to_be_32
                                    ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:209:31: error: ‘MLX5_BSF_P_TYPE_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_BSF_SIZE_OFFSET’?
     MLX5_BSF_P_TYPE_CRYPTO << MLX5_BSF_P_TYPE_OFFSET |
                               ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:207:36: note: in expansion of macro ‘rte_cpu_to_be_32’
  sess_private_data->bs_bpt_eo_es = rte_cpu_to_be_32
                                    ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:210:25: error: ‘MLX5_ENCRYPTION_ORDER_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_COMP_MODE_OFFSET’?
     encryption_order << MLX5_ENCRYPTION_ORDER_OFFSET |
                         ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:207:36: note: in expansion of macro ‘rte_cpu_to_be_32’
  sess_private_data->bs_bpt_eo_es = rte_cpu_to_be_32
                                    ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:211:5: error: ‘MLX5_ENCRYPTION_STANDARD_AES_XTS’ undeclared (first use in this function); did you mean ‘MLX5_ENCRYPTION_ORDER_OFFSET’?
     MLX5_ENCRYPTION_STANDARD_AES_XTS);
     ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:207:36: note: in expansion of macro ‘rte_cpu_to_be_32’
  sess_private_data->bs_bpt_eo_es = rte_cpu_to_be_32
                                    ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:218:22: error: ‘MLX5_BLOCK_SIZE_512B’ undeclared (first use in this function); did you mean ‘MLX5_BSF_SIZE_64B’?
           ((uint32_t)MLX5_BLOCK_SIZE_512B <<
                      ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:217:32: note: in expansion of macro ‘rte_cpu_to_be_32’
   sess_private_data->bsp_res = rte_cpu_to_be_32
                                ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:219:11: error: ‘MLX5_BLOCK_SIZE_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_BSF_SIZE_OFFSET’?
           MLX5_BLOCK_SIZE_OFFSET);
           ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:217:32: note: in expansion of macro ‘rte_cpu_to_be_32’
   sess_private_data->bsp_res = rte_cpu_to_be_32
                                ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:223:22: error: ‘MLX5_BLOCK_SIZE_4096B’ undeclared (first use in this function); did you mean ‘MLX5_BLOCK_SIZE_512B’?
           ((uint32_t)MLX5_BLOCK_SIZE_4096B <<
                      ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:222:32: note: in expansion of macro ‘rte_cpu_to_be_32’
   sess_private_data->bsp_res = rte_cpu_to_be_32
                                ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_byteorder.h:15:0,
                 from ../drivers/common/mlx5/linux/mlx5_glue.h:21,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:12:
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_get_block_size’:
../drivers/crypto/mlx5/mlx5_crypto.c:310:19: error: ‘MLX5_BLOCK_SIZE_1MB’ undeclared (first use in this function); did you mean ‘MLX5_CQE_SIZE_128B’?
   return RTE_BE32(MLX5_BLOCK_SIZE_1MB << MLX5_BLOCK_SIZE_OFFSET);
                   ^
../lib/eal/include/generic/rte_byteorder.h:58:16: note: in definition of macro ‘RTE_STATIC_BSWAP32’
  ((((uint32_t)(v) & UINT32_C(0x000000ff)) << 24) | \
                ^
../drivers/crypto/mlx5/mlx5_crypto.c:310:10: note: in expansion of macro ‘RTE_BE32’
   return RTE_BE32(MLX5_BLOCK_SIZE_1MB << MLX5_BLOCK_SIZE_OFFSET);
          ^~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:310:42: error: ‘MLX5_BLOCK_SIZE_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_BLOCK_SIZE_1MB’?
   return RTE_BE32(MLX5_BLOCK_SIZE_1MB << MLX5_BLOCK_SIZE_OFFSET);
                                          ^
../lib/eal/include/generic/rte_byteorder.h:58:16: note: in definition of macro ‘RTE_STATIC_BSWAP32’
  ((((uint32_t)(v) & UINT32_C(0x000000ff)) << 24) | \
                ^
../drivers/crypto/mlx5/mlx5_crypto.c:310:10: note: in expansion of macro ‘RTE_BE32’
   return RTE_BE32(MLX5_BLOCK_SIZE_1MB << MLX5_BLOCK_SIZE_OFFSET);
          ^~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:312:19: error: ‘MLX5_BLOCK_SIZE_4096B’ undeclared (first use in this function); did you mean ‘MLX5_BLOCK_SIZE_1MB’?
   return RTE_BE32(MLX5_BLOCK_SIZE_4096B <<
                   ^
../lib/eal/include/generic/rte_byteorder.h:58:16: note: in definition of macro ‘RTE_STATIC_BSWAP32’
  ((((uint32_t)(v) & UINT32_C(0x000000ff)) << 24) | \
                ^
../drivers/crypto/mlx5/mlx5_crypto.c:312:10: note: in expansion of macro ‘RTE_BE32’
   return RTE_BE32(MLX5_BLOCK_SIZE_4096B <<
          ^~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:315:19: error: ‘MLX5_BLOCK_SIZE_512B’ undeclared (first use in this function); did you mean ‘MLX5_BLOCK_SIZE_1MB’?
   return RTE_BE32(MLX5_BLOCK_SIZE_512B << MLX5_BLOCK_SIZE_OFFSET);
                   ^
../lib/eal/include/generic/rte_byteorder.h:58:16: note: in definition of macro ‘RTE_STATIC_BSWAP32’
  ((((uint32_t)(v) & UINT32_C(0x000000ff)) << 24) | \
                ^
../drivers/crypto/mlx5/mlx5_crypto.c:315:10: note: in expansion of macro ‘RTE_BE32’
   return RTE_BE32(MLX5_BLOCK_SIZE_512B << MLX5_BLOCK_SIZE_OFFSET);
          ^~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c: At top level:
../drivers/crypto/mlx5/mlx5_crypto.c:378:12: warning: ‘struct mlx5_umr_wqe’ declared inside parameter list will not be visible outside of this definition or declaration
     struct mlx5_umr_wqe *umr)
            ^~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_wqe_set’:
../drivers/crypto/mlx5/mlx5_crypto.c:382:35: error: dereferencing pointer to incomplete type ‘struct mlx5_umr_wqe’
  struct mlx5_wqe_cseg *cseg = &umr->ctr;
                                   ^~
../drivers/crypto/mlx5/mlx5_crypto.c:386:49: error: invalid use of undefined type ‘struct mlx5_wqe_umr_bsf_seg’
           RTE_PTR_ADD(umr, priv->umr_wqe_size)) - 1;
                                                 ^
../drivers/crypto/mlx5/mlx5_crypto.c:394:5: error: dereferencing pointer to incomplete type ‘struct mlx5_wqe_umr_bsf_seg’
  bsf->bs_bpt_eo_es = sess->bs_bpt_eo_es;
     ^~
../drivers/crypto/mlx5/mlx5_crypto.c:409:5: error: dereferencing pointer to incomplete type ‘struct mlx5_wqe_mkey_cseg’
  mkc->len = rte_cpu_to_be_64(op->sym->cipher.data.length);
     ^~
In file included from ../lib/eal/include/rte_memory.h:22:0,
                 from ../lib/eal/include/rte_malloc.h:17,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:5:
../drivers/crypto/mlx5/mlx5_crypto.c:412:34: error: invalid application of ‘sizeof’ to incomplete type ‘struct mlx5_rdma_write_wqe’
  klms = RTE_PTR_ADD(cseg, sizeof(struct mlx5_rdma_write_wqe));
                                  ^
../lib/eal/include/rte_common.h:250:58: note: in definition of macro ‘RTE_PTR_ADD’
 #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
                                                          ^
In file included from ../lib/eal/x86/include/rte_spinlock.h:15:0,
                 from ../lib/eal/x86/include/rte_rwlock.h:13,
                 from ../lib/eal/include/rte_fbarray.h:40,
                 from ../lib/eal/include/rte_memory.h:25,
                 from ../lib/eal/include/rte_malloc.h:17,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:5:
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_enqueue_burst’:
../drivers/crypto/mlx5/mlx5_crypto.c:472:50: warning: passing argument 4 of ‘mlx5_crypto_wqe_set’ from incompatible pointer type [-Wincompatible-pointer-types]
   if (unlikely(mlx5_crypto_wqe_set(priv, qp, op, umr) == 0)) {
                                                  ^
../lib/eal/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’
 #define unlikely(x) __builtin_expect(!!(x), 0)
                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:375:1: note: expected ‘struct mlx5_umr_wqe *’ but argument is of type ‘struct mlx5_umr_wqe *’
 mlx5_crypto_wqe_set(struct mlx5_crypto_priv *priv,
 ^~~~~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_qp_init’:
../drivers/crypto/mlx5/mlx5_crypto.c:553:35: error: invalid use of undefined type ‘struct mlx5_wqe_umr_bsf_seg’
              priv->umr_wqe_size)) - 1;
                                   ^
../drivers/crypto/mlx5/mlx5_crypto.c:562:8: error: dereferencing pointer to incomplete type ‘struct mlx5_wqe_umr_cseg’
   ucseg->if_cf_toe_cq_res = RTE_BE32(1u << MLX5_UMRC_IF_OFFSET);
        ^~
In file included from ../lib/eal/x86/include/rte_byteorder.h:15:0,
                 from ../drivers/common/mlx5/linux/mlx5_glue.h:21,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:12:
../drivers/crypto/mlx5/mlx5_crypto.c:562:44: error: ‘MLX5_UMRC_IF_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_CQ_SQN_OFFSET’?
   ucseg->if_cf_toe_cq_res = RTE_BE32(1u << MLX5_UMRC_IF_OFFSET);
                                            ^
../lib/eal/include/generic/rte_byteorder.h:58:16: note: in definition of macro ‘RTE_STATIC_BSWAP32’
  ((((uint32_t)(v) & UINT32_C(0x000000ff)) << 24) | \
                ^
../drivers/crypto/mlx5/mlx5_crypto.c:562:29: note: in expansion of macro ‘RTE_BE32’
   ucseg->if_cf_toe_cq_res = RTE_BE32(1u << MLX5_UMRC_IF_OFFSET);
                             ^~~~~~~~
In file included from ../drivers/common/mlx5/linux/mlx5_glue.h:21:0,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:12:
../drivers/crypto/mlx5/mlx5_crypto.c:566:5: error: ‘MLX5_UMRC_KO_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_UMRC_IF_OFFSET’?
     MLX5_UMRC_KO_OFFSET) | (4 << MLX5_UMRC_TO_BS_OFFSET));
     ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:564:21: note: in expansion of macro ‘rte_cpu_to_be_32’
   ucseg->ko_to_bs = rte_cpu_to_be_32
                     ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:566:34: error: ‘MLX5_UMRC_TO_BS_OFFSET’ undeclared (first use in this function); did you mean ‘MLX5_UMRC_KO_OFFSET’?
     MLX5_UMRC_KO_OFFSET) | (4 << MLX5_UMRC_TO_BS_OFFSET));
                                  ^
../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap32’
 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ?  \
                                                         ^
../drivers/crypto/mlx5/mlx5_crypto.c:564:21: note: in expansion of macro ‘rte_cpu_to_be_32’
   ucseg->ko_to_bs = rte_cpu_to_be_32
                     ^~~~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:567:6: error: dereferencing pointer to incomplete type ‘struct mlx5_wqe_umr_bsf_seg’
   bsf->keytag = priv->keytag;
      ^~
../drivers/crypto/mlx5/mlx5_crypto.c:574:7: error: dereferencing pointer to incomplete type ‘struct mlx5_wqe_rseg’
   rseg->rkey = rte_cpu_to_be_32(qp->mkey[i]->id);
       ^~
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_indirect_mkeys_prepare’:
../drivers/crypto/mlx5/mlx5_crypto.c:587:4: error: ‘struct mlx5_devx_mkey_attr’ has no member named ‘crypto_en’
   .crypto_en = 1,
    ^~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:587:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   .crypto_en = 1,
                ^
../drivers/crypto/mlx5/mlx5_crypto.c:587:16: note: (near initialization for ‘attr.klm_array’)
../drivers/crypto/mlx5/mlx5_crypto.c:588:4: error: ‘struct mlx5_devx_mkey_attr’ has no member named ‘set_remote_rw’
   .set_remote_rw = 1,
    ^~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_memory.h:22:0,
                 from ../lib/eal/include/rte_malloc.h:17,
                 from ../drivers/crypto/mlx5/mlx5_crypto.c:5:
../lib/eal/include/rte_common.h:289:2: warning: initialized field overwritten [-Woverride-init]
  (typeof(val))((val) & (~((typeof(val))((align) - 1))))
  ^
../lib/eal/include/rte_common.h:307:2: note: in expansion of macro ‘RTE_ALIGN_FLOOR’
  RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
  ^~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:325:31: note: in expansion of macro ‘RTE_ALIGN_CEIL’
 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                               ^~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:589:14: note: in expansion of macro ‘RTE_ALIGN’
   .klm_num = RTE_ALIGN(priv->max_segs_num, 4),
              ^~~~~~~~~
../lib/eal/include/rte_common.h:289:2: note: (near initialization for ‘attr.klm_num’)
  (typeof(val))((val) & (~((typeof(val))((align) - 1))))
  ^
../lib/eal/include/rte_common.h:307:2: note: in expansion of macro ‘RTE_ALIGN_FLOOR’
  RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
  ^~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:325:31: note: in expansion of macro ‘RTE_ALIGN_CEIL’
 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                               ^~~~~~~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:589:14: note: in expansion of macro ‘RTE_ALIGN’
   .klm_num = RTE_ALIGN(priv->max_segs_num, 4),
              ^~~~~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:594:43: error: dereferencing pointer to incomplete type ‘struct mlx5_umr_wqe’
   attr.klm_array = (struct mlx5_klm *)&umr->kseg[0];
                                           ^~
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_args_check_handler’:
../drivers/crypto/mlx5/mlx5_crypto.c:820:20: error: ‘MLX5_CRYPTO_CREDENTIAL_SIZE’ undeclared (first use in this function); did you mean ‘MLX5_CRYPTO_DEK_HTABLE_SZ’?
   for (i = 0 ; i < MLX5_CRYPTO_CREDENTIAL_SIZE ; i++) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                    MLX5_CRYPTO_DEK_HTABLE_SZ
../drivers/crypto/mlx5/mlx5_crypto.c:821:38: error: dereferencing pointer to incomplete type ‘struct mlx5_devx_crypto_login_attr’
    ret = fscanf(file, "%02hhX", &attr->credential[i]);
                                      ^~
../drivers/crypto/mlx5/mlx5_crypto.c: In function ‘mlx5_crypto_pci_probe’:
../drivers/crypto/mlx5/mlx5_crypto.c:943:8: warning: implicit declaration of function ‘mlx5_os_get_ibv_device’; did you mean ‘mlx5_os_get_dev_device_name’? [-Wimplicit-function-declaration]
  ibv = mlx5_os_get_ibv_device(&pci_dev->addr);
        ^~~~~~~~~~~~~~~~~~~~~~
        mlx5_os_get_dev_device_name
../drivers/crypto/mlx5/mlx5_crypto.c:943:8: warning: nested extern declaration of ‘mlx5_os_get_ibv_device’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto.c:943:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  ibv = mlx5_os_get_ibv_device(&pci_dev->addr);
      ^
../drivers/crypto/mlx5/mlx5_crypto.c:959:10: error: ‘struct mlx5_hca_attr’ has no member named ‘crypto’
      attr.crypto == 0 || attr.aes_xts == 0) {
          ^
../drivers/crypto/mlx5/mlx5_crypto.c:959:30: error: ‘struct mlx5_hca_attr’ has no member named ‘aes_xts’
      attr.crypto == 0 || attr.aes_xts == 0) {
                              ^
../drivers/crypto/mlx5/mlx5_crypto.c:971:10: warning: implicit declaration of function ‘mlx5_devx_cmd_create_crypto_login_obj’; did you mean ‘mlx5_devx_cmd_create_flow_hit_aso_obj’? [-Wimplicit-function-declaration]
  login = mlx5_devx_cmd_create_crypto_login_obj(ctx,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          mlx5_devx_cmd_create_flow_hit_aso_obj
../drivers/crypto/mlx5/mlx5_crypto.c:971:10: warning: nested extern declaration of ‘mlx5_devx_cmd_create_crypto_login_obj’ [-Wnested-externs]
../drivers/crypto/mlx5/mlx5_crypto.c:1014:30: error: invalid application of ‘sizeof’ to incomplete type ‘struct mlx5_wqe_umr_bsf_seg’
  priv->umr_wqe_size = sizeof(struct mlx5_wqe_umr_bsf_seg) +
                              ^~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:1015:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct mlx5_umr_wqe’
         sizeof(struct mlx5_umr_wqe) +
                ^~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:1018:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct mlx5_rdma_write_wqe’
  priv->rdmw_wqe_size = sizeof(struct mlx5_rdma_write_wqe) +
                               ^~~~~~
../drivers/crypto/mlx5/mlx5_crypto.c:1026:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct mlx5_rdma_write_wqe’
      sizeof(struct mlx5_rdma_write_wqe)) /
             ^~~~~~
[76/582] Linking target drivers/librte_crypto_null.so.21.2
[77/582] Generating rte_crypto_virtio.pmd.c with a custom command
[78/582] Generating rte_crypto_octeontx.sym_chk with a custom command (wrapped by meson to capture output)
[79/582] Compiling C object drivers/libtmp_rte_regex_octeontx2.a.p/regex_octeontx2_otx2_regexdev.c.o
[80/582] Generating rte_compress_octeontx.pmd.c with a custom command
[81/582] Generating rte_compress_zlib.pmd.c with a custom command
[82/582] Compiling C object drivers/libtmp_rte_compress_mlx5.a.p/compress_mlx5_mlx5_compress.c.o
[83/582] Generating rte_crypto_openssl.sym_chk with a custom command (wrapped by meson to capture output)
[84/582] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5_mlx5_regex.c.o
[85/582] Generating rte_crypto_octeontx2.sym_chk with a custom command (wrapped by meson to capture output)
[86/582] Generating rte_net_mlx5.sym_chk with a custom command (wrapped by meson to capture output)
[87/582] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5_mlx5_regex_devx.c.o
[88/582] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5_mlx5_regex_control.c.o
[89/582] Generating rte_crypto_scheduler.sym_chk with a custom command (wrapped by meson to capture output)
[90/582] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5_mlx5_rxp.c.o
[91/582] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5_mlx5_regex_fastpath.c.o
ninja: build stopped: subcommand failed.

https://lab.dpdk.org/results/dashboard/patchsets/16928/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-04 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 21:30 [dpdk-test-report] |FAILURE| pw92761-92775 [PATCH] [v3, 15/15] crypto/mlx5: set feature flags and capabilities dpdklab

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).