From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 434CEA0351; Fri, 4 Mar 2022 10:27:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5AF840150; Fri, 4 Mar 2022 10:27:11 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 368984013F; Fri, 4 Mar 2022 10:27:10 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 22475F5m002077; Fri, 4 Mar 2022 01:27:09 -0800 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2049.outbound.protection.outlook.com [104.47.66.49]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ek4j62shu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Mar 2022 01:27:09 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UT+F8Oc/9CqdVEE+uasmB+VgNGp9fzSHltuCtqaU9EDn5+NHTj2kOcksQbZctS1UiWXI/iLVnUWGnyBICNGrp2pgXGPVxNnwZNtMFTIHzcnvsH6KayHu/awW/0nfIp74ZA5RGZRvcMgNMoATNPfeOsoHT+OovO0+SYPHrHRZOns6Wx+6ASOjnkr/H+PE6bF1s8TUyIVRUdkyRPfacZF8+gp+0r6vI+sfcvY3wH8OQshwfSLDztuB1dkS7O31cjS0YZqnRSp+mioQi6X06Iz1cnlqPvfpMEyQ16sH1y0q0sJtYW3WUrNkXsoV7rAHEiOSa57YL2tLBcBvuPwXKZBUEQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mD6qklWDOm5G5JeLRb/a4PAtgelTjvnTY/6j+aFQEgI=; b=RLbArqARvbpaJ9b1bpnpcVoftZ9kml6J+EbvDrxb6AqjBO0hY1ayTX+3xs+lUTDkmgwi71/JHX9KzUa7oklU9PUm9OOy/dBRQLih12j/xaJSgs58hyrxY6yHdIAUQibk159Ia5MjOqF273ixHYFSMWpEHE4lx7QTD88u1IutxP7CipvvPNE3qFAIIcH5kuN1Zyrw6zKXTDlszLXw1KLUEnBlve1om58sd46MJ8TTB3FVS7HoOW4N0DaP7h/eQgiyqGyYLefFK8C0mwaCiyE1cDOp2D8x9GLoyzjStQ7xA6xf0KmE8WAbbEhQ5XhwXVqyC4e+e64Mopl4zp+1QTm4mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mD6qklWDOm5G5JeLRb/a4PAtgelTjvnTY/6j+aFQEgI=; b=hUmUPIBMzCXe9TeZ9QqPUM7G+fnA17eAH2sr1s+WGe/STDF1kjAJAYr3LKXpWRh+7SfLr4utyacepsiwPehk4xe+5syLx+cLKVH3CFPkl5p+H6ET0p2CWlFBHaHKKoPDw0ojcmkdDAd39mYT2U3U0xygPzS0uSzqVp9rVjIqEjo= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MWHPR18MB1597.namprd18.prod.outlook.com (2603:10b6:300:d3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 4 Mar 2022 09:27:05 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9897:9e8c:ed0f:4f1]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9897:9e8c:ed0f:4f1%5]) with mapi id 15.20.5038.017; Fri, 4 Mar 2022 09:27:05 +0000 From: Akhil Goyal To: Raja Zidane , "dev@dpdk.org" CC: "matan@nvidia.com" , "stable@dpdk.org" Subject: RE: [EXT] [PATCH] app/compress-perf: fix cyclecount enqueue ops allocation Thread-Topic: [EXT] [PATCH] app/compress-perf: fix cyclecount enqueue ops allocation Thread-Index: AQHYKLnSA/3T+7UTpEyQQ25ymJVgM6yvAkiw Date: Fri, 4 Mar 2022 09:27:05 +0000 Message-ID: References: <20220223133217.13502-1-rzidane@nvidia.com> In-Reply-To: <20220223133217.13502-1-rzidane@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8f80df0d-511f-4792-b644-08d9fdc125dd x-ms-traffictypediagnostic: MWHPR18MB1597:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Cxx2e5FzeLEsa6ZKyVHkvJ5JbBC3dIja+LL1ONEaiSL0lQLw6IzS4pk7BFdo4lhESYpsHhDSzNgX7gWki5BaROboG5qOUPCRC78PlVYeHwGxFHUCsygFJeg+KhAKfG32nyU1b4JkcJGoWgHZ9767DttW/Kcxvcq5hRHh/cnrzDBC4lZv0Yr/LvBO19K7BO3JyKN93BqTIAOKCOXs7+18ti/Ng1Y/TBZWXoDr3ZpLkGk4R4/tYH9iEK5sLQqnHRIKuNEn/8EtGQfoJ5dtIjzAyh9RidLhQnEB1uCQkq4Ym+nAnfrlrop0kNzksHHYmkCm2SoOmYqU5DtxMpXpeAb67kJjEcURKT4F1xdPqhcMgk6T8JmlQcx4MTibeLvJzH3prEJphpkYt+mLmBdi6vRBKa980xW+ikVNkTLCblbQV7MWBUcqhq77DpotU5JLOk4ry2jqQBfRJ//Zx8iDhTfeErAP8+Go0F7jgIPKgZXlmZORhJzFI89bDT6T+qwlOlPPwOrg+C9mpaUgWSp7B6hyuDvu3rOIhgkN6jydC94RMkjJBywU/O/sEX3v5qBq2iTQ4XiG2Qj+bUpvgYZuZNTya8rq9mH2lBxvMieelAm1HAMmo6ncUWiDZhivLRAF9wSRKPcDj/XfpcHUTO4dVWsoEz5TfsXqRjl6MyzZtWNQtmCMGvzU803rD7DoqSjcaj7FrXdNRoVpYr6mxiSM6lzI0g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(26005)(186003)(83380400001)(122000001)(55016003)(38100700002)(38070700005)(86362001)(5660300002)(508600001)(71200400001)(8676002)(7696005)(6506007)(55236004)(4326008)(316002)(66946007)(64756008)(66446008)(66476007)(66556008)(76116006)(52536014)(54906003)(9686003)(110136005)(8936002)(4744005)(2906002)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xC6msvCEoIoYBgDnVG5J7QF49mHpp3DTYnjrFEsRQ3MVXA/e+ltow/Xbgiop?= =?us-ascii?Q?9WZ1QKb2O9SPNS2cEXeV0U9rjWoeMucwvRSArSAmN6GfFMmDPImnxn33Bts1?= =?us-ascii?Q?CpmEtBV8sK+VYK8cEVFaDahOOdcKivzEubzzcsP0RLqirudf1AqU0o32U2wm?= =?us-ascii?Q?HitOmiuhtSWP+DPvKuD/PF1YMARmIGVoaTxNsq1IFeNO73WX8Wgzf8ph3fXI?= =?us-ascii?Q?CjyhOUljXFZl6wz10/kHH0My5uYd2I69VArqpkCQ86ydDFUxQh2CbEKk5DOo?= =?us-ascii?Q?u24zlEMnAZIhoVp8pqWbpKQW5sRndaAKFXkhFyRrzM77vlnK9vXOWQTTzA3G?= =?us-ascii?Q?djEftQ5HWL8F8x9jWsq88LZ0C1ZtPPoLBibdtY1d63pVNiVVsHDD0eZEBWru?= =?us-ascii?Q?UwJUYxFByz8JIB1mFiIa7jQeSn26XGMNW2gJLxjT4BgKD63ugEqyENC/jyW2?= =?us-ascii?Q?px2PYaob9uvtiXf+8uMmDdRMrFFZXpD0B5oxbwaqVOXWwbItvxHh6wA69q00?= =?us-ascii?Q?m5+NeNr4A0WzQbP0JX/FUom51T6vAdBic6DJLdai2jQc8esnhWdnuXxKg28e?= =?us-ascii?Q?9ukbA75/fO/XCRS/MwO6GUgzqckbtySiJA4QQDmxRxCICxmg/CCBPBsvD3/B?= =?us-ascii?Q?ufsIlIzPqr8ykCfNMxo27t96Z+AvFIb95ggCX5j7P5H6N1D8PVm+KyGB532y?= =?us-ascii?Q?/piUppG1ek9PRpU0pvyyOnRBVu27dsQps7ihUrXBMjVpCdIXNhYKynuoltUe?= =?us-ascii?Q?03RF31DgahPWV8+4JgevDtVSIChtTJmV+LPuAF3GYgQC7kZcwlnw8a7ZY2D2?= =?us-ascii?Q?pfaOzIuMTpRPOCD6DJLb0qll6lLTZSg+CvAsuZoEB3BQaVT/q/T2URKnA0jo?= =?us-ascii?Q?1K4dyF2YrScKhrJCkdz2vp22adPen3qg6HmTqRdwdUpnrVujInT1d7BR5x0t?= =?us-ascii?Q?uyqhlb2KS12LLMNkI2UmSWQddFhKbdoifeW0r9HTst/Oh7C0CFdG7nx/YOKh?= =?us-ascii?Q?T6InsfYDbd5Saf7V75fFr/093XfG7IIwyH32hVee0JfCvpWasIk/z5Jj7cfg?= =?us-ascii?Q?8say28u4oeGiUDIe4KGSsC5iKjzZeeTzSaUwNv5JYXUYPpkDEqV3ideSFN6K?= =?us-ascii?Q?lb8zz/H8XiFxC86c+qUEcWyCgptOLdHqJFngHIzK+4tsiLQWi9hVS7o+yFz1?= =?us-ascii?Q?6/3IY7rc88Xs1cllpiLiGptx0Oo77J7+Zxea8d1AJN31mAfqGYVVaXUSwE0t?= =?us-ascii?Q?s6LD05n3IR567cA5Ys7Aa7tXOM1BxW9jNOKIoFUdeu7FT07+2G+TBtCYxW2f?= =?us-ascii?Q?r4M9cBdrobDmSs0E0YpTYaiJA6b/B6Pw44RzJBuyNii02qV0CrD6IrFqbHE9?= =?us-ascii?Q?vpqWNSZshU3+Y6+xc1HaxWWKKnncJkcMglEZZV3egU2WlgwUx/79X5gs21Ib?= =?us-ascii?Q?bMwsTy0PbwE77TNr7vWqg1+0+5AHr5WHYL8PcCTrq0xRWfN1qO86tzmgtzvA?= =?us-ascii?Q?8nltpTufVhYko8d1ILmvf/YHWPIJmdi+C7cSDrEBDL4Yguk/CpLbdbI0ujZf?= =?us-ascii?Q?Tn9Lar/Q31gZFiURz4vY/SGn/NKf1e6reAY1bB+sfnchSOoIX/0gYTJPgr9R?= =?us-ascii?Q?afM2G47BTYzXtZ3GzQidAEc=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f80df0d-511f-4792-b644-08d9fdc125dd X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 09:27:05.4344 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 688oFYH6s//g+I8C8UYRZoSYIA+thRXSvrYFUPK1xh0HZJ4AtmIIClX/OQZErA6YWyc3EMWiRaN1OqC3beh1Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR18MB1597 X-Proofpoint-GUID: tn5fxwCYNc-ri1LQ5YLgpGgBVHcj5m7s X-Proofpoint-ORIG-GUID: tn5fxwCYNc-ri1LQ5YLgpGgBVHcj5m7s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-04_02,2022-02-26_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > In cyclecount main_loop function, each iteration it tries to enqueue X op= s, > in case Y beginning of the ops array, to preserve ops order, and next Y ops are > allocated for the next enqueue action, the allocation of the ops occures = on > the first Y entries in the array, when it should have skipped the first X= -Y > array entries and allocate the following Y entries. >=20 > Fix the allocation by adding the correct offset. >=20 > Fixes: 2695db95a147 ("test/compress: add cycle-count mode to perf tool") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > --- > Acked-by: Matan Azrad matan@nvidia.com Please use proper syntax for acks. Applied to dpdk-next-crypto