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 device type
[dpdk.git]
/
lib
/
librte_pmd_bond
/
rte_eth_bond_api.c
diff --git
a/lib/librte_pmd_bond/rte_eth_bond_api.c
b/lib/librte_pmd_bond/rte_eth_bond_api.c
index
230d36c
..
903b7c3
100644
(file)
--- a/
lib/librte_pmd_bond/rte_eth_bond_api.c
+++ b/
lib/librte_pmd_bond/rte_eth_bond_api.c
@@
-257,7
+257,7
@@
rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id)
}
/* reserve an ethdev entry */
- eth_dev = rte_eth_dev_allocate(name);
+ eth_dev = rte_eth_dev_allocate(name
, RTE_ETH_DEV_VIRTUAL
);
if (eth_dev == NULL) {
RTE_BOND_LOG(ERR, "Unable to allocate rte_eth_dev");
goto err;