[v8,0/4] add unit tests for bitrate, latency and pdump libraries
mbox series

Message ID 1532701601-32692-1-git-send-email-naga.sureshx.somarowthu@intel.com
Headers show
Series
  • add unit tests for bitrate, latency and pdump libraries
Related show

Message

Naga Suresh Somarowthu July 27, 2018, 2:26 p.m. UTC
1/4: add helper functions for tests using ring-PMD Rx/Tx
2/4: unit test cases added for bitrate library        
3/4: unit test cases added for latencystats library   
4/4: unit test cases added for pdump library         

Patches 2/4,3/4 depends on 1/4              
Patch 4/4 depends on 1/4 and the below patch
http://patches.dpdk.org/patch/43354/        

Signed-off-by: Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com> 
Reviewed-by: Reshma Pattan <reshma.pattan@intel.com>                      
Reviewed-by: Remy Horton <remy.horton@intel.com>                          
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
                                                                          
---                                                     
v8: renamed commit headline and freed the metrics memzone for bitrate ut
v7: removed unused macros and corrected the comment
v6: updated ring variable appropriately                                   
v5: rebased, freed pools and rings, created common patch set              
---                                                                       
 
Naga Suresh Somarowthu (4):
  test: add helper functions for tests using ring-PMD Rx/Tx
  test: add unit tests for bitrate library
  test: add unit tests for latencystats library
  test: add unit test for pdump library

 test/test/Makefile                |   9 ++
 test/test/autotest_data.py        |  12 ++
 test/test/process.h               |  12 ++
 test/test/sample_packet_forward.c | 115 +++++++++++++++++++
 test/test/sample_packet_forward.h |  40 +++++++
 test/test/test.c                  |   2 +
 test/test/test_bitratestats.c     | 229 +++++++++++++++++++++++++++++++++++++
 test/test/test_latencystats.c     | 216 +++++++++++++++++++++++++++++++++++
 test/test/test_pdump.c            | 232 ++++++++++++++++++++++++++++++++++++++
 test/test/test_pdump.h            |  31 +++++
 10 files changed, 898 insertions(+)
 create mode 100644 test/test/sample_packet_forward.c
 create mode 100644 test/test/sample_packet_forward.h
 create mode 100644 test/test/test_bitratestats.c
 create mode 100644 test/test/test_latencystats.c
 create mode 100644 test/test/test_pdump.c
 create mode 100644 test/test/test_pdump.h

Comments

Thomas Monjalon July 31, 2018, 2:57 p.m. UTC | #1
27/07/2018 16:26, Naga Suresh Somarowthu:
> Naga Suresh Somarowthu (4):
>   test: add helper functions for tests using ring-PMD Rx/Tx
>   test: add unit tests for bitrate library
>   test: add unit tests for latencystats library
>   test: add unit test for pdump library

The patch 2 does not apply on top of autotest rework.

Please rebase

I think it will be for 18.11.
Reshma Pattan July 31, 2018, 4:43 p.m. UTC | #2
Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Tuesday, July 31, 2018 3:57 PM
> To: Somarowthu, Naga SureshX <naga.sureshx.somarowthu@intel.com>
> Cc: dev@dpdk.org; Horton, Remy <remy.horton@intel.com>; Pattan, Reshma
> <reshma.pattan@intel.com>
> Subject: Re: [dpdk-dev] [PATCH v8 0/4] add unit tests for bitrate, latency and
> pdump libraries
> 
> 27/07/2018 16:26, Naga Suresh Somarowthu:
> > Naga Suresh Somarowthu (4):
> >   test: add helper functions for tests using ring-PMD Rx/Tx
> >   test: add unit tests for bitrate library
> >   test: add unit tests for latencystats library
> >   test: add unit test for pdump library
> 
> The patch 2 does not apply on top of autotest rework.
> 
> Please rebase

I have rebased and sent v9 version of patch series on behalf of Suresh.
> 
> I think it will be for 18.11.
> 

Please include them in 18.08 as now v9 is available .

Thanks,
Reshma