From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 850FDA04DD; Fri, 23 Oct 2020 15:24:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62642A976; Fri, 23 Oct 2020 15:24:34 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C065EA971; Fri, 23 Oct 2020 15:24:31 +0200 (CEST) IronPort-SDR: 7WY3/kVPAdbVtHFFll5CzsIr31/h84y+UL/slv5yz1SwLzNeBG4skszYMX1ugPN+J52zoSJGwM f1UOF2D2Lpdg== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="229309567" X-IronPort-AV: E=Sophos;i="5.77,408,1596524400"; d="scan'208";a="229309567" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 06:24:27 -0700 IronPort-SDR: VSzuKz2lbZ+qW4O/iFcGfvq3vQ26Lvu0lKkkEXAX/OspQ7YBtxdEEOhVDHmLddeF/eFEno/3si 7YlcV9/908/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,408,1596524400"; d="scan'208";a="317091668" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga003.jf.intel.com with ESMTP; 23 Oct 2020 06:24:26 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 23 Oct 2020 06:24:25 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 23 Oct 2020 06:24:25 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 23 Oct 2020 06:24:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LGtflx9Ups8yzVY0pvzBspmYHOKcKg6V8XgDdEn5FD2XIJ0/1uPZ+kWmAasIvROIA1ZJao+BS5HSh6rOK0xF6iuzfev5J/fb9yr6iGpAqaHPDSnXvhv4rclLqK9467ZL+0vT5lCymHmw7yk1X/fkk835+hqtgpo845J8m2m/KTaLtjD14v6BwNbp8y4HDLIM0gTzKbuKRlWU9PIg4gRtqgHv25fGEIxWMfSIvgYW47/Fs+zCrWyA4xSGjYjnzf5RsHOKt0qbHSqDDKUe4NC7aurugeZirDof1DTjYFx268l3pGXWukrOqdnKNBaCnCXet913TjNQqA2xfAo9JVyztg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QSi6z/AxerjcDLauxcw7zJj27R+Vwh+jvvaZ58G+dYg=; b=K5cPw7/4dXQreesG6eEbTBvmo4Ejn874FCKz0zeZP/3NnDQJJHbachAz+OZoEA7JHJeuwXpPQIN/n0gxud5Skq5g9Q1EkjSbcMFvNG72pIV0sOj60/pWaaoizRQuEJvowM1X3UJneU5MvVGA+EQTgt3LXQHDG1NsV4TVtj1mtoFD7W503VWeIvyR8Qv4XV7+XXi8Wf4/VHYYHKrky4so8C6Y+T7dSHnE31uTXgQUVYU4isEN0lDHr2NzV0GDgITFm9g59RaBiqfDp/a2kNkdT7U2mCgOC6/gp5l++ylpnJALGcXE4jJkQDWiEQxpNJVvunbHSkU+O8JIM4GLDsmMZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QSi6z/AxerjcDLauxcw7zJj27R+Vwh+jvvaZ58G+dYg=; b=oTOcy/3x6YvqUIFnWUwBvku1thDtpnUeFhlrFGW6BaapWP+AVyQwOJagie9oLJDPBAXzKvovK6XxPLBqGCzQaGs+za+PpNKUUYrKBeKvjEyfekycMHgnGtoreq6yk3cO2OnHYBkTSQ9FN79hVevOhTAP5NsKMIBS5gG5eRq9M3g= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BYAPR11MB3032.namprd11.prod.outlook.com (2603:10b6:a03:8f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Fri, 23 Oct 2020 13:24:22 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f5a4:3f6b:ade3:296b]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f5a4:3f6b:ade3:296b%3]) with mapi id 15.20.3499.018; Fri, 23 Oct 2020 13:24:22 +0000 From: "Ananyev, Konstantin" To: Honnappa Nagarahalli , "dev@dpdk.org" CC: "olivier.matz@6wind.com" , "david.marchand@redhat.com" , "dharmik.thakkar@arm.com" , "ruifeng.wang@arm.com" , "nd@arm.com" , "stable@dpdk.org" Thread-Topic: [PATCH v3 1/5] test/ring: fix the memory dump size Thread-Index: AQHWqPdCRGHumzyQe0WKcANVbJ9BsamlLXCw Date: Fri, 23 Oct 2020 13:24:22 +0000 Message-ID: References: <20200224203931.21256-1-honnappa.nagarahalli@arm.com> <20201023044343.13462-1-honnappa.nagarahalli@arm.com> <20201023044343.13462-2-honnappa.nagarahalli@arm.com> In-Reply-To: <20201023044343.13462-2-honnappa.nagarahalli@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d7d635f9-8b03-4053-497d-08d87756f47e x-ms-traffictypediagnostic: BYAPR11MB3032: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:820; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MdItul0LVlt1NDW26X+Ysa6Scgcs0k3izM3wZDMGUlVRKejAoAafUDyFCUUHowdITqUZ/9cNF9C0NqPFG1dY0FSf0Byzj8y1cpd7se295JubabMF5/weHsVAdtdtN15FwfSeUQnfXTaGMHc+whdDbzBrsz/VFoWbSXc4A5mjkdlA3YunhoKk+sM2BsXVW2QbZixH5FsRUd2hoRDY7rEwsGRdOAtVuo1uOTwR3hE1CG9hct0RUvpoLSJaFSa6qVOH3t0uNHGcB87IVCq2QMVuChgv/jhDxMw/9wh0JdZr5bWlxyn1nA/KX/K+QgcBGldmA0t0ch+d8LxbTK2wwXatVw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(396003)(136003)(376002)(346002)(9686003)(186003)(4744005)(33656002)(478600001)(64756008)(66446008)(76116006)(66556008)(55016002)(83380400001)(66946007)(66476007)(52536014)(316002)(8936002)(110136005)(7696005)(26005)(4326008)(6506007)(2906002)(54906003)(71200400001)(86362001)(8676002)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: +3coNbHBxdHYP/XKlQ+5EuFcLwfqw9+SPNiyFKpmCxyq5EbciRMZheQro8Vq+BhKaPOGiKTU7E/aP/TPIzVN4dcLpEKUklORH2SzBR2czn2YKYFeQo33Xiq77FLFWXduK3Bej6JrgvtznylgBRjxXL/GCYDiZTRa8dGODdROu0i6VfwRfrEMVwRSJe2NAKlY//lYlEDvBvlxMZRQTJw6k2m76fzn5BB+8DW9VnTipW1Z22ggkZAO2d30XIiegCcqEworvIMezFQkSEkrSl2lI7LYRbU0mHzJjauRkJE8FwkQL1gD7wLzee5Bzp/uF7ecn7BrlrMVZ6Q5ENBYIDLqa+/S617c1QUSZM32eAh9JxQrpHukhI4JlNM/e9r/eq9o2AkM/raa+BlXgF/6lclOqfyZ+vwBv9slYhGp1Poy5SwaPqHVpzoc1TX9L/qXkVRoBDw6TT9Yl+XQzzCeTxkcKLBdtLdK29JADkH0DqEHJTwG4bbqc6X8levveEEKMC7v3OFaU3wsgkKk9weFTamPeqixNJg+g4kAxDsCwcUcAugKXkcNQmXturdo+Vx+PGVNr/BQQZFu59WR9adYQkkfJBw3I+R30fpBZZwQDHwN92qv2S09U7cbCncw/9qS5RyrThBc6IppcIOWoayjO/zyCA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7d635f9-8b03-4053-497d-08d87756f47e X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2020 13:24:22.4775 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1pO8C3ss9JKqpMPi6iwUoOTtG5D0OnjsuzHZzfeV4ktXjJF26w/nZMDLRjkKlmO7kodRg+HkohWnKLMTeye7xs86CuqSHSa6VTrjzWYWHvM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3032 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/5] test/ring: fix the memory dump size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > Pass the correct number of bytes to dump the memory. >=20 > Fixes: bf28df24e915 ("test/ring: add contention stress test" > Cc: konstantin.ananyev@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Dharmik Thakkar > --- > app/test/test_ring_stress_impl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 > 2.17.1