git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7765f0f
)
net/vdev_netvsc: do not reference devargs list
author
Gaetan Rivet
<gaetan.rivet@6wind.com>
Mon, 23 Apr 2018 23:54:46 +0000
(
01:54
+0200)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 25 Apr 2018 01:58:11 +0000
(
03:58
+0200)
This list should not be used by drivers.
Use the public API instead.
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
drivers/net/vdev_netvsc/vdev_netvsc.c
patch
|
blob
|
history
diff --git
a/drivers/net/vdev_netvsc/vdev_netvsc.c
b/drivers/net/vdev_netvsc/vdev_netvsc.c
index
f7102d7
..
8b85711
100644
(file)
--- a/
drivers/net/vdev_netvsc/vdev_netvsc.c
+++ b/
drivers/net/vdev_netvsc/vdev_netvsc.c
@@
-796,7
+796,7
@@
vdev_netvsc_scan_callback(__rte_unused void *arg)
struct rte_devargs *devargs;
struct rte_bus *vbus = rte_bus_find_by_name("vdev");
-
TAILQ_FOREACH(devargs, &devargs_list, next
)
+
RTE_EAL_DEVARGS_FOREACH("vdev", devargs
)
if (!strcmp(devargs->name, VDEV_NETVSC_DRIVER_NAME))
return;
dev = (struct rte_vdev_device *)vbus->find_device(NULL,