[dpdk-dev] [PATCH] lib/cryptodev: remove RTE_LIBRTE_CRYPTODEV_DEBUG

2018-06-11 Thread Jananee Parthasarathy
For librte_cryptodev dynamic logging, conditional compilation of debug logs would not be required anymore. Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan --- lib/librte_cryptodev/rte_cryptodev.h | 8 1 file changed, 8 deletions(-) diff --git a/lib/librte_cryptodev

[dpdk-dev] [PATCH] crypto/null: add dynamic logging to null driver

2018-06-15 Thread Jananee Parthasarathy
1.added new logtype for null driver. 2.registered new logtype. 3.NULL_CRYPTO_LOG_ERR, RTE_LOG_ERR and CDEV_LOG_ERR are replaced with new logtype name NULL_PMD_LOG. Signed-off-by: Pallantla Poornima Reviewed-by: Reshma Pattan --- drivers/crypto/null/null_crypto_pmd.c | 15 ++

[dpdk-dev] [PATCH] crypto/zuc: add dynamic logging to zuc

2018-06-24 Thread Jananee Parthasarathy
From: Agalya Babu Radha Krishnan 1.added new logtype for zuc driver. 2.registered new logtype. 3.ZUC_LOG_ERR and CDEV_LOG_ERR are replaced with new logtype name ZUC_PMD_LOG Signed-off-by: Agalya Babu RadhaKrishnan Reviewed-by: Reshma Pattan --- drivers/crypto/zuc/rte_zuc_pmd.c

[dpdk-dev] [PATCH v2] crypto/zuc: add dynamic logging

2018-06-28 Thread Jananee Parthasarathy
From: Agalya Babu RadhaKrishnan 1.added new logtype for zuc driver. 2.registered new logtype. 3.ZUC_LOG_ERR and CDEV_LOG_ERR are replaced with new logtype name ZUC_PMD_LOG Signed-off-by: Agalya Babu RadhaKrishnan Reviewed-by: Reshma Pattan Reviewed-by: Pablo de Lara Guarch ---

[dpdk-dev] [PATCH v2] crypto/null: add dynamic logging

2018-06-29 Thread Jananee Parthasarathy
From: Pallantla Poornima 1.added new logtype for null driver. 2.registered new logtype. 3.NULL_CRYPTO_LOG_ERR, RTE_LOG_ERR and CDEV_LOG_ERR are replaced with new logtype name NULL_PMD_LOG. Signed-off-by: Pallantla Poornima Reviewed-by: Reshma Pattan Reviewed-by: Pablo de Lara Guarch --- v2:

[dpdk-dev] [PATCH v2] cryptodev: remove RTE_LIBRTE_CRYPTODEV_DEBUG

2018-07-02 Thread Jananee Parthasarathy
From: Jananee Parthasarathy For librte_cryptodev dynamic logging, conditional compilation of debug logs would not be required anymore. Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Pablo de Lara Guarch --- v2: unused macro removed from config/common_base and

[dpdk-dev] [PATCH] add sample functions for packet forwarding

2018-07-06 Thread Jananee Parthasarathy
From: Jananee Parthasarathy Add sample test functions for packet forwarding. These can be used for unit test cases for LatencyStats and BitrateStats libraries. Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan --- test/test/Makefile| 1 + test/test

[dpdk-dev] [PATCH] test: add unit tests for bitrate library

2018-07-06 Thread Jananee Parthasarathy
From: Jananee Parthasarathy Unit Test Cases for BitRate library. Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan --- test/test/Makefile| 1 + test/test/autotest_data.py| 6 ++ test/test/test_bitratestats.c | 187

[dpdk-dev] [PATCH] test: add unit tests for latencystats library

2018-07-06 Thread Jananee Parthasarathy
From: Jananee Parthasarathy Unit Test Cases added for latencystats library. Signed-off-by: Agalya Babu RadhaKrishnan Reviewed-by: Reshma Pattan --- test/test/Makefile| 3 + test/test/test_latencystats.c | 178 ++ 2 files changed, 181

[dpdk-dev] [PATCH v2] test: reduce test duration for efd autotest

2018-10-31 Thread Jananee Parthasarathy
Reduced test time for efd_autotest. Key length is updated, invoke times of random function is reduced. Signed-off-by: Jananee Parthasarathy --- v2: value updated for each hash key --- test/test/test_efd.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test

[dpdk-dev] [PATCH v2] test: reduce test time for hash multiwriter ut

2018-11-02 Thread Jananee Parthasarathy
From: Naga Suresh Somarowthu Reduced test duration for hash_multiwriter_autotest. Number of entries and total insertions are reduced such that the duration is less than 10 seconds. Signed-off-by: Naga Suresh Somarowthu Acked-by: Herakliusz Lipiec --- v2: updated total insertions to achieve gre

[dpdk-dev] [PATCH v3] test: reduce test duration for efd autotest

2018-11-28 Thread Jananee Parthasarathy
Reduced test time for efd_autotest. Key length is updated, invoke times of random function is reduced. Different value is updated for each hash key entry. Signed-off-by: Jananee Parthasarathy --- v3: reverted the simple_key to uint8_t type v2: value updated for each hash key --- test/test

[dpdk-dev] [PATCH v2] add sample functions for packet forwarding

2018-07-12 Thread Jananee Parthasarathy
Add sample test functions for packet forwarding. These can be used for unit test cases for LatencyStats and BitrateStats libraries. Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan --- v2: SOCKET0 is removed and NUM_QUEUES is used accordingly --- test/test/Makefile

[dpdk-dev] [PATCH v2] test: add unit tests for bitrate library

2018-07-12 Thread Jananee Parthasarathy
Unit Test Cases for BitRate library. Dependency patch is "add sample functions for packet forwarding" Patch Link is http://patches.dpdk.org/patch/42946/ Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan --- v2: corrected data type for tx_portid and rx_portid --- test/test/Makefil

[dpdk-dev] [PATCH v2] test: add unit tests for latencystats library

2018-07-12 Thread Jananee Parthasarathy
Unit Test Cases added for latencystats library. Dependency patch is "add sample functions for packet forwarding" Patch Link is http://patches.dpdk.org/patch/42946/ Signed-off-by: Agalya Babu RadhaKrishnan Reviewed-by: Reshma Pattan --- v2: Latency test is added to autotest_data.py. NUM_STATS

[dpdk-dev] [PATCH v3] test: add sample functions for packet forwarding

2018-07-16 Thread Jananee Parthasarathy
Add sample test functions for packet forwarding. These can be used for unit test cases for LatencyStats and BitrateStats libraries. Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan --- v3: Used same port for tx,rx and removed extra line v2: SOCKET0 is removed and NUM_QUEUES is us

[dpdk-dev] [PATCH v3] test: add unit tests for bitrate library

2018-07-16 Thread Jananee Parthasarathy
Unit Test Cases for BitRate library. Dependency patch is "add sample functions for packet forwarding" Patch Link is http://patches.dpdk.org/patch/43115/ Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan Reviewed-by: Remy Horton --- v3: rebased v2: corrected data type for tx_porti

[dpdk-dev] [PATCH v4] test: add sample functions for packet forwarding

2018-07-17 Thread Jananee Parthasarathy
Add sample test functions for packet forwarding. These can be used for unit test cases for LatencyStats and BitrateStats libraries. Signed-off-by: Chaitanya Babu Talluri Reviewed-by: Reshma Pattan Acked-by: Reshma Pattan --- v4: Updated return value as TEST_FAILED instead of -1 v3: Used same po

[dpdk-dev] [PATCH] test: restructure and cleanup ring PMD test

2018-09-20 Thread Jananee Parthasarathy
From: Chaitanya Babu Talluri Divided main test to smaller logical tests. Registered with UT framework. Added cleanup of the resources else ring creation fails during consecutive test runs. Freed the allocated mempool, rings and uninitalized the drivers. Signed-off-by: Chaitanya Babu Talluri ---

[dpdk-dev] [PATCH] test: reduce duration for timer racecond testcase

2018-09-22 Thread Jananee Parthasarathy
Reduced test duration for timer_racecond unit test. This wil help to receive quicker test results. Signed-off-by: Jananee Parthasarathy --- test/test/test_timer_racecond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_timer_racecond.c b/test/test

[dpdk-dev] [PATCH] test: reduce duration for timer autotest

2018-09-22 Thread Jananee Parthasarathy
Reduced the test duration of timer_autotest. The number of iterations was very large to test the timer functionality. Although the method to identify random timers can be different, many iterations would be needed for stress or performance test only. Signed-off-by: Jananee Parthasarathy

[dpdk-dev] [PATCH v2] test: restructure and cleanup ring PMD test

2018-09-26 Thread Jananee Parthasarathy
From: Chaitanya Babu Talluri Divided main test to smaller logical tests. Registered with UT framework. Added cleanup of the resources else ring creation fails during consecutive test runs. Freed the allocated mempool, rings and uninitalized the drivers. Signed-off-by: Chaitanya Babu Talluri Rev

[dpdk-dev] [PATCH] test: reduce test duration for efd autotest

2018-09-26 Thread Jananee Parthasarathy
Reduced test time for efd_autotest. Key length is updated, invoke times of random function is reduced. Signed-off-by: Jananee Parthasarathy --- test/test/test_efd.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/test/test_efd.c b/test/test/test_efd.c

[dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut

2018-09-26 Thread Jananee Parthasarathy
From: Naga Suresh Somarowthu Reduced test duration for hash_multiwriter_autotest. Number of entries and total insertions are reduced such that the duration is less than 10 seconds. Signed-off-by: Naga Suresh Somarowthu --- test/test/test_hash_multiwriter.c | 4 ++-- 1 file changed, 2 insertion

[dpdk-dev] [PATCH v2] app/test: enhance sanity script

2018-05-10 Thread Jananee Parthasarathy
upport for FreeBSD, as FreeBSD doesn't support socket-mem, file-prefix options. Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov --- v2: test command-line updated for freebsd --- test/test/autotest_data.py | 471 ++

[dpdk-dev] [PATCH v3 0/3] enhance sanity scripts

2018-05-15 Thread Jananee Parthasarathy
1/3: new test cases are added to sanity script 2/3: skipped test case result is updated appropriately 3/3: test cmdline is updated to support freebsd Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov --- v3: created separate patches for all sanity

[dpdk-dev] [PATCH v3 1/3] app/test: add new test cases to sanity script

2018-05-15 Thread Jananee Parthasarathy
Sanity Script is enhanced with additional test cases being added to autotest_data.py Signed-off-by: Jananee Parthasarathy --- test/test/autotest_data.py | 471 - 1 file changed, 462 insertions(+), 9 deletions(-) mode change 100644 => 100755 test/t

[dpdk-dev] [PATCH v3 3/3] app/test: enhance freebsd support in sanity script

2018-05-15 Thread Jananee Parthasarathy
Update test command line with no additional arguments, as FreeBSD doesn't support socket-mem, file-prefix options Signed-off-by: Jananee Parthasarathy --- test/test/autotest_runner.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/test/autotest_runner.py b

[dpdk-dev] [PATCH v3 2/3] app/test: update result for skipped test cases

2018-05-15 Thread Jananee Parthasarathy
Fixed in autotest_test_funcs.py to handle test cases which returns "Skipped" as result. The issue was skipped test cases got timed out, causing delay in sanity script execution. Signed-off-by: Jananee Parthasarathy --- test/test/autotest_test_funcs.py | 6 -- 1 file changed, 4

[dpdk-dev] [PATCH v4 0/4] enhance autotest config and test targets

2018-05-23 Thread Jananee Parthasarathy
1/4: new test cases are added to autotest config 2/4: skipped test case result is updated appropriately 3/4: test cmdline is updated to support freebsd 4/4: added make targets for group of testcases --- v4: classify testcases based on priority and run with different targets --- Jananee

[dpdk-dev] [PATCH v4 1/4] app/test: enhance autotest config

2018-05-23 Thread Jananee Parthasarathy
Autotest config is enhanced with additional test cases being added to autotest_data.py Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov --- test/test/autotest_data.py | 471 - 1 file changed, 462

[dpdk-dev] [PATCH v4 3/4] app/test: enhance freebsd support in autotest config

2018-05-23 Thread Jananee Parthasarathy
Update test command line with no additional arguments, as FreeBSD doesn't support socket-mem, file-prefix options Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov --- test/test/autotest_runner.py | 8 +++- 1 file changed, 7 insertions(

[dpdk-dev] [PATCH v4 2/4] app/test: update result for skipped test cases

2018-05-23 Thread Jananee Parthasarathy
Fixed in autotest_test_funcs.py to handle test cases which returns "Skipped" as result. The issue was skipped test cases got timed out, causing delay in autotests execution. Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov ---

[dpdk-dev] [PATCH v4 4/4] mk: update make targets for classified testcases

2018-05-23 Thread Jananee Parthasarathy
cases for different targets are listed accordingly. Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan --- mk/rte.sdkroot.mk | 4 ++-- mk/rte.sdktest.mk | 33 +++-- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/mk/rte.sdkroot.mk b/mk

[dpdk-dev] [PATCH v8] doc: add meson ut info in prog guide

2019-08-12 Thread Jananee Parthasarathy
From: Hari Kumar Vemula Add a programmer's guide section for meson ut Signed-off-by: Hari Kumar Vemula Acked-by: Bruce Richardson Acked-by: Michael Santana --- v8: Addressed v7 patch comments v7: Updated v6 patch comments v6: Updated comments v5: Modified v4: Typos corrected v3: Modified v2:

[dpdk-dev] [PATCH] lib/table: fix table autotest ut crashes in ipv6

2019-07-02 Thread Jananee Parthasarathy
alid array index might result in segmentation fault due to array out of bounds when lpm->nht_users is used with such invalid array index. Fix is to initialize the variables used for array subscript. Fixes: d89a5bce1d ("lpm6: extend next hop field") Cc: sta...@dpdk.org Signed-off-by