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
app/testpmd: fix incorrect port number check
[dpdk.git]
/
app
/
test
/
virtual_pmd.c
diff --git
a/app/test/virtual_pmd.c
b/app/test/virtual_pmd.c
index
785bccc
..
9b07ab1
100644
(file)
--- a/
app/test/virtual_pmd.c
+++ b/
app/test/virtual_pmd.c
@@
-580,7
+580,7
@@
virtual_ethdev_create(const char *name, struct ether_addr *mac_addr,
goto err;
/* reserve an ethdev entry */
- eth_dev = rte_eth_dev_allocate(name);
+ eth_dev = rte_eth_dev_allocate(name
, RTE_ETH_DEV_PCI
);
if (eth_dev == NULL)
goto err;