bus/vdev: make driver-only headers private
The vdev bus interface is for drivers only. Mark as internal and move the header in the driver headers list. While at it, cleanup the code: - fix indentation, - remove unneeded reference to bus specific singleton object, - remove unneeded list head structure type, - reorder the definitions and macro manipulating the bus singleton object, - remove inclusion of rte_bus.h and fix the code that relied on implicit inclusion, Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
This commit is contained in:
parent
1f37cb2bb4
commit
4851ef2b40
@ -88,8 +88,8 @@ API Changes
|
|||||||
in the future. Applications can use ``devtools/cocci/func_or_ret.cocci``
|
in the future. Applications can use ``devtools/cocci/func_or_ret.cocci``
|
||||||
to update their code.
|
to update their code.
|
||||||
|
|
||||||
* drivers: Registering a driver on the ``auxiliary``, ``ifpga``, ``pci``
|
* drivers: Registering a driver on the ``auxiliary``, ``ifpga``, ``pci``,
|
||||||
buses has been marked as an internal API.
|
``vdev`` buses has been marked as an internal API.
|
||||||
External users may still register their driver using the associated driver
|
External users may still register their driver using the associated driver
|
||||||
headers (see ``enable_driver_sdk`` meson option).
|
headers (see ``enable_driver_sdk`` meson option).
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_ring.h>
|
#include <rte_ring.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_ring.h>
|
#include <rte_ring.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_ring.h>
|
#include <rte_ring.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
151
drivers/bus/vdev/bus_vdev_driver.h
Normal file
151
drivers/bus/vdev/bus_vdev_driver.h
Normal file
@ -0,0 +1,151 @@
|
|||||||
|
/* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
* Copyright(c) 2016 RehiveTech. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef BUS_VDEV_DRIVER_H
|
||||||
|
#define BUS_VDEV_DRIVER_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <rte_bus_vdev.h>
|
||||||
|
#include <rte_compat.h>
|
||||||
|
#include <rte_dev.h>
|
||||||
|
#include <rte_devargs.h>
|
||||||
|
|
||||||
|
struct rte_vdev_device {
|
||||||
|
RTE_TAILQ_ENTRY(rte_vdev_device) next; /**< Next attached vdev */
|
||||||
|
struct rte_device device; /**< Inherit core device */
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
* Helper macro for drivers that need to convert to struct rte_vdev_device.
|
||||||
|
*/
|
||||||
|
#define RTE_DEV_TO_VDEV(ptr) \
|
||||||
|
container_of(ptr, struct rte_vdev_device, device)
|
||||||
|
|
||||||
|
#define RTE_DEV_TO_VDEV_CONST(ptr) \
|
||||||
|
container_of(ptr, const struct rte_vdev_device, device)
|
||||||
|
|
||||||
|
#define RTE_ETH_DEV_TO_VDEV(eth_dev) RTE_DEV_TO_VDEV((eth_dev)->device)
|
||||||
|
|
||||||
|
static inline const char *
|
||||||
|
rte_vdev_device_name(const struct rte_vdev_device *dev)
|
||||||
|
{
|
||||||
|
if (dev && dev->device.name)
|
||||||
|
return dev->device.name;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline const char *
|
||||||
|
rte_vdev_device_args(const struct rte_vdev_device *dev)
|
||||||
|
{
|
||||||
|
if (dev && dev->device.devargs)
|
||||||
|
return dev->device.devargs->args;
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Probe function called for each virtual device driver once.
|
||||||
|
*/
|
||||||
|
typedef int (rte_vdev_probe_t)(struct rte_vdev_device *dev);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove function called for each virtual device driver once.
|
||||||
|
*/
|
||||||
|
typedef int (rte_vdev_remove_t)(struct rte_vdev_device *dev);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Driver-specific DMA mapping. After a successful call the device
|
||||||
|
* will be able to read/write from/to this segment.
|
||||||
|
*
|
||||||
|
* @param dev
|
||||||
|
* Pointer to the Virtual device.
|
||||||
|
* @param addr
|
||||||
|
* Starting virtual address of memory to be mapped.
|
||||||
|
* @param iova
|
||||||
|
* Starting IOVA address of memory to be mapped.
|
||||||
|
* @param len
|
||||||
|
* Length of memory segment being mapped.
|
||||||
|
* @return
|
||||||
|
* - 0 On success.
|
||||||
|
* - Negative value and rte_errno is set otherwise.
|
||||||
|
*/
|
||||||
|
typedef int (rte_vdev_dma_map_t)(struct rte_vdev_device *dev, void *addr,
|
||||||
|
uint64_t iova, size_t len);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Driver-specific DMA un-mapping. After a successful call the device
|
||||||
|
* will not be able to read/write from/to this segment.
|
||||||
|
*
|
||||||
|
* @param dev
|
||||||
|
* Pointer to the Virtual device.
|
||||||
|
* @param addr
|
||||||
|
* Starting virtual address of memory to be unmapped.
|
||||||
|
* @param iova
|
||||||
|
* Starting IOVA address of memory to be unmapped.
|
||||||
|
* @param len
|
||||||
|
* Length of memory segment being unmapped.
|
||||||
|
* @return
|
||||||
|
* - 0 On success.
|
||||||
|
* - Negative value and rte_errno is set otherwise.
|
||||||
|
*/
|
||||||
|
typedef int (rte_vdev_dma_unmap_t)(struct rte_vdev_device *dev, void *addr,
|
||||||
|
uint64_t iova, size_t len);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A virtual device driver abstraction.
|
||||||
|
*/
|
||||||
|
struct rte_vdev_driver {
|
||||||
|
RTE_TAILQ_ENTRY(rte_vdev_driver) next; /**< Next in list. */
|
||||||
|
struct rte_driver driver; /**< Inherited general driver. */
|
||||||
|
rte_vdev_probe_t *probe; /**< Virtual device probe function. */
|
||||||
|
rte_vdev_remove_t *remove; /**< Virtual device remove function. */
|
||||||
|
rte_vdev_dma_map_t *dma_map; /**< Virtual device DMA map function. */
|
||||||
|
rte_vdev_dma_unmap_t *dma_unmap; /**< Virtual device DMA unmap function. */
|
||||||
|
uint32_t drv_flags; /**< Flags RTE_VDEV_DRV_*. */
|
||||||
|
};
|
||||||
|
|
||||||
|
/** Device driver needs IOVA as VA and cannot work with IOVA as PA */
|
||||||
|
#define RTE_VDEV_DRV_NEED_IOVA_AS_VA 0x0001
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register a virtual device driver.
|
||||||
|
*
|
||||||
|
* @param driver
|
||||||
|
* A pointer to a rte_vdev_driver structure describing the driver
|
||||||
|
* to be registered.
|
||||||
|
*/
|
||||||
|
__rte_internal
|
||||||
|
void rte_vdev_register(struct rte_vdev_driver *driver);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unregister a virtual device driver.
|
||||||
|
*
|
||||||
|
* @param driver
|
||||||
|
* A pointer to a rte_vdev_driver structure describing the driver
|
||||||
|
* to be unregistered.
|
||||||
|
*/
|
||||||
|
__rte_internal
|
||||||
|
void rte_vdev_unregister(struct rte_vdev_driver *driver);
|
||||||
|
|
||||||
|
#define RTE_PMD_REGISTER_VDEV(nm, vdrv)\
|
||||||
|
static const char *vdrvinit_ ## nm ## _alias;\
|
||||||
|
RTE_INIT(vdrvinitfn_ ##vdrv)\
|
||||||
|
{\
|
||||||
|
(vdrv).driver.name = RTE_STR(nm);\
|
||||||
|
(vdrv).driver.alias = vdrvinit_ ## nm ## _alias;\
|
||||||
|
rte_vdev_register(&vdrv);\
|
||||||
|
} \
|
||||||
|
RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
|
||||||
|
|
||||||
|
#define RTE_PMD_REGISTER_ALIAS(nm, alias)\
|
||||||
|
static const char *vdrvinit_ ## nm ## _alias = RTE_STR(alias)
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* BUS_VDEV_DRIVER_H */
|
@ -6,5 +6,6 @@ sources = files(
|
|||||||
'vdev_params.c',
|
'vdev_params.c',
|
||||||
)
|
)
|
||||||
headers = files('rte_bus_vdev.h')
|
headers = files('rte_bus_vdev.h')
|
||||||
|
driver_sdk_headers = files('bus_vdev_driver.h')
|
||||||
|
|
||||||
deps += ['kvargs']
|
deps += ['kvargs']
|
||||||
|
@ -15,140 +15,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <rte_dev.h>
|
|
||||||
#include <rte_devargs.h>
|
|
||||||
|
|
||||||
struct rte_vdev_device {
|
|
||||||
RTE_TAILQ_ENTRY(rte_vdev_device) next; /**< Next attached vdev */
|
|
||||||
struct rte_device device; /**< Inherit core device */
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @internal
|
|
||||||
* Helper macro for drivers that need to convert to struct rte_vdev_device.
|
|
||||||
*/
|
|
||||||
#define RTE_DEV_TO_VDEV(ptr) \
|
|
||||||
container_of(ptr, struct rte_vdev_device, device)
|
|
||||||
|
|
||||||
#define RTE_DEV_TO_VDEV_CONST(ptr) \
|
|
||||||
container_of(ptr, const struct rte_vdev_device, device)
|
|
||||||
|
|
||||||
#define RTE_ETH_DEV_TO_VDEV(eth_dev) RTE_DEV_TO_VDEV((eth_dev)->device)
|
|
||||||
|
|
||||||
static inline const char *
|
|
||||||
rte_vdev_device_name(const struct rte_vdev_device *dev)
|
|
||||||
{
|
|
||||||
if (dev && dev->device.name)
|
|
||||||
return dev->device.name;
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline const char *
|
|
||||||
rte_vdev_device_args(const struct rte_vdev_device *dev)
|
|
||||||
{
|
|
||||||
if (dev && dev->device.devargs)
|
|
||||||
return dev->device.devargs->args;
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Double linked list of virtual device drivers. */
|
|
||||||
RTE_TAILQ_HEAD(vdev_driver_list, rte_vdev_driver);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Probe function called for each virtual device driver once.
|
|
||||||
*/
|
|
||||||
typedef int (rte_vdev_probe_t)(struct rte_vdev_device *dev);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove function called for each virtual device driver once.
|
|
||||||
*/
|
|
||||||
typedef int (rte_vdev_remove_t)(struct rte_vdev_device *dev);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Driver-specific DMA mapping. After a successful call the device
|
|
||||||
* will be able to read/write from/to this segment.
|
|
||||||
*
|
|
||||||
* @param dev
|
|
||||||
* Pointer to the Virtual device.
|
|
||||||
* @param addr
|
|
||||||
* Starting virtual address of memory to be mapped.
|
|
||||||
* @param iova
|
|
||||||
* Starting IOVA address of memory to be mapped.
|
|
||||||
* @param len
|
|
||||||
* Length of memory segment being mapped.
|
|
||||||
* @return
|
|
||||||
* - 0 On success.
|
|
||||||
* - Negative value and rte_errno is set otherwise.
|
|
||||||
*/
|
|
||||||
typedef int (rte_vdev_dma_map_t)(struct rte_vdev_device *dev, void *addr,
|
|
||||||
uint64_t iova, size_t len);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Driver-specific DMA un-mapping. After a successful call the device
|
|
||||||
* will not be able to read/write from/to this segment.
|
|
||||||
*
|
|
||||||
* @param dev
|
|
||||||
* Pointer to the Virtual device.
|
|
||||||
* @param addr
|
|
||||||
* Starting virtual address of memory to be unmapped.
|
|
||||||
* @param iova
|
|
||||||
* Starting IOVA address of memory to be unmapped.
|
|
||||||
* @param len
|
|
||||||
* Length of memory segment being unmapped.
|
|
||||||
* @return
|
|
||||||
* - 0 On success.
|
|
||||||
* - Negative value and rte_errno is set otherwise.
|
|
||||||
*/
|
|
||||||
typedef int (rte_vdev_dma_unmap_t)(struct rte_vdev_device *dev, void *addr,
|
|
||||||
uint64_t iova, size_t len);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A virtual device driver abstraction.
|
|
||||||
*/
|
|
||||||
struct rte_vdev_driver {
|
|
||||||
RTE_TAILQ_ENTRY(rte_vdev_driver) next; /**< Next in list. */
|
|
||||||
struct rte_driver driver; /**< Inherited general driver. */
|
|
||||||
rte_vdev_probe_t *probe; /**< Virtual device probe function. */
|
|
||||||
rte_vdev_remove_t *remove; /**< Virtual device remove function. */
|
|
||||||
rte_vdev_dma_map_t *dma_map; /**< Virtual device DMA map function. */
|
|
||||||
rte_vdev_dma_unmap_t *dma_unmap; /**< Virtual device DMA unmap function. */
|
|
||||||
uint32_t drv_flags; /**< Flags RTE_VDEV_DRV_*. */
|
|
||||||
};
|
|
||||||
|
|
||||||
/** Device driver needs IOVA as VA and cannot work with IOVA as PA */
|
|
||||||
#define RTE_VDEV_DRV_NEED_IOVA_AS_VA 0x0001
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Register a virtual device driver.
|
|
||||||
*
|
|
||||||
* @param driver
|
|
||||||
* A pointer to a rte_vdev_driver structure describing the driver
|
|
||||||
* to be registered.
|
|
||||||
*/
|
|
||||||
void rte_vdev_register(struct rte_vdev_driver *driver);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Unregister a virtual device driver.
|
|
||||||
*
|
|
||||||
* @param driver
|
|
||||||
* A pointer to a rte_vdev_driver structure describing the driver
|
|
||||||
* to be unregistered.
|
|
||||||
*/
|
|
||||||
void rte_vdev_unregister(struct rte_vdev_driver *driver);
|
|
||||||
|
|
||||||
#define RTE_PMD_REGISTER_VDEV(nm, vdrv)\
|
|
||||||
static const char *vdrvinit_ ## nm ## _alias;\
|
|
||||||
RTE_INIT(vdrvinitfn_ ##vdrv)\
|
|
||||||
{\
|
|
||||||
(vdrv).driver.name = RTE_STR(nm);\
|
|
||||||
(vdrv).driver.alias = vdrvinit_ ## nm ## _alias;\
|
|
||||||
rte_vdev_register(&vdrv);\
|
|
||||||
} \
|
|
||||||
RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
|
|
||||||
|
|
||||||
#define RTE_PMD_REGISTER_ALIAS(nm, alias)\
|
|
||||||
static const char *vdrvinit_ ## nm ## _alias = RTE_STR(alias)
|
|
||||||
|
|
||||||
typedef void (*rte_vdev_scan_callback)(void *user_arg);
|
typedef void (*rte_vdev_scan_callback)(void *user_arg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
|
|
||||||
#include "rte_bus_vdev.h"
|
#include "bus_vdev_driver.h"
|
||||||
#include "vdev_logs.h"
|
#include "vdev_logs.h"
|
||||||
#include "vdev_private.h"
|
#include "vdev_private.h"
|
||||||
|
|
||||||
@ -30,16 +30,14 @@
|
|||||||
/* Forward declare to access virtual bus name */
|
/* Forward declare to access virtual bus name */
|
||||||
static struct rte_bus rte_vdev_bus;
|
static struct rte_bus rte_vdev_bus;
|
||||||
|
|
||||||
/** Double linked list of virtual device drivers. */
|
|
||||||
TAILQ_HEAD(vdev_device_list, rte_vdev_device);
|
|
||||||
|
|
||||||
static struct vdev_device_list vdev_device_list =
|
static TAILQ_HEAD(, rte_vdev_device) vdev_device_list =
|
||||||
TAILQ_HEAD_INITIALIZER(vdev_device_list);
|
TAILQ_HEAD_INITIALIZER(vdev_device_list);
|
||||||
/* The lock needs to be recursive because a vdev can manage another vdev. */
|
/* The lock needs to be recursive because a vdev can manage another vdev. */
|
||||||
static rte_spinlock_recursive_t vdev_device_list_lock =
|
static rte_spinlock_recursive_t vdev_device_list_lock =
|
||||||
RTE_SPINLOCK_RECURSIVE_INITIALIZER;
|
RTE_SPINLOCK_RECURSIVE_INITIALIZER;
|
||||||
|
|
||||||
static struct vdev_driver_list vdev_driver_list =
|
static TAILQ_HEAD(, rte_vdev_driver) vdev_driver_list =
|
||||||
TAILQ_HEAD_INITIALIZER(vdev_driver_list);
|
TAILQ_HEAD_INITIALIZER(vdev_driver_list);
|
||||||
|
|
||||||
struct vdev_custom_scan {
|
struct vdev_custom_scan {
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rte_dev.h>
|
#include <rte_dev.h>
|
||||||
#include <rte_bus.h>
|
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
|
|
||||||
|
@ -3,10 +3,15 @@ DPDK_23 {
|
|||||||
|
|
||||||
rte_vdev_add_custom_scan;
|
rte_vdev_add_custom_scan;
|
||||||
rte_vdev_init;
|
rte_vdev_init;
|
||||||
rte_vdev_register;
|
|
||||||
rte_vdev_remove_custom_scan;
|
rte_vdev_remove_custom_scan;
|
||||||
rte_vdev_uninit;
|
rte_vdev_uninit;
|
||||||
rte_vdev_unregister;
|
|
||||||
|
|
||||||
local: *;
|
local: *;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
INTERNAL {
|
||||||
|
global:
|
||||||
|
|
||||||
|
rte_vdev_register;
|
||||||
|
rte_vdev_unregister;
|
||||||
|
};
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <isa-l.h>
|
#include <isa-l.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_cpuflags.h>
|
#include <rte_cpuflags.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Copyright(c) 2018 Cavium Networks
|
* Copyright(c) 2018 Cavium Networks
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
|
|
||||||
#include "zlib_pmd_private.h"
|
#include "zlib_pmd_private.h"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <rte_hexdump.h>
|
#include <rte_hexdump.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_cpuflags.h>
|
#include <rte_cpuflags.h>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
|
|
||||||
#include <rte_spinlock.h>
|
#include <rte_spinlock.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include "bcmfs_logs.h"
|
#include "bcmfs_logs.h"
|
||||||
#include "bcmfs_qp.h"
|
#include "bcmfs_qp.h"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_crypto.h>
|
#include <rte_crypto.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_security_driver.h>
|
#include <rte_security_driver.h>
|
||||||
#include <rte_hexdump.h>
|
#include <rte_hexdump.h>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <bus_pci_driver.h>
|
#include <bus_pci_driver.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Copyright(c) 2021 Intel Corporation
|
* Copyright(c) 2021 Intel Corporation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <intel-ipsec-mb.h>
|
#include <intel-ipsec-mb.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#if defined(RTE_LIB_SECURITY)
|
#if defined(RTE_LIB_SECURITY)
|
||||||
#define IPSEC_MB_DOCSIS_SEC_ENABLED 1
|
#define IPSEC_MB_DOCSIS_SEC_ENABLED 1
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Copyright(c) 2016-2021 Intel Corporation
|
* Copyright(c) 2016-2021 Intel Corporation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_cpuflags.h>
|
#include <rte_cpuflags.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_security_driver.h>
|
#include <rte_security_driver.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_cpuflags.h>
|
#include <rte_cpuflags.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
|
|
||||||
#include "null_crypto_pmd_private.h"
|
#include "null_crypto_pmd_private.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <rte_hexdump.h>
|
#include <rte_hexdump.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_cpuflags.h>
|
#include <rte_cpuflags.h>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <rte_hexdump.h>
|
#include <rte_hexdump.h>
|
||||||
#include <rte_cryptodev.h>
|
#include <rte_cryptodev.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_cpuflags.h>
|
#include <rte_cpuflags.h>
|
||||||
#include <rte_reorder.h>
|
#include <rte_reorder.h>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_cycles.h>
|
#include <rte_cycles.h>
|
||||||
#include <rte_eal.h>
|
#include <rte_eal.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_memory.h>
|
#include <rte_memory.h>
|
||||||
#include <rte_pci.h>
|
#include <rte_pci.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
#include <cryptodev_pmd.h>
|
#include <cryptodev_pmd.h>
|
||||||
#include <rte_event_eth_rx_adapter.h>
|
#include <rte_event_eth_rx_adapter.h>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <rte_lcore.h>
|
#include <rte_lcore.h>
|
||||||
#include <rte_per_lcore.h>
|
#include <rte_per_lcore.h>
|
||||||
#include <rte_random.h>
|
#include <rte_random.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_test.h>
|
#include <rte_test.h>
|
||||||
#include <bus_fslmc_driver.h>
|
#include <bus_fslmc_driver.h>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <rte_log.h>
|
#include <rte_log.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_memory.h>
|
#include <rte_memory.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include "ssovf_evdev.h"
|
#include "ssovf_evdev.h"
|
||||||
#include "timvf_evdev.h"
|
#include "timvf_evdev.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <rte_lcore.h>
|
#include <rte_lcore.h>
|
||||||
#include <rte_per_lcore.h>
|
#include <rte_per_lcore.h>
|
||||||
#include <rte_random.h>
|
#include <rte_random.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_test.h>
|
#include <rte_test.h>
|
||||||
|
|
||||||
#include "ssovf_evdev.h"
|
#include "ssovf_evdev.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_lcore.h>
|
#include <rte_lcore.h>
|
||||||
#include <rte_memzone.h>
|
#include <rte_memzone.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
#include <rte_cycles.h>
|
#include <rte_cycles.h>
|
||||||
#include <rte_memzone.h>
|
#include <rte_memzone.h>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <rte_ethdev.h>
|
#include <rte_ethdev.h>
|
||||||
#include <rte_cycles.h>
|
#include <rte_cycles.h>
|
||||||
#include <rte_eventdev.h>
|
#include <rte_eventdev.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_pause.h>
|
#include <rte_pause.h>
|
||||||
|
|
||||||
#include "opdl_evdev.h"
|
#include "opdl_evdev.h"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_memory.h>
|
#include <rte_memory.h>
|
||||||
#include <rte_lcore.h>
|
#include <rte_lcore.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include "skeleton_eventdev.h"
|
#include "skeleton_eventdev.h"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_ring.h>
|
#include <rte_ring.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <rte_pause.h>
|
#include <rte_pause.h>
|
||||||
#include <rte_service.h>
|
#include <rte_service.h>
|
||||||
#include <rte_service_component.h>
|
#include <rte_service_component.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include "sw_evdev.h"
|
#include "sw_evdev.h"
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <linux/if_ether.h>
|
#include <linux/if_ether.h>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <rte_branch_prediction.h>
|
#include <rte_branch_prediction.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
#include <rte_tcp.h>
|
#include <rte_tcp.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
|
|
||||||
#include "rte_eth_bond.h"
|
#include "rte_eth_bond.h"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <rte_ip_frag.h>
|
#include <rte_ip_frag.h>
|
||||||
#include <rte_devargs.h>
|
#include <rte_devargs.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_alarm.h>
|
#include <rte_alarm.h>
|
||||||
#include <rte_cycles.h>
|
#include <rte_cycles.h>
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_devargs.h>
|
#include <rte_devargs.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <rte_bus.h>
|
||||||
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include "failsafe_private.h"
|
#include "failsafe_private.h"
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_spinlock.h>
|
#include <rte_spinlock.h>
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <rte_kni.h>
|
#include <rte_kni.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
/* Only single queue supported */
|
/* Only single queue supported */
|
||||||
#define KNI_MAX_QUEUE_PER_PORT 1
|
#define KNI_MAX_QUEUE_PER_PORT 1
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_hash.h>
|
#include <rte_hash.h>
|
||||||
#include <rte_jhash.h>
|
#include <rte_jhash.h>
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
#include <rte_memory.h>
|
#include <rte_memory.h>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_log.h>
|
#include <rte_log.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <linux/ethtool.h>
|
#include <linux/ethtool.h>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_spinlock.h>
|
#include <rte_spinlock.h>
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <eventdev_pmd.h>
|
#include <eventdev_pmd.h>
|
||||||
#include <rte_alarm.h>
|
#include <rte_alarm.h>
|
||||||
#include <rte_branch_prediction.h>
|
#include <rte_branch_prediction.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_cycles.h>
|
#include <rte_cycles.h>
|
||||||
#include <rte_debug.h>
|
#include <rte_debug.h>
|
||||||
#include <rte_dev.h>
|
#include <rte_dev.h>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_mbuf.h>
|
#include <rte_mbuf.h>
|
||||||
#include <rte_mbuf_dyn.h>
|
#include <rte_mbuf_dyn.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_os_shim.h>
|
#include <rte_os_shim.h>
|
||||||
|
|
||||||
#include "pcap_osdep.h"
|
#include "pcap_osdep.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <sys/epoll.h>
|
#include <sys/epoll.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_ether.h>
|
#include <rte_ether.h>
|
||||||
#include <dpaa_of.h>
|
#include <dpaa_of.h>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
#include <rte_ring.h>
|
#include <rte_ring.h>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_net.h>
|
#include <rte_net.h>
|
||||||
#include <rte_debug.h>
|
#include <rte_debug.h>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include <rte_alarm.h>
|
#include <rte_alarm.h>
|
||||||
#include <rte_bus.h>
|
#include <rte_bus.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_dev.h>
|
#include <rte_dev.h>
|
||||||
#include <rte_errno.h>
|
#include <rte_errno.h>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_net.h>
|
#include <rte_net.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_vhost.h>
|
#include <rte_vhost.h>
|
||||||
#include <rte_spinlock.h>
|
#include <rte_spinlock.h>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <ethdev_vdev.h>
|
#include <ethdev_vdev.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_alarm.h>
|
#include <rte_alarm.h>
|
||||||
#include <rte_cycles.h>
|
#include <rte_cycles.h>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_eal.h>
|
#include <rte_eal.h>
|
||||||
#include <rte_kvargs.h>
|
#include <rte_kvargs.h>
|
||||||
#include <rte_lcore.h>
|
#include <rte_lcore.h>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_atomic.h>
|
#include <rte_atomic.h>
|
||||||
#include <rte_interrupts.h>
|
#include <rte_interrupts.h>
|
||||||
#include <rte_branch_prediction.h>
|
#include <rte_branch_prediction.h>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <rte_memzone.h>
|
#include <rte_memzone.h>
|
||||||
#include <rte_eal.h>
|
#include <rte_eal.h>
|
||||||
#include <rte_common.h>
|
#include <rte_common.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_string_fns.h>
|
#include <rte_string_fns.h>
|
||||||
#include <rte_pmd_i40e.h>
|
#include <rte_pmd_i40e.h>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <rte_memory.h>
|
#include <rte_memory.h>
|
||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_lcore.h>
|
#include <rte_lcore.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include <rte_rawdev.h>
|
#include <rte_rawdev.h>
|
||||||
#include <rte_rawdev_pmd.h>
|
#include <rte_rawdev_pmd.h>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <rte_memcpy.h>
|
#include <rte_memcpy.h>
|
||||||
#include <rte_dev.h>
|
#include <rte_dev.h>
|
||||||
#include <rte_rawdev.h>
|
#include <rte_rawdev.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <rte_test.h>
|
#include <rte_test.h>
|
||||||
|
|
||||||
/* Using relative path as skeleton_rawdev is not part of exported headers */
|
/* Using relative path as skeleton_rawdev is not part of exported headers */
|
||||||
|
@ -12,7 +12,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include <rte_config.h>
|
#include <rte_config.h>
|
||||||
#include <rte_malloc.h>
|
#include <rte_malloc.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
#include <ethdev_driver.h>
|
#include <ethdev_driver.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -22,7 +22,7 @@ extern "C" {
|
|||||||
#include <rte_config.h>
|
#include <rte_config.h>
|
||||||
#include <rte_debug.h>
|
#include <rte_debug.h>
|
||||||
#include <rte_eal.h>
|
#include <rte_eal.h>
|
||||||
#include <rte_bus_vdev.h>
|
#include <bus_vdev_driver.h>
|
||||||
|
|
||||||
#include "eventdev_pmd.h"
|
#include "eventdev_pmd.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user