From: Bruce Richardson Date: Tue, 28 Mar 2017 10:58:16 +0000 (+0100) Subject: crypto/scheduler: fix include of local headers X-Git-Tag: spdx-start~4392 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b88161be422750fca0e66c76385d3d00912ba8fb;p=dpdk.git crypto/scheduler: fix include of local headers When a C file for a library/driver is including the public header files for that library, those need to be included as local includes using quotes rather than angle-brackets. Without doing so, parallel builds can fail, as the compiler will only look for those headers in the global include folder rather than locally, and the build system does not enforce that the headers for a lib are installed before the rest of the lib is compiled. Fixes: 097ab0bac017 ("crypto/scheduler: add API") Fixes: 503e9c5afb38 ("crypto/scheduler: register as vdev driver") Fixes: 31439ee72b2c ("crypto/scheduler: add API implementations") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c index 11e81434c9..2f49ad4bed 100644 --- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c +++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c @@ -32,9 +32,9 @@ #include #include #include -#include #include +#include "rte_cryptodev_scheduler.h" #include "scheduler_pmd_private.h" /** update the scheduler pmd's capability with attaching device's diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h index 7ef44e7428..98ab8f27ea 100644 --- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h +++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h @@ -34,7 +34,7 @@ #ifndef _RTE_CRYPTO_SCHEDULER_H #define _RTE_CRYPTO_SCHEDULER_H -#include +#include "rte_cryptodev_scheduler_operations.h" #ifdef __cplusplus extern "C" { diff --git a/drivers/crypto/scheduler/scheduler_pmd.c b/drivers/crypto/scheduler/scheduler_pmd.c index eeafbe6f71..7efdc9152a 100644 --- a/drivers/crypto/scheduler/scheduler_pmd.c +++ b/drivers/crypto/scheduler/scheduler_pmd.c @@ -37,8 +37,8 @@ #include #include #include -#include +#include "rte_cryptodev_scheduler.h" #include "scheduler_pmd_private.h" struct scheduler_init_params { diff --git a/drivers/crypto/scheduler/scheduler_pmd_private.h b/drivers/crypto/scheduler/scheduler_pmd_private.h index ac4690e115..9a1409c364 100644 --- a/drivers/crypto/scheduler/scheduler_pmd_private.h +++ b/drivers/crypto/scheduler/scheduler_pmd_private.h @@ -36,7 +36,7 @@ #include #include -#include +#include "rte_cryptodev_scheduler.h" /**< Maximum number of bonded devices per devices */ #ifndef MAX_SLAVES_NUM