[dpdk-dev] [PATCH] app/test-compress-perf: fix out-of-bounds read

2019-09-26 Thread Lavanya Govindarajan
st option") Fixes: 424dd6c8c1 ("app/compress-perf: add weak functions for multicore test") Cc: sta...@dpdk.org Signed-off-by: Lavanya Govindarajan --- app/test-compress-perf/comp_perf_options.h | 2 +- app/test-compress-perf/comp_perf_options_parse.c | 4 ++-- app/test-compr

[dpdk-dev] [PATCH v5 2/2] app/test: add unit test for mbuf flag names

2019-08-30 Thread Lavanya Govindarajan
From: Pallantla Poornima Added UT for the below four functions in test_mbuf.c rte_get_rx_ol_flag_list rte_get_tx_ol_flag_list rte_get_rx_ol_flag_name rte_get_tx_ol_flag_name Signed-off-by: Pallantla Poornima --- app/test/test_mbuf.c | 257 +++ 1 file cha

[dpdk-dev] [PATCH v5 0/2] add unit test cases for mbuf library

2019-08-30 Thread Lavanya Govindarajan
d rte prefix from the test function names. Fixed comments given for the below test functions test_mbuf_validate_tx_offload test_neg_pktmbuf_alloc_bulk test_pktmbuf_read_from_offset test_pktmbuf_read_from_chain --- Lavanya Govindarajan (1): app/test: add unit test cases for mbuf library APIs Pall

[dpdk-dev] [PATCH v5 1/2] app/test: add unit test cases for mbuf library APIs

2019-08-30 Thread Lavanya Govindarajan
, rte_pktmbuf_detach_extbuf Signed-off-by: Lavanya Govindarajan Reviewed-by: Reshma Pattan --- app/test/test_mbuf.c | 773 ++- 1 file changed, 770 insertions(+), 3 deletions(-) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 2a97afe20..346d9ede4 100644

[dpdk-dev] [PATCH v4 0/2] add unit test cases for mbuf library

2019-08-08 Thread Lavanya Govindarajan
test functions test_mbuf_validate_tx_offload test_neg_pktmbuf_alloc_bulk test_pktmbuf_read_from_offset test_pktmbuf_read_from_chain --- Lavanya Govindarajan (1): app/test: add unit test cases for mbuf library APIs Pallantla Poornima (1): app/test: add unit test cases to mbuf app/test/test_m

[dpdk-dev] [PATCH v4 1/2] app/test: add unit test cases for mbuf library APIs

2019-08-08 Thread Lavanya Govindarajan
, rte_pktmbuf_detach_extbuf Signed-off-by: Lavanya Govindarajan Reviewed-by: Reshma Pattan --- app/test/test_mbuf.c | 756 ++- 1 file changed, 753 insertions(+), 3 deletions(-) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 2a97afe20..28f3216c0 100644

[dpdk-dev] [PATCH v4 2/2] app/test: add unit test cases to mbuf

2019-08-08 Thread Lavanya Govindarajan
From: Pallantla Poornima Added UT for the below four functions in test_mbuf.c rte_get_rx_ol_flag_list rte_get_tx_ol_flag_list rte_get_rx_ol_flag_name rte_get_tx_ol_flag_name Signed-off-by: Pallantla Poornima --- app/test/test_mbuf.c | 260 +++ 1 file cha

[dpdk-dev] [PATCH v3 0/2] add unit test cases for mbuf library

2019-07-23 Thread Lavanya Govindarajan
tions test_mbuf_validate_tx_offload test_neg_pktmbuf_alloc_bulk test_pktmbuf_read_from_offset test_pktmbuf_read_from_chain --- Lavanya Govindarajan (1): app/test: add unit test cases for mbuf library APIs Pallantla Poornima (1): app/test: add unit test cases to mbuf app/test/test_mbuf.c |

[dpdk-dev] [PATCH v3 2/2] app/test: add unit test cases to mbuf

2019-07-23 Thread Lavanya Govindarajan
From: Pallantla Poornima Added UT for the below four functions in test_mbuf.c rte_get_rx_ol_flag_list rte_get_tx_ol_flag_list rte_get_rx_ol_flag_name rte_get_tx_ol_flag_name Signed-off-by: Pallantla Poornima --- app/test/test_mbuf.c | 260 +++ 1 file cha

[dpdk-dev] [PATCH v3 1/2] app/test: add unit test cases for mbuf library APIs

2019-07-23 Thread Lavanya Govindarajan
, rte_pktmbuf_detach_extbuf Signed-off-by: Lavanya Govindarajan Reviewed-by: Reshma Pattan --- app/test/test_mbuf.c | 759 ++- 1 file changed, 756 insertions(+), 3 deletions(-) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 2a97afe20..623453d57 100644

[dpdk-dev] [PATCH v2 1/2] app/test: add unit test cases for mbuf library APIs

2019-07-22 Thread Lavanya Govindarajan
, rte_pktmbuf_detach_extbuf Signed-off-by: Lavanya Govindarajan Reviewed-by: Reshma Pattan --- app/test/test_mbuf.c | 759 ++- 1 file changed, 756 insertions(+), 3 deletions(-) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 2a97afe20..623453d57 100644

[dpdk-dev] [PATCH v2 2/2] app/test: add unit test cases to mbuf

2019-07-22 Thread Lavanya Govindarajan
From: Pallantla Poornima Added UT for the below four functions in test_mbuf.c rte_get_rx_ol_flag_list rte_get_tx_ol_flag_list rte_get_rx_ol_flag_name rte_get_tx_ol_flag_name Signed-off-by: Pallantla Poornima --- app/test/test_mbuf.c | 260 +++ 1 file cha

[dpdk-dev] [PATCH v2 0/2] add unit test cases for mbuf library

2019-07-22 Thread Lavanya Govindarajan
ffset test_pktmbuf_read_from_chain --- Lavanya Govindarajan (1): app/test: add unit test cases for mbuf library APIs Pallantla Poornima (1): app/test: add unit test cases to mbuf app/test/test_mbuf.c | 1019 +- 1 file changed, 1016 insertions(+), 3 dele

[dpdk-dev] [PATCH v3] test/eal: add ut for eal options proc-type and uio

2019-07-03 Thread Lavanya Govindarajan
Added unit test cases for EAL flags --proc-type=auto and --create-uio-dev in order to cover the below functions eal_proc_type_detect() rte_eal_create_uio_dev() Signed-off-by: Lavanya Govindarajan Reviewed-by: David Marchand Acked-by: Anatoly Burakov --- v3: Corrected error log message to be

[dpdk-dev] [PATCH v2] test/eal: add ut for eal options proc-type and uio

2019-06-27 Thread Lavanya Govindarajan
Added unit test cases for EAL flags --proc-type=auto and --create-uio-dev in order to cover the below functions eal_proc_type_detect() rte_eal_create_uio_dev() Signed-off-by: Lavanya Govindarajan Acked-by: Anatoly Burakov --- v2: Removed core and channels eal options as they are not significant

[dpdk-dev] [PATCH] test/eal: add ut for eal options proc-type and uio

2019-06-21 Thread Lavanya Govindarajan
Added unit test cases for EAL flags --proc-type=auto and --create-uio-dev in order to cover the below functions eal_proc_type_detect() rte_eal_create_uio_dev() Signed-off-by: Lavanya Govindarajan --- app/test/test_eal_flags.c | 27 +++ 1 file changed, 27 insertions

[dpdk-dev] [PATCH] net/iavf: move debug dump desc flag to config file

2019-06-10 Thread Lavanya Govindarajan
DEBUG_DUMP_DESC flag is commented out in IAVF Makefile and to enable it user needs to edit the Makefile. It is felt that this method is not good. Hence removing this flag from IAVF makefile and adding a flag CONFIG_RTE_LIBRTE_IAVF_DEBUG_DUMP_DESC to config/common_base. Signed-off-by: Lavanya

[dpdk-dev] [PATCH] app/test: add unit test cases for mbuf library APIs

2019-04-15 Thread Lavanya Govindarajan
added new unit test cases for rte_validate_tx_offload, rte_pktmbuf_alloc_bulk, rte_pktmbuf_read, rte_pktmbuf_ext_shinfo_init_helper, rte_pktmbuf_attach_extbuf, rte_mbuf_ext_refcnt_read, rte_mbuf_ext_refcnt_update, rte_mbuf_ext_refcnt_set, rte_pktmbuf_detach_extbuf Signed-off-by: Lavanya