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: Naresh Kamboju <hidden>
Date: 2024-01-30 02:53:10
Also in: linux-rdma, stable

On Mon, 29 Jan 2024 at 21:58, Greg Kroah-Hartman
[off-list ref] wrote:
On Mon, Jan 29, 2024 at 09:17:31PM +0530, Naresh Kamboju wrote:
quoted
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?
As per the Daniel report on stable-rc review on 6.1, these build failures also
reported on System/390.

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