Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula
Acked-by: Bruce Richardson
---
v6: Updated comments
v5: Modified
v4: Typos corrected
v3: Modified
v2: Removed enhancement details
---
doc/guides/prog_guide/index.rst| 1 +
doc/guides/prog_guide/meson_u
e slaves.
Fix is to set the internals->active_slave to starting index 0 whenever
it exceeds the number of slaves in active slave list and also update
the active slave count during slave de-activation.
Fixes: e1110e977648 ("net/bonding: fix Rx slave fairness")
Cc: sta...@dpdk.org
Sign
2efb58cbab6e ("bond: new link bonding library")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
Acked-by: Chas Williams
---
v3: Modified commit message
v2: Bonded device desc_lim values are received from slave configuration
---
drivers/net/bonding/rte_eth_bond_pmd.c | 14 ++-
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula
---
v5: Modified
v4: Typos corrected
v3: Modified
v2: Removed enhancement details
---
doc/guides/prog_guide/index.rst| 1 +
doc/guides/prog_guide/meson_ut.rst | 143 +
2
et to 0 as default value of bonded device
during bond_alloc().
Hence nb_rx_desc (1024) is > 0 and test fails.
Fix is to set the default values of rx_desc_lim of bonded device to
appropriate value.
Fixes: 2efb58cbab6e ("bond: new link bonding library")
Cc: sta...@dpdk.org
Signed-off-by: Ha
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula
---
v4: Typos corrected
v3: Modified
v2: Removed enhancement details
---
doc/guides/prog_guide/index.rst| 1 +
doc/guides/prog_guide/meson_ut.rst | 159 +
2 files changed
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula
---
v3: Modified
v2: Removed enhancement details
---
doc/guides/prog_guide/index.rst| 1 +
doc/guides/prog_guide/meson_ut.rst | 159 +
2 files changed, 160 insertions(+)
create
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula
---
v2: Removed enhancement details
---
doc/guides/prog_guide/index.rst| 1 +
doc/guides/prog_guide/meson_ut.rst | 164 +
2 files changed, 165 insertions(+)
create mode 10064
Added test cases that runs quickly under fast tests category
Signed-off-by: Hari Kumar Vemula
Acked-by: Bruce Richardson
---
test/test/meson.build | 107 --
1 file changed, 102 insertions(+), 5 deletions(-)
diff --git a/test/test/meson.build b/test/test
Grouped logging or dump related test cases to test debug category
Signed-off-by: Hari Kumar Vemula
Acked-by: Bruce Richardson
---
test/test/meson.build | 20
1 file changed, 20 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index d56c525ea
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
Acked-by: Bruce Richardson
---
test/test/meson.build | 119 --
1 file changed, 119 deletions(-)
diff --git a/test/test/meson.build b/test/test
Added test cases that depend on specific drivers
Signed-off-by: Hari Kumar Vemula
Acked-by: Bruce Richardson
---
test/test/meson.build | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 47c97c276..d56c525ea
Grouped performace test cases under perf tests category
Signed-off-by: Hari Kumar Vemula
Acked-by: Bruce Richardson
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 1d416967c
devargs_autotest from test list
v4: Removed test from file prefix
v3: Updated testcase names in file prefix option
v2: Divided fast-test list into two lists
--
Hari Kumar Vemula (5):
test: remove existing testcases for categorization
test: add quick run tests under fast-tests suite
test: add
In rte_efd_create() allocated memory for tail queue entry but
not freed.
Added freeing the tail queue entry.
Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Honnappa Nagarahalli
Acked-by: Reshma Pat
In rte_efd_create() allocated memory for tail queue entry but
not freed.
Added freeing the tail queue entry.
Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
Acked-by: Reshma Pattan
Reviewed-by: Honnappa Nagarahal
;)
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
Reviewed-by: David Marchand
--
v6: Changed testcase order
v5: Corrected unit test case for -l option
v4: Used RTE_MAX_LCORE for max core check
v3: Added unit test cases for invalid core number range
v2: Replace strtoul with strtol
Mo
;)
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
--
v5: corrected unit test case for -l option
v4: Used RTE_MAX_LCORE for max core check
v3: Added unit test cases for invalid core number range
v2: Replace strtoul with strtol
Modified log message
---
lib/librte_eal/common/eal_common
;)
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
--
v4: Used RTE_MAX_LCORE for max core check
v3: Added unit test cases for invalid core number range
v2: Replace strtoul with strtol
Modified log message
---
lib/librte_eal/common/eal_common_options.c | 9 +++--
test/test/test_e
In rte_efd_create() allocated memory for tail queue entry but
not freed.
Added freeing the tail queue entry.
Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
Acked-by: Reshma Pattan
---
v3: Replaced TAILQ_FOREACH
et to 0 as default value of bonded device
during bond_alloc().
Hence nb_rx_desc (1024) is > 0 and test fails.
Fix is to set the default values of rx_desc_lim of bonded device to
appropriate value.
Fixes: 2efb58cbab ("bond: new link bonding library")
Cc: sta...@dpdk.org
Signed-of
;)
Cc: sta...@dpdk.org
--
v3: Added unit test cases for invalid core number range
v2: Replace strtoul with strtol
Modified log message
--
Signed-off-by: Hari Kumar Vemula
---
lib/librte_eal/common/eal_common_options.c | 9 +++--
test/test/test_eal_flags.c | 14 +++
From: Hari kumar Vemula
When incorrect core value or range provided,
as part of -l command line option, a crash occurs.
Added valid range checks to fix the crash.
Added ut check for negative core values.
Added unit test case for invalid core number range.
Fixes: d888cb8b9613 ("eal: add
ned-off-by: Hari kumar Vemula
---
lib/librte_eal/common/eal_common_options.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal/common/eal_common_options.c
index 6e3a83b98..b24668c23 100644
--- a/lib/librte_
When incorrect core value or range provided,
as part of -l command line option, a crash occurs.
Added valid range checks to fix the crash.
Fixes: d888cb8b9613 ("eal: add core list input format")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
---
lib/librte_
Add a programmer's guide section for meson ut enhancements
Signed-off-by: Hari Kumar Vemula
---
doc/guides/prog_guide/index.rst | 1 +
.../prog_guide/meson_ut_enhancements.rst | 158 ++
2 files changed, 159 insertions(+)
create mode 100644 doc/g
In rte_efd_create() allocated memory for tail queue entry but
not freed.
Added freeing the tail queue entry.
Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
Acked-by: Reshma Pattan
---
v2: Updated commit message.
In rte_efd_create() allocated memory for trail queue entry but
not freed.
Added freeing the trail queue entry.
Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: sta...@dpdk.org
Signed-off-by: Hari Kumar Vemula
---
lib/librte_efd/rte_efd.c | 21 +++
From: Hari Kumar Vemula
Grouped logging or dump related test cases to test debug category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 19 +++
1 file changed, 19 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index dd54800dd
From: Hari Kumar Vemula
Added test cases that depend on specific drivers
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 217e4d3de..dd54800dd 100644
From: Hari Kumar Vemula
Grouped performace test cases under perf tests category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index b59c87493
From: Hari Kumar Vemula
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 111 --
1 file changed, 111 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
Added test cases that runs quickly under fast tests category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 99 ---
1 file changed, 94 insertions(+), 5 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
1/5: remove existing test cases to reorganize further
2/5: add fast-tests suite to meson targets
3/5: add perf-tests suite to meson targets
4/5: add driver-tests suite to meson targets
5/5: add debug-tests suite to meson targets
--
v5: Renamed test suite names
From: Hari Kumar Vemula
Grouped logging or dump related test cases to test-dump category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 21 +
1 file changed, 21 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index da1dbfac4
From: Hari Kumar Vemula
Added test cases that runs quickly under test fast category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 99 ---
1 file changed, 94 insertions(+), 5 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 111 --
1 file changed, 111 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
Grouped performace test cases under test-perf category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index a10908fb3
From: Hari Kumar Vemula
Added test cases that depend on library as cryptodev
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 9e4d7621d..da1dbfac4
From: Hari Kumar Vemula
1/5: remove existing test cases to reorganize further
2/5: add test-fast suite to meson targets
3/5: add test-perf suite to meson targets
4/5: add test-driver suite to meson targets
5/5: add test-dump suite to meson targets
--
v4: Removed test from file prefix
v3
From: Hari Kumar Vemula
Grouped logging or dump related test cases to test-dump category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 21 +
1 file changed, 21 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index a727cf461
From: Hari Kumar Vemula
Added test cases that depend on library as cryptodev
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 70a4c6bed..a727cf461
From: Hari Kumar Vemula
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 111 --
1 file changed, 111 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
Added test cases that runs quickly under test fast category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 99 ---
1 file changed, 94 insertions(+), 5 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
Grouped performace test cases under test-perf category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 825e84fce
From: Hari Kumar Vemula
1/5: remove existing test cases to reorganize further
2/5: add test-fast suite to meson targets
3/5: add test-perf suite to meson targets
4/5: add test-driver suite to meson targets
5/5: add test-dump suite to meson targets
--
v3: Updated testcase names in file prefix
From: Hari Kumar Vemula
Grouped performace test cases under test-perf category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index b6443c88a
From: Hari Kumar Vemula
Grouped logging or dump related test cases to test-dump category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 22 ++
1 file changed, 22 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 4668eed81
From: Hari Kumar Vemula
Added test cases that depend on library as cryptodev
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index c69fe0007..4668eed81
From: Hari Kumar Vemula
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 110 --
1 file changed, 110 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
Added test cases that runs quickly under test fast category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 102 +++---
1 file changed, 97 insertions(+), 5 deletions(-)
diff --git a/test/test/meson.build b/test
From: Hari Kumar Vemula
1/5: remove existing test cases to reorganize further
2/5: add test-fast suite to meson targets
3/5: add test-perf suite to meson targets
4/5: add test-driver suite to meson targets
5/5: add test-dump suite to meson targets
--
v2: Divided fast-test list into two lists
Unit testcases are added for metrics library
Added metrics unit test to autotest list
Updated meson build file
Updated MAINTAINERSHIP for metrics unit test
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
Reviewed-by: Remy Horton
Acked-by: Remy Horton
---
v5: Rebased on new
Added new meson.build file for ZUC
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/meson.build | 2 +-
drivers/crypto/zuc/meson.build | 12
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/zuc/meson.build
diff --git a/drivers/crypto
Added new meson.build file for KASUMI
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/kasumi/meson.build | 12
drivers/crypto/meson.build| 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/kasumi/meson.build
diff --git a/drivers
Added new meson.build files for aesni_gcm
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/aesni_gcm/meson.build | 13 +
drivers/crypto/meson.build | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/aesni_gcm/meson.build
diff
Added new meson.build file for aesni_mb
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/aesni_mb/meson.build | 12
drivers/crypto/meson.build | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/aesni_mb/meson.build
diff --git
1/4: enablement of aesni_gcm pmd in meson
2/4: enablement of aesni_mb pmd in meson
3/4: enablement of kasumi pmd enable in meson
4/4: enablement of zuc pmd enable in meson
--
v2: Removed lib dependancy options from meson_option.txt file
--
Hari Kumar Vemula (4):
drivers/crypto: enable meson
Added new meson.build file for ZUC
Exported dependency library path through meson_options.txt file
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/meson.build | 2 +-
drivers/crypto/zuc/meson.build | 18 ++
meson_options.txt | 2 ++
3 files changed, 21
Added new meson.build files for aesni_gcm
Exported dependency library path through meson_options.txt file
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/aesni_gcm/meson.build | 17 +
drivers/crypto/meson.build | 2 +-
meson_options.txt| 2
Added new meson.build file for aesni_mb
Exported dependency library path through meson_options.txt file
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/aesni_mb/meson.build | 16
drivers/crypto/meson.build | 2 +-
2 files changed, 17 insertions(+), 1 deletion
Added new meson.build file for KASUMI
Exported dependency library path through meson_options.txt file
Signed-off-by: Hari Kumar Vemula
---
drivers/crypto/kasumi/meson.build | 18 ++
drivers/crypto/meson.build| 2 +-
meson_options.txt | 2 ++
3 files
1/4: enablement of aesni_gcm pmd in meson
2/4: enablement of aesni_mb pmd in meson
3/4: enablement of kasumi pmd enable in meson
4/4: enablement of zuc pmd enable in meson
Hari Kumar Vemula (4):
driver/crypto: enable meson support for the aesni gcm
drivers/crypto: enable meson support for the
Added test cases that depend on library as cryptodev
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/test/test/meson.build b/test/test/meson.build
index edda0b5b7..b3a9e7ef9 100644
--- a
Grouped logging or dump related test cases to test-dump category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/test/test/meson.build b/test/test/meson.build
index b3a9e7ef9..f6ba600b7 100644
Kumar Vemula (5):
test: remove existing testcases for categorization
test: add quick run tests under test-fast suite
test: add performance tests under test-perf suite
test: add library dependent tests under test-driver suite
test: add dump test cases under test-dump suite
test/test
Grouped performace test cases under test-perf category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 087d635e1..edda0b5b7 100644
--- a/test
Added test cases that runs quickly under test fast category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 89 +++
1 file changed, 83 insertions(+), 6 deletions(-)
diff --git a/test/test/meson.build b/test/test/meson.build
index
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 104 --
1 file changed, 104 deletions(-)
diff --git a/test/test/meson.build b/test/test/meson.build
index
Unit testcases are added for metrics library
Added metrics unit test to autotest list
Updated meson build file
Updated MAINTAINERSHIP for metrics unit test
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
Reviewed-by: Remy Horton
Acked-by: Remy Horton
---
v4: Updated changes
Update MAINTAINERSHIP for metrics unit test
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3b9fec76f..7057b8a0c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1140,6 +1140,7 @@ F
added metrics unit test to autotest list.
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
---
test/test/autotest_data.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/test/test/autotest_data.py b/test/test/autotest_data.py
index f68d9b111..9fc4f2fbc 100644
--- a/test
1/3: add unit tests for metrics library
2/3: add new unit tests to autotest list
3/3: updated maintainer for metrics test
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
Acked-by: Reshma Pattan
---
v3: Resolved clang compilation issue,
changed the expected value of tests in
Unit testcases are added for metrics library.
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
Reviewed-by: Remy Horton
Acked-by: Remy Horton
---
test/test/Makefile | 2 +
test/test/test_metrics.c | 312 +++
2 files changed, 314
From: Hari Kumar Vemula
Unit testcases are added for metrics library.
Signed-off-by: Hari Kumar Vemula
Reviewed-by: Reshma Pattan
Reviewed-by: Remy Horton
---
v2: Removal of overstated array size based testcases as suggested
---
test/test/Makefile | 2 +
test/test/test_metrics.c
Unit Testcases are added for metrics library.
Signed-off-by: Hari Kumar
Reviewed-by: Reshma Pattan
---
test/test/Makefile | 2 +
test/test/test_metrics.c | 340 +++
2 files changed, 342 insertions(+)
create mode 100644 test/test/test_metrics.
76 matches
Mail list logo