Skip to content

Commit

Permalink
common/qat: change define header
Browse files Browse the repository at this point in the history
change define from RTE_LIB_SECURITY to BUILD_QAT_SYM as
RTE_ETHER_CRC_LEN value is protected by BUILD_QAT_SYM.

Fixes: ce7a737 ("crypto/qat: support cipher-CRC offload")
Cc: kevin.osullivan@intel.com

Signed-off-by: Brian Dooley <brian.dooley@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
bdoole1 authored and ovsrobot committed Jul 6, 2023
1 parent c06093f commit 13b2894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/common/qat/qat_qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <bus_pci_driver.h>
#include <rte_atomic.h>
#include <rte_prefetch.h>
#ifdef RTE_LIB_SECURITY
#ifdef BUILD_QAT_SYM
#include <rte_ether.h>
#endif

Expand Down

0 comments on commit 13b2894

Please sign in to comment.