Skip to contentSkip to conversation

crypto/qat: fix build when no openssl exists

PATCH Akhil Goyal 2 participants 2 messages Oct 30, 2023 – Oct 31, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Akhil Goyal

author Applied
#1 lore raw
Quoted 8 lines

Previously some compilation errors existed when no openssl was installed on the system, and intel-ipsec-mb was installed, due to missing headers and macros.

This patch fixes the issue by adding in extra ifdefs around openssl specific code paths, and by adding the relevant macros explicitly in QAT code so it does not depend on openssl at all.

Quoted 5 lines
Fixes ca0ba0e48129 ("crypto/qat: default to IPsec MB for computations")

Applied to dpdk-next-crypto
Thanks.

Acked-by
#2 lore raw
In reply to a message not in the archive

Hi Ciara,

Quoted 16 lines

-----Original Message-----
From: Power, Ciara <[email protected]>
Sent: Friday, October 27, 2023 3:23 PM
To: [email protected]
Cc: Power, Ciara <[email protected]>; Dooley, Brian <[email protected]>; [email protected]; Ji, Kai <[email protected]>
Subject: [PATCH] crypto/qat: fix build when no openssl exists

Previously some compilation errors existed when no openssl was installed on the system, and intel-ipsec-mb was installed, due to missing headers and macros.

This patch fixes the issue by adding in extra ifdefs around openssl specific code paths, and by adding the relevant macros explicitly in QAT code so it does not depend on openssl at all.

Quoted 5 lines
Fixes ca0ba0e48129 ("crypto/qat: default to IPsec MB for computations")

Thanks!