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
eal: allow probing a device again
[dpdk.git]
/
drivers
/
bus
/
vdev
/
vdev.c
diff --git
a/drivers/bus/vdev/vdev.c
b/drivers/bus/vdev/vdev.c
index
f666099
..
06f3148
100644
(file)
--- a/
drivers/bus/vdev/vdev.c
+++ b/
drivers/bus/vdev/vdev.c
@@
-226,6
+226,11
@@
insert_vdev(const char *name, const char *args, struct rte_vdev_device **p_dev)
dev->device.name = devargs->name;
if (find_vdev(name)) {
+ /*
+ * A vdev is expected to have only one port.
+ * So there is no reason to try probing again,
+ * even with new arguments.
+ */
ret = -EEXIST;
goto fail;
}