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
ethdev: add unique name to devices
[dpdk.git]
/
lib
/
librte_pmd_xenvirt
/
rte_eth_xenvirt.c
diff --git
a/lib/librte_pmd_xenvirt/rte_eth_xenvirt.c
b/lib/librte_pmd_xenvirt/rte_eth_xenvirt.c
index
18c44f5
..
450332a
100644
(file)
--- a/
lib/librte_pmd_xenvirt/rte_eth_xenvirt.c
+++ b/
lib/librte_pmd_xenvirt/rte_eth_xenvirt.c
@@
-647,7
+647,7
@@
eth_dev_xenvirt_create(const char *name, const char *params,
goto err;
/* reserve an ethdev entry */
- eth_dev = rte_eth_dev_allocate();
+ eth_dev = rte_eth_dev_allocate(
name
);
if (eth_dev == NULL)
goto err;