]> git.droids-corp.org - dpdk.git/commitdiff
crypto/scheduler: fix include of local headers
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 28 Mar 2017 10:58:16 +0000 (11:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Mar 2017 12:05:03 +0000 (14:05 +0200)
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 <bruce.richardson@intel.com>
drivers/crypto/scheduler/rte_cryptodev_scheduler.c
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
drivers/crypto/scheduler/scheduler_pmd.c
drivers/crypto/scheduler/scheduler_pmd_private.h

index 11e81434c93485eb9892de4200b4dfe87e8b9afc..2f49ad4bedfed6cbde76c366aad82ee05e3a851b 100644 (file)
@@ -32,9 +32,9 @@
 #include <rte_reorder.h>
 #include <rte_cryptodev.h>
 #include <rte_cryptodev_pmd.h>
-#include <rte_cryptodev_scheduler.h>
 #include <rte_malloc.h>
 
+#include "rte_cryptodev_scheduler.h"
 #include "scheduler_pmd_private.h"
 
 /** update the scheduler pmd's capability with attaching device's
index 7ef44e7428a6b8a096530a78680402cc114cbb92..98ab8f27ead83b04562cafebde1dd2a181fffb99 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef _RTE_CRYPTO_SCHEDULER_H
 #define _RTE_CRYPTO_SCHEDULER_H
 
-#include <rte_cryptodev_scheduler_operations.h>
+#include "rte_cryptodev_scheduler_operations.h"
 
 #ifdef __cplusplus
 extern "C" {
index eeafbe6f7103e23619e85608ed6ed98d37676711..7efdc9152a41aaf5c0ab054fdbcf444be94877fe 100644 (file)
@@ -37,8 +37,8 @@
 #include <rte_malloc.h>
 #include <rte_cpuflags.h>
 #include <rte_reorder.h>
-#include <rte_cryptodev_scheduler.h>
 
+#include "rte_cryptodev_scheduler.h"
 #include "scheduler_pmd_private.h"
 
 struct scheduler_init_params {
index ac4690e11532dd5209ae996a7193b6a98272f111..9a1409c364b24de838319e9d3b8d3366024c9478 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <rte_hash.h>
 #include <rte_reorder.h>
-#include <rte_cryptodev_scheduler.h>
+#include "rte_cryptodev_scheduler.h"
 
 /**< Maximum number of bonded devices per devices */
 #ifndef MAX_SLAVES_NUM