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 D08FFA00E6 for ; Mon, 5 Aug 2019 08:42:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 949721BE58; Mon, 5 Aug 2019 08:42:32 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70048.outbound.protection.outlook.com [40.107.7.48]) by dpdk.org (Postfix) with ESMTP id 15B4531FC for ; Mon, 5 Aug 2019 08:42:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=htRJeFd3kAwfFIiC2u9n84XZi0ar6dNWJWG4PpGYW4xwkM7M7SlBhblFnyZs6wD3KJPluVySRy2Q0gaR3882vnxH6oJ4+EyqX3pzBRd8C1Wtvgcw5csT+ETUrUMoAzvfZVeouFrDdwuoAfNv+KfasJx/0mrB+pvzO0szececc9Q6VjshLfCiLh5szamyATPy+/ufl5+bPjHJraTqCpyipQHMbc5UAZockz/qrPCJsvQE3KrkkqqOEQFHKjagXufH4+OjrVelpFnlCxcH0YertUsbne4WgRl5ohWnSMRXTOkwjHHL5YS0f0kA+J6S0dM3o0PQNqvz2uStTJ02uupHtQ== 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=gLxxxV6pJbTXl64489nQNqzOb5foOiZ+Tk6xvz0T5aQ=; b=i1sg9t3U0RSU5Z9Zvwh0f4lYxvE7Os27M2SSbxlBKzZeABROVrTdTRs4RBF7UhEZVv2f27rFo8/So/zw0XdSoBGDpGD5CekLKxTR/6dAc6/VrxXVDlma2AVTei1FvoIeyG5bgYYZuInlZ5d4eGKKugJxi+yTE4Kbr81fqlHwGLuSIskPiDeJESVJ2tYx8pnR34NsWpncckd8DLnYLlNjfFwr5RbKHfJGgk+Y8ChClOX3cicKFe+D7kS0bi5k3sLdt3RQiYEsYX3j1OoseOQSKfukCA+pOMQgbJUC2xsjrqM8A45kwA8NxId0xBog0zd5ftSdAFpsf8cmzmQwzIYW8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mellanox.com;dmarc=pass action=none header.from=mellanox.com;dkim=pass header.d=mellanox.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gLxxxV6pJbTXl64489nQNqzOb5foOiZ+Tk6xvz0T5aQ=; b=iUzyt0gLkkjrxkbdV8cwXhHMu5uFIDgbV3X2KjYPN/DYlGMGVjv+ZB8tGYb0xPdpy8a20dy59cJFbe3xPbUvpDgt/mJK+EtPp9tHP+nj9FG4yClic99maI6GtFNp0WVLe1EsZzG6ob76DKKfPx600drMgYrwz3GFLAd793Haxvs= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3826.eurprd05.prod.outlook.com (52.133.45.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.16; Mon, 5 Aug 2019 06:42:30 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::ccc2:2dd4:ca86:7639]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::ccc2:2dd4:ca86:7639%3]) with mapi id 15.20.2136.010; Mon, 5 Aug 2019 06:42:30 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Yongseok Koh , Shahaf Shuler Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix completion queue drain loop Thread-Index: AQHVSsyEC8QaJZhpjEeQKnPKwPBt+qbsHCjQ Date: Mon, 5 Aug 2019 06:42:30 +0000 Message-ID: References: <1564927023-31687-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1564927023-31687-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 23baf6f8-b0b9-4bc0-fc63-08d71970168d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3826; x-ms-traffictypediagnostic: AM0PR0502MB3826: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-forefront-prvs: 01208B1E18 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(39860400002)(136003)(366004)(396003)(189003)(199004)(71200400001)(71190400001)(256004)(66446008)(4744005)(186003)(52536014)(76116006)(74316002)(76176011)(53936002)(86362001)(2501003)(7696005)(55016002)(6436002)(5660300002)(102836004)(26005)(6506007)(9686003)(2906002)(33656002)(4326008)(8676002)(316002)(66066001)(54906003)(81166006)(110136005)(14454004)(81156014)(68736007)(6246003)(107886003)(476003)(11346002)(446003)(486006)(66556008)(99286004)(3846002)(478600001)(66946007)(229853002)(6116002)(66476007)(7736002)(305945005)(8936002)(64756008)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3826; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: qIP4kf+fF0artqtVCCqtt8Cql7qojqB0TTP5tihXVPCf2JOHUz/8l+9qQzqvu/dLSO2A0ciGyDIKlA290fIqShfPUmMOOzQkks7tlm5KFYlG5OLigEQDs7oc6P9glISmcQugh1qJ2I7iDUEQetz6kKettZuKErnCRJHGsvSzl73cX/uaVaeRix7A/CWD//AlFsE/9KugBHY6S/4ab0yJsjyA9j+JVI+rSk/XeciRpQ+/jYeyWfl3hN5aIugszHiE99bmZ/KQH18Y69IP5Yx9778jSjr/JEtiwDZSMvQJmEM7oDVneyy7Qx4Bk8pFJjGeE2XD+qEaQ4Zwo5JBlQKBnDOLvIn+6SM5rY8qHZ0grvLGaESizqBm8xk4SjvY8KNcDL8pvIUFdxGw7qxifwJitAf+Pl2NwdQVV1cOwPDrGTI= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23baf6f8-b0b9-4bc0-fc63-08d71970168d X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2019 06:42:30.0730 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: matan@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3826 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix completion queue drain loop 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" From: Viacheslav Ovsiienko > The completion loop speed optimizations for error-free operations are don= e > - no CQE field fetch on each loop iteration. Also, code size is oprimized= - the > flush buffers routine is invoked once. >=20 > Fixes: 318ea4cfa1b1 ("net/mlx5: fix Tx completion descriptors fetching lo= op") >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad