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 84473A0C4F for ; Mon, 12 Jul 2021 17:31:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 489AE4069D; Mon, 12 Jul 2021 17:31:37 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2061.outbound.protection.outlook.com [40.107.220.61]) by mails.dpdk.org (Postfix) with ESMTP id 3BD744069D; Mon, 12 Jul 2021 17:31:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W1neFKcsdKyQcf7zS9pHVzYUMSiJRe+ITjBL6yEmvjOk/Ug+jlUxpBOJ4WyiDezKQ4YHBq+lEfMQ1ipVEKZBt0BVAmvMmCi+6aviM1rgNLnoNr0KU25UqI22+Qy9kQ0Pa8MotqVWPqP421ynSDRMy+K07EBhPihH0dC9HFXKsjTyTPUTt35ulFRi6k90WQrycOZ1CN20LRGtVsNZ6NOLCzaIahCvxOgI6/8RxFHKcqG95QN4sNevgwzttWgokCqd9CoNWsZkPaSt1HYAlBANzVHioKdjanxwXT7Fbazh9pDfVv+xWLQ3vZ1ni9uB49gQMNQaIRRfQL62iRePJCBnSg== 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=/5YsAnKeGir6U2vdLvBJcNMOSY81Q0G3yZh+xRTTDwQ=; b=exZ88bEqG+Odkgz90+2lXcYY16B4CmY1k2XqZhx97YVJF+riJaKS+bWjc8nYNc8vxRfrMKNyVHtpMIE9Z3eWlOv7QiD8odPeBwTYRoIICWHu+3tdSMhfxwCCrMy5a+Ci8MSFd3vgzQs0BQybbaT0w/CO78VVaAo8HCWJao5ZygAziSzp7vH2Lguwkjk+fhdqhzMUaqQg3VFVXo3mVpB+s5GKKcDcm3aUyFJn+KOp2/qOPqzyr3oXfdFLhqVINuLkmcUn4XaSiVgur1y+Ac6TjRoJv/TwNRIT7CKkgCDYrEskN3Ue8mDbBHgrYhhMgM8bA48cBqKtfYPlHBpAmu5IeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/5YsAnKeGir6U2vdLvBJcNMOSY81Q0G3yZh+xRTTDwQ=; b=A8cMxOKgw76nuCqN1UW09ns9nQ3k7NoAbllu+m7S3wfUY57d5r8JF+Laqd0Vq5kix4grdZ6/6LA29IJdEtM1VZ4vwC2HXSM/805IMJqPyPni+BwB1+usAs53CNQxXrsCd/4rNtO1L4hzyIyXU271INrW5nHL7+S6PYJ979U4GrSxj2UFgayaceFT7uop5TLTwsD/bYHN2SHuagCnEnIIco8IHxiz4vPBAf5kWIq5Efe1dpcadw3xdXOuKGU9BoJYpy6HqxFTeLHR/zhHKnmaB03w/U9dqjLI2mBqeFLPy7HzjMEFM53qXg9xke8+eNVgJp6RMFUMYoPZYUNPZDOvFQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB4761.namprd12.prod.outlook.com (2603:10b6:5:75::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.23; Mon, 12 Jul 2021 15:31:34 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35%6]) with mapi id 15.20.4308.027; Mon, 12 Jul 2021 15:31:34 +0000 From: Slava Ovsiienko To: Ruifeng Wang , Raslan Darawsheh , Matan Azrad , Shahaf Shuler CC: "dev@dpdk.org" , "jerinj@marvell.com" , "nd@arm.com" , "honnappa.nagarahalli@arm.com" , "stable@dpdk.org" Thread-Topic: [PATCH v2 1/2] net/mlx5: remove redundant operations Thread-Index: AQHXcw71vkqbOjg3XkGa6HIdocEqvas/f1GA Date: Mon, 12 Jul 2021 15:31:34 +0000 Message-ID: References: <20210601083055.97261-1-ruifeng.wang@arm.com> <20210707090307.1650632-1-ruifeng.wang@arm.com> <20210707090307.1650632-2-ruifeng.wang@arm.com> In-Reply-To: <20210707090307.1650632-2-ruifeng.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7bfab904-eecd-40e7-7ab2-08d9454a21a7 x-ms-traffictypediagnostic: DM6PR12MB4761: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ffKZDYlTt8lZjVWtQjDDjy2+thQUQLW77GXjF6oNSdiIXKexHDlDMBV67E0CBYdlTgq2H7LqL58LxzHhXZl6OZOF/BgvUjoe+3u+F/JSjSC0EP3CHVL/UBcgMXgXivY0pBjcr2wEecfaPe3wMet7Csx0kk3mdbs4BFH15zBxZqTDTTKbHy4upb18p2Eo3MPE8TvvNCQOcwgmQQRhS+S0Jfte/ohIZT2pRZfDvkHTZhVQcI5nCtdMW15ai8xbf8yOshQuJRds9IWPxJJmwbp1Hto8u4YAMrfDNCy9f28RRDJZDhE28AOs7zPh/Ujyn5bmidk0pbuMQE4wIizHBgVNqikWj+KkBQ6LFsb3MWiIaOx1Pie+zly+c2ArtqLn9MIZGYnfmm55OUGZGPbS74R4Cz6FGszCOx6EDL+NpY2ybJYwSPa0DqPreGtWTQ5tAkBucsJiRin7prZiMQ2hXdwDpAg9HiRZLT3PRt66Hn+DdooK6ZFYZZ4ww9chcMacuPvREdoEPj7/Yo1TxbgRw6E9fNtIUHUd4aGP5zDTrEGmg5cQ8d2zk7Lh5tbNspcyXwosWmWnuFEjwJK3DF6xEQPGFiIa2MS+nssvd3O+OW+SxC5VTDjiIKOyQBNtb+p9ltBO/Sqk9FJdEDI7ul//ugxFxA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(136003)(396003)(376002)(346002)(8936002)(86362001)(26005)(66556008)(64756008)(33656002)(316002)(66446008)(66476007)(55236004)(53546011)(6506007)(110136005)(66946007)(38100700002)(52536014)(186003)(7696005)(8676002)(55016002)(122000001)(76116006)(83380400001)(5660300002)(478600001)(71200400001)(4744005)(6636002)(4326008)(54906003)(2906002)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0csfM0w64BFEMI0eI/XL1XbcxuzYesI22luvym3rb/KawUy/HeR5G0kVoelv?= =?us-ascii?Q?5tXKPJXzfCdWOg6nKHXrqCn2w5/7VRMbMywdOZaRhBGbiYr6UAbtoj1vnDOJ?= =?us-ascii?Q?SkbUGjun3g+Ltl+/j10BocRN2eNNxUwlxB78I6keD/N1XE66EiodP4eSrVuW?= =?us-ascii?Q?Nrp2C5hLNqsXlkMQWz7gaw/Kf47e7tgzf4M50vYPGuwojFU6ybJfu8Iv902E?= =?us-ascii?Q?pgTidqgWwK0U+GN5b1uJ1PbTNbRrtjPmaDq5JhtFmkjg+QzZ9HFA45tJmr2V?= =?us-ascii?Q?NSRFafrjN0LrTjRX0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-ascii?Q?jVs/7/vt8sabespSjv6MsKr+7a+RH9WwRpPbAD+8RwjuTCxQDxbynQZPYtbr?= =?us-ascii?Q?DdMaS7o84ZlE4GdTcJLNBAqoS9bhJMIMzoIVW68s+rAd7CvMUkkTlgUA7pgW?= =?us-ascii?Q?IgYGDQPJTA6nWgMC0NVQiWTk?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bfab904-eecd-40e7-7ab2-08d9454a21a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2021 15:31:34.3326 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UdgMqoX+cKDSOdLqYrIbsX84R1BR5mRV+Ugj4QPr6voFXIv6mWGF2DtEn7r/I4M3HYyYUqc/OwMjNH0BtGc6ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4761 Subject: Re: [dpdk-stable] [PATCH v2 1/2] net/mlx5: remove redundant operations X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: Ruifeng Wang > Sent: Wednesday, July 7, 2021 12:03 > To: Raslan Darawsheh ; Matan Azrad > ; Shahaf Shuler ; Slava > Ovsiienko > Cc: dev@dpdk.org; jerinj@marvell.com; nd@arm.com; > honnappa.nagarahalli@arm.com; Ruifeng Wang ; > stable@dpdk.org > Subject: [PATCH v2 1/2] net/mlx5: remove redundant operations >=20 > Mask of entries after the compressed CQE is covered by invalid mask of no= n- > compressed valid CQEs. Hence remove redundant calculation on mask. > The change showed slight performance uplift on N1SDP. >=20 > Fixes: 570acdb1da8a ("net/mlx5: add vectorized Rx/Tx burst for ARM") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ruifeng Wang Thank you for the patch update, Acked-by: Viacheslav Ovsiienko