[dpdk-dev] test/bonding: fix namespace of the rss tests

Message ID 20170726154403.120941-1-danielx.t.mrzyglod@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 success Compilation OK

Commit Message

Daniel Mrzyglod July 26, 2017, 3:44 p.m. UTC
  drivers are looking by name of the device so change namespace to proper one

Fixes: 43b630244e7e ("app/test: add dynamic bonding RSS configuration")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
---
 test/test/test_link_bonding_rssconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Doherty, Declan July 26, 2017, 5:06 p.m. UTC | #1
On 26/07/2017 4:44 PM, Daniel Mrzyglod wrote:
> drivers are looking by name of the device so change namespace to proper one
>
> Fixes: 43b630244e7e ("app/test: add dynamic bonding RSS configuration")
>
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
> ---
>  test/test/test_link_bonding_rssconf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c
> index dcbc9d1e2..f8cf1cabf 100644
> --- a/test/test/test_link_bonding_rssconf.c
> +++ b/test/test/test_link_bonding_rssconf.c
> @@ -60,7 +60,7 @@
>  #define RXTX_RING_SIZE			1024
>  #define RXTX_QUEUE_COUNT		4
>
> -#define BONDED_DEV_NAME         ("rssconf_bond_dev")
> +#define BONDED_DEV_NAME         ("net_bonding_rss")
>
>  #define SLAVE_DEV_NAME_FMT      ("net_null%d")
>  #define SLAVE_RXTX_QUEUE_FMT      ("rssconf_slave%d_q%d")
>

Acked-by: Declan Doherty <declan.doherty@intel.com>
  
Ferruh Yigit July 31, 2017, 3:48 p.m. UTC | #2
On 7/26/2017 6:06 PM, Declan Doherty wrote:
> On 26/07/2017 4:44 PM, Daniel Mrzyglod wrote:
>> drivers are looking by name of the device so change namespace to proper one
>>
>> Fixes: 43b630244e7e ("app/test: add dynamic bonding RSS configuration")
>>
>> 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.
  

Patch

diff --git a/test/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c
index dcbc9d1e2..f8cf1cabf 100644
--- a/test/test/test_link_bonding_rssconf.c
+++ b/test/test/test_link_bonding_rssconf.c
@@ -60,7 +60,7 @@ 
 #define RXTX_RING_SIZE			1024
 #define RXTX_QUEUE_COUNT		4
 
-#define BONDED_DEV_NAME         ("rssconf_bond_dev")
+#define BONDED_DEV_NAME         ("net_bonding_rss")
 
 #define SLAVE_DEV_NAME_FMT      ("net_null%d")
 #define SLAVE_RXTX_QUEUE_FMT      ("rssconf_slave%d_q%d")