* [dpdk-stable] [PATCH v3 1/5] test/ring: fix the memory dump size [not found] ` <20201023044343.13462-1-honnappa.nagarahalli@arm.com> @ 2020-10-23 4:43 ` Honnappa Nagarahalli 2020-10-23 13:24 ` Ananyev, Konstantin 0 siblings, 1 reply; 4+ messages in thread From: Honnappa Nagarahalli @ 2020-10-23 4:43 UTC (permalink / raw) To: dev, honnappa.nagarahalli, konstantin.ananyev Cc: olivier.matz, david.marchand, dharmik.thakkar, ruifeng.wang, nd, stable Pass the correct number of bytes to dump the memory. Fixes: bf28df24e915 ("test/ring: add contention stress test" Cc: konstantin.ananyev@intel.com Cc: stable@dpdk.org Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com> --- app/test/test_ring_stress_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_ring_stress_impl.h b/app/test/test_ring_stress_impl.h index 3b9a480eb..f9ca63b90 100644 --- a/app/test/test_ring_stress_impl.h +++ b/app/test/test_ring_stress_impl.h @@ -159,7 +159,7 @@ check_updt_elem(struct ring_elem *elm[], uint32_t num, "offending object: %p\n", __func__, rte_lcore_id(), num, i, elm[i]); rte_memdump(stdout, "expected", check, sizeof(*check)); - rte_memdump(stdout, "result", elm[i], sizeof(elm[i])); + rte_memdump(stdout, "result", elm[i], sizeof(*elm[i])); rte_spinlock_unlock(&dump_lock); return -EINVAL; } -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [PATCH v3 1/5] test/ring: fix the memory dump size 2020-10-23 4:43 ` [dpdk-stable] [PATCH v3 1/5] test/ring: fix the memory dump size Honnappa Nagarahalli @ 2020-10-23 13:24 ` Ananyev, Konstantin 0 siblings, 0 replies; 4+ messages in thread From: Ananyev, Konstantin @ 2020-10-23 13:24 UTC (permalink / raw) To: Honnappa Nagarahalli, dev Cc: olivier.matz, david.marchand, dharmik.thakkar, ruifeng.wang, nd, stable > Pass the correct number of bytes to dump the memory. > > Fixes: bf28df24e915 ("test/ring: add contention stress test" > Cc: konstantin.ananyev@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> > Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com> > --- > app/test/test_ring_stress_impl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/app/test/test_ring_stress_impl.h b/app/test/test_ring_stress_impl.h > index 3b9a480eb..f9ca63b90 100644 > --- a/app/test/test_ring_stress_impl.h > +++ b/app/test/test_ring_stress_impl.h > @@ -159,7 +159,7 @@ check_updt_elem(struct ring_elem *elm[], uint32_t num, > "offending object: %p\n", > __func__, rte_lcore_id(), num, i, elm[i]); > rte_memdump(stdout, "expected", check, sizeof(*check)); > - rte_memdump(stdout, "result", elm[i], sizeof(elm[i])); > + rte_memdump(stdout, "result", elm[i], sizeof(*elm[i])); > rte_spinlock_unlock(&dump_lock); > return -EINVAL; > } > -- Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> > 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20201024161112.13730-1-honnappa.nagarahalli@arm.com>]
* [dpdk-stable] [PATCH v4 6/8] test/ring: fix the memory dump size [not found] ` <20201024161112.13730-1-honnappa.nagarahalli@arm.com> @ 2020-10-24 16:11 ` Honnappa Nagarahalli 0 siblings, 0 replies; 4+ messages in thread From: Honnappa Nagarahalli @ 2020-10-24 16:11 UTC (permalink / raw) To: dev, honnappa.nagarahalli, konstantin.ananyev, stephen Cc: dharmik.thakkar, ruifeng.wang, olivier.matz, david.marchand, nd, stable Pass the correct number of bytes to dump the memory. Fixes: bf28df24e915 ("test/ring: add contention stress test" Cc: konstantin.ananyev@intel.com Cc: stable@dpdk.org Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> --- app/test/test_ring_stress_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_ring_stress_impl.h b/app/test/test_ring_stress_impl.h index 3b9a480eb..f9ca63b90 100644 --- a/app/test/test_ring_stress_impl.h +++ b/app/test/test_ring_stress_impl.h @@ -159,7 +159,7 @@ check_updt_elem(struct ring_elem *elm[], uint32_t num, "offending object: %p\n", __func__, rte_lcore_id(), num, i, elm[i]); rte_memdump(stdout, "expected", check, sizeof(*check)); - rte_memdump(stdout, "result", elm[i], sizeof(elm[i])); + rte_memdump(stdout, "result", elm[i], sizeof(*elm[i])); rte_spinlock_unlock(&dump_lock); return -EINVAL; } -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20201025054556.14277-1-honnappa.nagarahalli@arm.com>]
* [dpdk-stable] [PATCH v5 6/8] test/ring: fix the memory dump size [not found] ` <20201025054556.14277-1-honnappa.nagarahalli@arm.com> @ 2020-10-25 5:45 ` Honnappa Nagarahalli 0 siblings, 0 replies; 4+ messages in thread From: Honnappa Nagarahalli @ 2020-10-25 5:45 UTC (permalink / raw) To: dev, honnappa.nagarahalli, konstantin.ananyev, stephen Cc: dharmik.thakkar, ruifeng.wang, olivier.matz, david.marchand, nd, stable Pass the correct number of bytes to dump the memory. Fixes: bf28df24e915 ("test/ring: add contention stress test" Cc: konstantin.ananyev@intel.com Cc: stable@dpdk.org Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> --- app/test/test_ring_stress_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_ring_stress_impl.h b/app/test/test_ring_stress_impl.h index 3b9a480eb..f9ca63b90 100644 --- a/app/test/test_ring_stress_impl.h +++ b/app/test/test_ring_stress_impl.h @@ -159,7 +159,7 @@ check_updt_elem(struct ring_elem *elm[], uint32_t num, "offending object: %p\n", __func__, rte_lcore_id(), num, i, elm[i]); rte_memdump(stdout, "expected", check, sizeof(*check)); - rte_memdump(stdout, "result", elm[i], sizeof(elm[i])); + rte_memdump(stdout, "result", elm[i], sizeof(*elm[i])); rte_spinlock_unlock(&dump_lock); return -EINVAL; } -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-25 5:46 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20200224203931.21256-1-honnappa.nagarahalli@arm.com> [not found] ` <20201023044343.13462-1-honnappa.nagarahalli@arm.com> 2020-10-23 4:43 ` [dpdk-stable] [PATCH v3 1/5] test/ring: fix the memory dump size Honnappa Nagarahalli 2020-10-23 13:24 ` Ananyev, Konstantin [not found] ` <20201024161112.13730-1-honnappa.nagarahalli@arm.com> 2020-10-24 16:11 ` [dpdk-stable] [PATCH v4 6/8] " Honnappa Nagarahalli [not found] ` <20201025054556.14277-1-honnappa.nagarahalli@arm.com> 2020-10-25 5:45 ` [dpdk-stable] [PATCH v5 " Honnappa Nagarahalli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).