git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/crypto: skip unsupported session
[dpdk.git]
/
drivers
/
bus
/
vdev
/
rte_bus_vdev.h
diff --git
a/drivers/bus/vdev/rte_bus_vdev.h
b/drivers/bus/vdev/rte_bus_vdev.h
index
f9b5eb5
..
2bc4653
100644
(file)
--- a/
drivers/bus/vdev/rte_bus_vdev.h
+++ b/
drivers/bus/vdev/rte_bus_vdev.h
@@
-5,6
+5,12
@@
#ifndef RTE_VDEV_H
#define RTE_VDEV_H
#ifndef RTE_VDEV_H
#define RTE_VDEV_H
+/**
+ * @file
+ * RTE virtual bus API
+ *
+ */
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@
-86,9
+92,8
@@
void rte_vdev_register(struct rte_vdev_driver *driver);
void rte_vdev_unregister(struct rte_vdev_driver *driver);
#define RTE_PMD_REGISTER_VDEV(nm, vdrv)\
void rte_vdev_unregister(struct rte_vdev_driver *driver);
#define RTE_PMD_REGISTER_VDEV(nm, vdrv)\
-RTE_INIT(vdrvinitfn_ ##vdrv);\
static const char *vdrvinit_ ## nm ## _alias;\
static const char *vdrvinit_ ## nm ## _alias;\
-
static void vdrvinitfn_ ##vdrv(void
)\
+
RTE_INIT(vdrvinitfn_ ##vdrv
)\
{\
(vdrv).driver.name = RTE_STR(nm);\
(vdrv).driver.alias = vdrvinit_ ## nm ## _alias;\
{\
(vdrv).driver.name = RTE_STR(nm);\
(vdrv).driver.alias = vdrvinit_ ## nm ## _alias;\