DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/bonding: fix namespace bonding mode4 unit tests
@ 2017-07-05 15:27 Daniel Mrzyglod
  2017-07-05 16:41 ` Declan Doherty
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Mrzyglod @ 2017-07-05 15:27 UTC (permalink / raw)
  To: declan.doherty; +Cc: dev, Daniel Mrzyglod

ring network driver is limited to 32 characters
the name of device was extened to net_ring_unit_test_mode4_slave_0 which is 33

Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
---
 test/test/test_link_bonding_mode4.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c
index c6745e8..8b64bbf 100644
--- a/test/test/test_link_bonding_mode4.c
+++ b/test/test/test_link_bonding_mode4.c
@@ -73,11 +73,11 @@
 #define MAX_PKT_BURST           (32)
 #define DEF_PKT_BURST           (16)
 
-#define BONDED_DEV_NAME         ("unit_test_mode4_bond_dev")
+#define BONDED_DEV_NAME         ("ut_mode4_bond_dev")
 
-#define SLAVE_DEV_NAME_FMT      ("unit_test_mode4_slave_%d")
-#define SLAVE_RX_QUEUE_FMT      ("unit_test_mode4_slave_%d_rx")
-#define SLAVE_TX_QUEUE_FMT      ("unit_test_mode4_slave_%d_tx")
+#define SLAVE_DEV_NAME_FMT      ("ut_mode4_slave_%d")
+#define SLAVE_RX_QUEUE_FMT      ("ut_mode4_slave_%d_rx")
+#define SLAVE_TX_QUEUE_FMT      ("ut_mode4_slave_%d_tx")
 
 #define INVALID_SOCKET_ID       (-1)
 #define INVALID_PORT_ID         (0xFF)
-- 
2.7.4

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

* Re: [dpdk-dev] [PATCH] test/bonding: fix namespace bonding mode4 unit tests
  2017-07-05 15:27 [dpdk-dev] [PATCH] test/bonding: fix namespace bonding mode4 unit tests Daniel Mrzyglod
@ 2017-07-05 16:41 ` Declan Doherty
  2017-07-05 17:37   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Declan Doherty @ 2017-07-05 16:41 UTC (permalink / raw)
  To: Daniel Mrzyglod; +Cc: dev

On 05/07/2017 4:27 PM, Daniel Mrzyglod wrote:
> ring network driver is limited to 32 characters
> the name of device was extened to net_ring_unit_test_mode4_slave_0 which is 33
>
> Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4")
>
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
> ---
>  test/test/test_link_bonding_mode4.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c
> index c6745e8..8b64bbf 100644
> --- a/test/test/test_link_bonding_mode4.c
> +++ b/test/test/test_link_bonding_mode4.c
> @@ -73,11 +73,11 @@
>  #define MAX_PKT_BURST           (32)
>  #define DEF_PKT_BURST           (16)
>
> -#define BONDED_DEV_NAME         ("unit_test_mode4_bond_dev")
> +#define BONDED_DEV_NAME         ("ut_mode4_bond_dev")
>
> -#define SLAVE_DEV_NAME_FMT      ("unit_test_mode4_slave_%d")
> -#define SLAVE_RX_QUEUE_FMT      ("unit_test_mode4_slave_%d_rx")
> -#define SLAVE_TX_QUEUE_FMT      ("unit_test_mode4_slave_%d_tx")
> +#define SLAVE_DEV_NAME_FMT      ("ut_mode4_slave_%d")
> +#define SLAVE_RX_QUEUE_FMT      ("ut_mode4_slave_%d_rx")
> +#define SLAVE_TX_QUEUE_FMT      ("ut_mode4_slave_%d_tx")
>
>  #define INVALID_SOCKET_ID       (-1)
>  #define INVALID_PORT_ID         (0xFF)
>

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

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

* Re: [dpdk-dev] [PATCH] test/bonding: fix namespace bonding mode4 unit tests
  2017-07-05 16:41 ` Declan Doherty
@ 2017-07-05 17:37   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-07-05 17:37 UTC (permalink / raw)
  To: Declan Doherty, Daniel Mrzyglod; +Cc: dev

On 7/5/2017 5:41 PM, Declan Doherty wrote:
> On 05/07/2017 4:27 PM, Daniel Mrzyglod wrote:
>> ring network driver is limited to 32 characters
>> the name of device was extened to net_ring_unit_test_mode4_slave_0 which is 33
>>
>> Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4")
>>
>> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@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-05 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 15:27 [dpdk-dev] [PATCH] test/bonding: fix namespace bonding mode4 unit tests Daniel Mrzyglod
2017-07-05 16:41 ` Declan Doherty
2017-07-05 17:37   ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).