xref: /spdk/test/common/config/pkgdep/patches/dpdk/20.11/dpdk_qat.patch (revision 5673325a6f12624e9e130ba7a7075482d82c0838)
1Commit based on:
2https://github.com/spdk/dpdk/commit/c2c273d5c8fbf673623b427f8f4ab5af5ddf0e08
3---
4 drivers/common/qat/meson.build | 4 ++--
5 drivers/crypto/qat/meson.build | 7 ++-----
6 2 files changed, 4 insertions(+), 7 deletions(-)
7
8diff --git a/drivers/common/qat/meson.build b/drivers/common/qat/meson.build
9index 29e1299f20b..9d67cfbb257 100644
10--- a/drivers/common/qat/meson.build
11+++ b/drivers/common/qat/meson.build
12@@ -56,10 +56,10 @@ endif
13
14 if qat_crypto
15 	foreach f: ['qat_sym_pmd.c', 'qat_sym.c', 'qat_sym_session.c',
16-			'qat_sym_hw_dp.c', 'qat_asym_pmd.c', 'qat_asym.c']
17+			'qat_sym_hw_dp.c']
18 		sources += files(join_paths(qat_crypto_relpath, f))
19 	endforeach
20 	deps += ['security']
21 	ext_deps += libcrypto
22-	cflags += ['-DBUILD_QAT_SYM', '-DBUILD_QAT_ASYM']
23+	cflags += ['-DBUILD_QAT_SYM']
24 endif
25diff --git a/drivers/crypto/qat/meson.build b/drivers/crypto/qat/meson.build
26index bc90ec44ccd..9e64ad6b2d6 100644
27--- a/drivers/crypto/qat/meson.build
28+++ b/drivers/crypto/qat/meson.build
29@@ -13,12 +13,9 @@ qat_deps += 'security'
30 if dep.found()
31 	# Add our sources files to the list
32 	qat_sources += files('qat_sym_pmd.c',
33-			     'qat_sym.c',
34-			     'qat_sym_session.c',
35 			     'qat_sym_hw_dp.c',
36-			     'qat_asym_pmd.c',
37-			     'qat_asym.c')
38+			     'qat_sym.c',
39+			     'qat_sym_session.c')
40 	qat_ext_deps += dep
41 	qat_cflags += '-DBUILD_QAT_SYM'
42-	qat_cflags += '-DBUILD_QAT_ASYM'
43 endif
44