Thread (6 messages) 6 messages, 4 authors, 2024-01-30

Re: stable-rc: 6.1: mlx5: params.c:994:53: error: 'MLX5_IPSEC_CAP_CRYPTO' undeclared (first use in this function)

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2024-01-29 16:28:04
Also in: linux-rdma, stable

On Mon, Jan 29, 2024 at 09:17:31PM +0530, Naresh Kamboju wrote:
Following build errors noticed on stable-rc linux-6.1.y for arm64.

arm64:
--------
  * build/gcc-13-lkftconfig
  * build/gcc-13-lkftconfig-kunit
  * build/clang-nightly-lkftconfig
  * build/clang-17-lkftconfig-no-kselftest-frag
  * build/gcc-13-lkftconfig-devicetree
  * build/clang-lkftconfig
  * build/gcc-13-lkftconfig-perf

Reported-by: Linux Kernel Functional Testing <redacted>

Build errors:
------
drivers/net/ethernet/mellanox/mlx5/core/en/params.c: In function
'mlx5e_build_sq_param':
drivers/net/ethernet/mellanox/mlx5/core/en/params.c:994:53: error:
'MLX5_IPSEC_CAP_CRYPTO' undeclared (first use in this function)
  994 |                     (mlx5_ipsec_device_caps(mdev) &
MLX5_IPSEC_CAP_CRYPTO);
      |
^~~~~~~~~~~~~~~~~~~~~

Suspecting commit:
  net/mlx5e: Allow software parsing when IPsec crypto is enabled
  [ Upstream commit 20f5468a7988dedd94a57ba8acd65ebda6a59723 ]
Something looks very odd here, as the proper .h file is being included,
AND this isn't a build failure on x86, so why is this only arm64 having
problems?  What's causing this not to show up?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help