[dpdk-dev] examples/bond: fix vdev name in bond sample app

Message ID 1516897586-9713-1-git-send-email-radu.nicolau@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail Compilation issues

Commit Message

Radu Nicolau Jan. 25, 2018, 4:26 p.m. UTC
  Fixes: 73db5bad ("net: align ethdev and eal driver names")
Cc: stable@dpdk.org

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
 examples/bond/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

De Lara Guarch, Pablo Jan. 26, 2018, 8:12 a.m. UTC | #1
> -----Original Message-----
> From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Radu Nicolau
> Sent: Thursday, January 25, 2018 4:26 PM
> To: dev@dpdk.org
> Cc: Doherty, Declan <declan.doherty@intel.com>; Nicolau, Radu
> <radu.nicolau@intel.com>; stable@dpdk.org
> Subject: [dpdk-stable] [PATCH] examples/bond: fix vdev name in bond
> sample app
> 
> Fixes: 73db5bad ("net: align ethdev and eal driver names")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
  
Ferruh Yigit Jan. 31, 2018, 7:42 p.m. UTC | #2
On 1/26/2018 8:12 AM, De Lara Guarch, Pablo wrote:
> 
> 
>> -----Original Message-----
>> From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Radu Nicolau
>> Sent: Thursday, January 25, 2018 4:26 PM
>> To: dev@dpdk.org
>> Cc: Doherty, Declan <declan.doherty@intel.com>; Nicolau, Radu
>> <radu.nicolau@intel.com>; stable@dpdk.org
>> Subject: [dpdk-stable] [PATCH] examples/bond: fix vdev name in bond
>> sample app
>>
>> Fixes: 73db5bad ("net: align ethdev and eal driver names")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

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,