patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
To: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "olivier.matz@6wind.com" <olivier.matz@6wind.com>,
	"david.marchand@redhat.com" <david.marchand@redhat.com>,
	"dharmik.thakkar@arm.com" <dharmik.thakkar@arm.com>,
	"ruifeng.wang@arm.com" <ruifeng.wang@arm.com>,
	"nd@arm.com" <nd@arm.com>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH v3 1/5] test/ring: fix the memory dump size
Date: Fri, 23 Oct 2020 13:24:22 +0000	[thread overview]
Message-ID: <BYAPR11MB330123FA96799D193F3CE9869A1A0@BYAPR11MB3301.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20201023044343.13462-2-honnappa.nagarahalli@arm.com>


> 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


  reply	other threads:[~2020-10-23 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200224203931.21256-1-honnappa.nagarahalli@arm.com>
     [not found] ` <20201023044343.13462-1-honnappa.nagarahalli@arm.com>
2020-10-23  4:43   ` Honnappa Nagarahalli
2020-10-23 13:24     ` Ananyev, Konstantin [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR11MB330123FA96799D193F3CE9869A1A0@BYAPR11MB3301.namprd11.prod.outlook.com \
    --to=konstantin.ananyev@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=dharmik.thakkar@arm.com \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=nd@arm.com \
    --cc=olivier.matz@6wind.com \
    --cc=ruifeng.wang@arm.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).