All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] test: fix bonded device name
@ 2017-07-26 15:48 Tomasz Kulasek
  2017-07-26 17:06 ` Declan Doherty
  0 siblings, 1 reply; 3+ messages in thread
From: Tomasz Kulasek @ 2017-07-26 15:48 UTC (permalink / raw)
  To: dev; +Cc: declan.doherty

Bonding devices name must start with "net_bonding" prefix.

Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option")

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
---
 test/test/test_link_bonding.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c
index aa2a1a2..828f7f7 100644
--- a/test/test/test_link_bonding.c
+++ b/test/test/test_link_bonding.c
@@ -83,7 +83,7 @@
 #define MAX_PKT_BURST			(512)
 #define DEF_PKT_BURST			(16)
 
-#define BONDED_DEV_NAME			("unit_test_bond_dev")
+#define BONDED_DEV_NAME			("net_bonding_ut")
 
 #define INVALID_SOCKET_ID		(-1)
 #define INVALID_PORT_ID			(-1)
@@ -939,7 +939,7 @@ struct rte_fdir_conf fdir_conf = {
 	/*
 	 * 1. a - Create / configure  bonded / slave ethdevs
 	 */
-	bonded_port_id = rte_eth_bond_create("ethdev_bond_mac_ass_test",
+	bonded_port_id = rte_eth_bond_create("net_bonding_mac_ass_test",
 			BONDING_MODE_ACTIVE_BACKUP, rte_socket_id());
 	TEST_ASSERT(bonded_port_id > 0, "failed to create bonded device");
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] test: fix bonded device name
  2017-07-26 15:48 [PATCH] test: fix bonded device name Tomasz Kulasek
@ 2017-07-26 17:06 ` Declan Doherty
  2017-07-31 15:53   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Declan Doherty @ 2017-07-26 17:06 UTC (permalink / raw)
  To: Tomasz Kulasek, dev

On 26/07/2017 4:48 PM, Tomasz Kulasek wrote:
> Bonding devices name must start with "net_bonding" prefix.
>
> Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option")
>
> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
> ---
>  test/test/test_link_bonding.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c
> index aa2a1a2..828f7f7 100644
> --- a/test/test/test_link_bonding.c
> +++ b/test/test/test_link_bonding.c
> @@ -83,7 +83,7 @@
>  #define MAX_PKT_BURST			(512)
>  #define DEF_PKT_BURST			(16)
>
> -#define BONDED_DEV_NAME			("unit_test_bond_dev")
> +#define BONDED_DEV_NAME			("net_bonding_ut")
>
>  #define INVALID_SOCKET_ID		(-1)
>  #define INVALID_PORT_ID			(-1)
> @@ -939,7 +939,7 @@ struct rte_fdir_conf fdir_conf = {
>  	/*
>  	 * 1. a - Create / configure  bonded / slave ethdevs
>  	 */
> -	bonded_port_id = rte_eth_bond_create("ethdev_bond_mac_ass_test",
> +	bonded_port_id = rte_eth_bond_create("net_bonding_mac_ass_test",
>  			BONDING_MODE_ACTIVE_BACKUP, rte_socket_id());
>  	TEST_ASSERT(bonded_port_id > 0, "failed to create bonded device");
>
>

Acked-by: Declan Doherty <declan.doherty@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] test: fix bonded device name
  2017-07-26 17:06 ` Declan Doherty
@ 2017-07-31 15:53   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-07-31 15:53 UTC (permalink / raw)
  To: dev

On 7/26/2017 6:06 PM, Declan Doherty wrote:
> On 26/07/2017 4:48 PM, Tomasz Kulasek wrote:
>> Bonding devices name must start with "net_bonding" prefix.
>>
>> Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option")
>>
>> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>

> Acked-by: Declan Doherty <declan.doherty@intel.com>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-31 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 15:48 [PATCH] test: fix bonded device name Tomasz Kulasek
2017-07-26 17:06 ` Declan Doherty
2017-07-31 15:53   ` Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.