vhost: fix missing header includes
The vhost header files were missing definitions from headers to allow them to be compiled up individually. Fixes:d7280c9fff
("vhost: support selective datapath") Fixes:a49f758d11
("vhost: split vDPA header file") Fixes:939066d965
("vhost/crypto: add public function implementation") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
parent
585617c320
commit
820778fad6
@ -11,6 +11,8 @@
|
||||
* Device specific vhost lib
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/** Maximum name length for statistics counters */
|
||||
#define RTE_VDPA_STATS_NAME_SIZE 64
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "rte_vhost.h"
|
||||
#include "rte_vdpa.h"
|
||||
|
||||
#define RTE_VHOST_QUEUE_ALL UINT16_MAX
|
||||
|
||||
|
@ -5,6 +5,14 @@
|
||||
#ifndef _VHOST_CRYPTO_H_
|
||||
#define _VHOST_CRYPTO_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <rte_compat.h>
|
||||
|
||||
/* pre-declare structs to avoid including full headers */
|
||||
struct rte_mempool;
|
||||
struct rte_crypto_op;
|
||||
|
||||
#define VHOST_CRYPTO_MBUF_POOL_SIZE (8192)
|
||||
#define VHOST_CRYPTO_MAX_BURST_SIZE (64)
|
||||
#define VHOST_CRYPTO_MAX_DATA_SIZE (4096)
|
||||
|
Loading…
Reference in New Issue
Block a user