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
vdev: rename init/uninit ops to probe/remove
[dpdk.git]
/
drivers
/
net
/
vhost
/
rte_eth_vhost.c
diff --git
a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index
409e090
..
c1d09a0
100644
(file)
--- a/
drivers/net/vhost/rte_eth_vhost.c
+++ b/
drivers/net/vhost/rte_eth_vhost.c
@@
-1124,7
+1124,7
@@
open_int(const char *key __rte_unused, const char *value, void *extra_args)
}
static int
}
static int
-rte_pmd_vhost_
devinit
(const char *name, const char *params)
+rte_pmd_vhost_
probe
(const char *name, const char *params)
{
struct rte_kvargs *kvlist = NULL;
int ret = 0;
{
struct rte_kvargs *kvlist = NULL;
int ret = 0;
@@
-1176,7
+1176,7
@@
out_free:
}
static int
}
static int
-rte_pmd_vhost_
devuninit
(const char *name)
+rte_pmd_vhost_
remove
(const char *name)
{
struct rte_eth_dev *eth_dev = NULL;
struct pmd_internal *internal;
{
struct rte_eth_dev *eth_dev = NULL;
struct pmd_internal *internal;
@@
-1226,8
+1226,8
@@
rte_pmd_vhost_devuninit(const char *name)
}
static struct rte_vdev_driver pmd_vhost_drv = {
}
static struct rte_vdev_driver pmd_vhost_drv = {
- .
init = rte_pmd_vhost_devinit
,
- .
uninit = rte_pmd_vhost_devuninit
,
+ .
probe = rte_pmd_vhost_probe
,
+ .
remove = rte_pmd_vhost_remove
,
};
DRIVER_REGISTER_VDEV(net_vhost, pmd_vhost_drv);
};
DRIVER_REGISTER_VDEV(net_vhost, pmd_vhost_drv);