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: 097ab0bac0 ("crypto/scheduler: add API")
Fixes: 503e9c5afb ("crypto/scheduler: register as vdev driver")
Fixes: 31439ee72b ("crypto/scheduler: add API implementations")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Bruce Richardson 2017-03-28 11:58:16 +01:00 committed by Thomas Monjalon
parent 80267f6855
commit b88161be42
4 changed files with 4 additions and 4 deletions

View 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

View 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" {

View 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 {

View 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