[dpdk-dev] [PATCH] examples/bond: fix vdev name in bond sample app
Radu Nicolau
radu.nicolau at intel.com
Thu Jan 25 17:26:26 CET 2018
Fixes: 73db5bad ("net: align ethdev and eal driver names")
Cc: stable at dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
---
examples/bond/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/bond/main.c b/examples/bond/main.c
index 01e5eda..3ca6ca3 100644
--- a/examples/bond/main.c
+++ b/examples/bond/main.c
@@ -212,7 +212,7 @@ bond_port_init(struct rte_mempool *mbuf_pool)
struct rte_eth_txconf txq_conf;
struct rte_eth_conf local_port_conf = port_conf;
- retval = rte_eth_bond_create("bond0", BONDING_MODE_ALB,
+ retval = rte_eth_bond_create("net_bonding0", BONDING_MODE_ALB,
0 /*SOCKET_ID_ANY*/);
if (retval < 0)
rte_exit(EXIT_FAILURE,
--
2.7.5
More information about the dev
mailing list