From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0042.outbound.protection.outlook.com [104.47.2.42]) by dpdk.org (Postfix) with ESMTP id 91E7E29C8 for ; Thu, 20 Jul 2017 17:48:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WCtUJwuErBH/QqxbJAvG/6mto5PaCqHH7/KhBikNK5I=; b=PJS0a6FAt5vYqgBxS5wIT6xDzzlGvh49Wy5wuEVoC7P8IK8yHu6yh4K8Kf4HFOEE7WrXgvgkwP+KwNlfDg8Kfqid5XaVTaQhqVnwEnT6kTCciqzxY7PfGeLB83Qw7odtgwMP2V4EZ+MGguBRrg6+3xsRleSLK7Gk7PX5iHPXeK8= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=mellanox.com; Received: from mellanox.com (209.116.155.178) by HE1PR0501MB2042.eurprd05.prod.outlook.com (2603:10a6:3:35::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Thu, 20 Jul 2017 15:48:47 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com Cc: dev@dpdk.org, Yongseok Koh Date: Thu, 20 Jul 2017 08:48:35 -0700 Message-Id: <20170720154835.13571-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: DM5PR13CA0044.namprd13.prod.outlook.com (2603:10b6:3:7b::30) To HE1PR0501MB2042.eurprd05.prod.outlook.com (2603:10a6:3:35::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6767f77c-a823-4898-7e74-08d4cf86cfc4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR0501MB2042; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042; 3:Czss6WDS0VXlLrILYrTNmg4mNmno6bjAy1H0LdyGkcF73dNV4Mr2ZAqTSXoagPpeew0wr304OryVPMnIV1TbCc4gDH/SOmiV+ABu5nfyHZfRJMK9kekvY5EY2ZO3Ld22PV3jYWRS1kHeMtY1Sh4G7QTsrB0zJSWJimCxgG4esW43ER+gE73C+FGYl0OfJ53k4I5/+w2p6rOdTtzikR/hrEtbb33wJpsHDGm8BNza5MsXmq5x2xCdnUVpXh2I9CwyRBO0L6NEpuupPE0b/EG5Q4HO4Yri1cLIn/1yx5EfcETE8vm1NDQhNLB3srBH/C6AKxP6R2Rl7QL1VxlqmBSJiDWMT0AcWbRseEtIrv+fYca9F/LBekILqFNXXe7uQT9ACu6l74+Dj22vx/+HFE4sDlH/ckB084+AQj7L/MiwVycZTbeNCjyproeKoJd7XIf+Y8BXiRY2wVltTIREDAakNKAT8vSO6OxLhu9s6FCtMSW930UNEOXfvW4hSwkO7zqLWspA+QuG80Naq9yZI150M3bKX2ZF6U+ivAvKtlBfeCmkrNXhbT7OY0AkkHUHsLCdnUjj+Bd5GaH2oskzNyjqP9qFGmXpywuiF0rWsRf4R/74u8abzFbtNLtGNNUqV9xtH2kQNXOMfN6BYiTCcHxob6A5OBtTXbMIeTPlUGNIzcie1/WdJHW5LmsQtzVaMpX5UwLDznlSmcH+RwKTZh4Oj4p6zjj+whCOpOly40IwZZTEn4QAbXzwEs2SHDcLiA8WSRH1w1ZH8rJi2YtT7FzL2g== X-MS-TrafficTypeDiagnostic: HE1PR0501MB2042: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042;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glgKRAOtubj0oUX+AyS3eJ/Z868IBRZ2hBLmUcpH7Cq3fDnOEaNMGOXp6BaKGL+sP2m782TKUtDc0clK//O0Lc0in6fbr07kxgn1VrWr0h01kZInnhanMlF4DY4IP6+vl/fJ+u1mpK X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0501MB2042; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0501MB2042; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2042; 4:nWgcHnKy19dmsen+VUiOAdLFLz9p1kvBCin4umJH?= =?us-ascii?Q?ue7bWQ2pJmI7Q8Fj7M/VkowuKqy2I5uI2CtCPABvldUwXQUMlar35nALeYxP?= =?us-ascii?Q?g2HMZNBRDQH2nxn1F8LJrtsSxEIWY5WCsZA9ibPGsuX8FaOVJseXUPLhOqW0?= =?us-ascii?Q?/NtJ1mQrOKcmEuijsK/3yzPaA0e8Pw1MvRoFhGJpM7C+V2XLqfBH5CaM7NCO?= =?us-ascii?Q?pIIyqi79mnXoHEKtRr72qXqVofrE627vCPvL6yhgLqXpT6SxpQffqaRbVRiw?= =?us-ascii?Q?8ErZLh4xrU4VIC63jOSbhQYW71TTZmwMEqOWLL5e2NQtRgXQpnBhV6mMd4wZ?= =?us-ascii?Q?P6MtEIcNMUzre7IgtE8FxlIWQ6a+CcZtZuTch4kr2DHEqG8yrbADmxiPYgUg?= =?us-ascii?Q?pwuAwlv/+vpWbE7AXHTZmrowN3Y+FYktO5kuzivzWNzs+QX3C/+4ahZLUllc?= =?us-ascii?Q?nkReRaiByvpfr5cyW5ccjXC/lsuJmyxvpI3VisSYw2I8fFvFGKW8jedUQB0Q?= =?us-ascii?Q?1pz6nmYpgZPJSHscfRxpEWhmjWs1sJOZvifUMwClYP/bGaUCh7GddDXUz3fE?= =?us-ascii?Q?hpJ5Q9wh2qLW2KSgdZemxiE7qa+tnYVZ4Xp8RTSL4+iPM7dDZSk6SEWNFu8Q?= =?us-ascii?Q?mki7dsS2jEBWay3qj63NBj3G1YGOW6ealQHaInIkqgf3SI+6IH7aMqtaX8k7?= =?us-ascii?Q?tbvMrhGbRCxDxqjYu55OFauGa1ugr+atUwh3vQtRnYCDatjUrMnaZk0xzBJT?= =?us-ascii?Q?3fYermMsyWSpTe9jMRsMvV9SPsCFEtRJv/Cm6S/wSsw/l2lk2CzJ1jofQGIM?= =?us-ascii?Q?tGb5SfMyhHCjvfP6rB1Nn7KbBpXH/oQk9WgUVv0kulLz5MZeZSovv/0ANANm?= =?us-ascii?Q?DtLnqCop4fCR3YwlOi16l9J2VhWvjpsqclRqxAJtFCVCuAOjQIQGdRhCJdT8?= =?us-ascii?Q?xEavBexVJVv2avnMRxfem6TI2XqXEFMYvR63QdLWBbHL0sJfQ6LbJC9dgM7S?= =?us-ascii?Q?2L7rXREFCOlBX2HxXRwjk/u3W/3L7KzLwB+QW5/xvfBFJtYgPVS7yl4AZvmS?= =?us-ascii?Q?vEQdHJOT4cHW4DHIrC0Zi5LP/UgAjZ9pziM4B2gn3zXhyok4VelBoKvNBifd?= =?us-ascii?Q?L+A8Ud6jjPXMMsMXhurT25WVP2uR7h2JrJMsTI0KcrITFJrOpHKRig=3D=3D?= X-Forefront-PRVS: 0374433C81 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(39860400002)(7350300001)(1076002)(47776003)(50986999)(189998001)(107886003)(66066001)(38730400002)(478600001)(81166006)(110136004)(42186005)(55016002)(7736002)(5660300001)(86362001)(25786009)(305945005)(6666003)(6116002)(36756003)(50226002)(3846002)(33646002)(5003940100001)(50466002)(2906002)(48376002)(8676002)(53936002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2042; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2042; 23:tvKyK6MZRN7ZTvgYv5GsILz4zf4UpWk1PATWba7?= =?us-ascii?Q?k5X2U9ikXrijDwoTVvrEnMnxl4BW8lPCLN1KppxlcvZguxv2XOdsVWSVowe1?= =?us-ascii?Q?xIs3bxyBvY6fYmBeMRh+sc2Q7kYAz/oGXpmHzi1ughxhnWMXLLs6fahty5Hi?= =?us-ascii?Q?TiQmaqz4u9sWtPDel+uobUzewJeU+4Hy/QAsHiboHQ4Nv3B7HmEz908kpmgs?= =?us-ascii?Q?yWTqLX2oPu5zya0tugDBi+lX2Q5n9+Lwno/Qi/dkDoaV/aC8eWz6tKSs9p5Y?= =?us-ascii?Q?Mhz2DdPYXKRhZ9Q6wGth4eBymqv/YMTIMCcRImYcNM8cWiUGJrrDc5R2HB9V?= =?us-ascii?Q?oa0vD3PnYyIFj8EkbhHIxIx6EiMO7AD7sCWXRowDKHRfznGTbrvllvZDYhse?= =?us-ascii?Q?g9uF1qJxtWYVGE+y5kzyLXc7TtPxmgKnKmRFXM1HKWGX2EUODlay9YV/67xz?= =?us-ascii?Q?98TY3ud/9gn7uwxztSxhZYlAeUSJ6c/wt8NcgVAjZAHqXPhTeFCNl2cff1DO?= =?us-ascii?Q?+RIsWgaL33wZ3Zv0511nUbAOio5Ope2rvwJv4uZtLOIIfEv+wpMqX8hywDB4?= =?us-ascii?Q?i8JI3ET0gx6RsvpXpucZYoyptyJSr8D3qGFO34BLb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wyMPjwv+rfQ8rlLa7/vweSsDXPd?= =?us-ascii?Q?HsEDy5JGvNOLHJbUxitfnHK36fA6QwT46nxMmri74zbsVZMZOeRVnJ6J+pmJ?= =?us-ascii?Q?u1wr0Qx5qUakZfCxXAvmtgys1OV2tnwNAFwIrZrditkKpN84d9/ptFdiQyya?= =?us-ascii?Q?y6x0zEu6V2l0Q/VLqSpE9nSlvY64u8inCnH7UffFmSRu9H+idff0anDMW5KM?= =?us-ascii?Q?jtBfYhjcbAymc7oWicw5q7zIrovcitsaE3UFuVeN9s/AJ5yJmVc6JBZglAVf?= =?us-ascii?Q?cFX65vv8UiAmTxk1jbH75WW/6mNcp01zac2F6RWOklO6fKDyGcilLgpt2Bu/?= =?us-ascii?Q?8qsMxi2Ay/6+fOHLudhLDNmekfWMG5zz2NTumm5IMdljchaVgzGem1jCq+Tu?= =?us-ascii?Q?N3pFvsxeRoB8v9O6oGLwm5Duo1jdF43eVFViqEqO6abbmOku6fyHZktp8HA1?= =?us-ascii?Q?baSo+uQm3TVWxrU0kPIaG/m8UKLUXQNi9vQEZWD5Z4uTfkT92vajZrQuzhPR?= =?us-ascii?Q?z3X1IOxXK4DcebwShd+UVTM4qfhiS46RP4txTy4JuZffE73awqiaIq9vQKTU?= =?us-ascii?Q?+vUHLLsYYfthkdbZUfOCYhno0B1vK6umpIhSAUVK/eR0AGvB0ckMUtMUZJ/M?= =?us-ascii?Q?TnijGCG19OFClp8Dwy9qtalD?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042; 5:qR3kgJI3LiukRdRMwl1UG64R8Ldv0N8x10r759ERCTGHEIs/c1lIZzsM0POnY4L/My5vRyfwiX910EVltEgRLr1nd2WGAR2JBn+wtVXHs9jxaJHU7/T4E71upqGzEEbr+ygX38Ywg8iSJ6wlUg03Eyi30nLX6pmBSlN9AmEx1hKo1JrVMF5bYjoN/c1fRWY+bCI5p2iD5l0Cshv03s7afwplEzU3/h0qKUBu8iOOdwgqgoH0GJnMvrLpym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NCgSVotlhrplIMnu9+Xa+XRZ4V6a3ftWeEJ0tHUzxgAeeHxDFqw3mgKw5qOfkEYyH7lRAFL/XgI0pi8aRgU0DBWU9TKmQu8EnJELGg9bPZIiknMfFjbQxVs0Z+M6IPEN/xGxYgMFjExMjwJsS+u2yZgXFds4sYXK7Cx/q0IXrDsxZG7HtseqXI= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2017 15:48:47.3101 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2042 Subject: [dpdk-dev] [PATCH] net/mlx5: poll completion queue once per a call 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: , X-List-Received-Date: Thu, 20 Jul 2017 15:48:50 -0000 mlx5_tx_complete() polls completion queue multiple times until it encounters an invalid entry. As Tx completions are suppressed by MLX5_TX_COMP_THRESH, it is waste of cycles to expect multiple completions in a poll. And freeing too many buffers in a call can cause high jitter. This patch improves throughput a little. Signed-off-by: Yongseok Koh Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxtx.h | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h index 534aaeb46..7fd59a4b1 100644 --- a/drivers/net/mlx5/mlx5_rxtx.h +++ b/drivers/net/mlx5/mlx5_rxtx.h @@ -480,30 +480,18 @@ mlx5_tx_complete(struct txq *txq) struct rte_mempool *pool = NULL; unsigned int blk_n = 0; - do { - volatile struct mlx5_cqe *tmp; - - tmp = &(*txq->cqes)[cq_ci & cqe_cnt]; - if (check_cqe(tmp, cqe_n, cq_ci)) - break; - cqe = tmp; + cqe = &(*txq->cqes)[cq_ci & cqe_cnt]; + if (unlikely(check_cqe(cqe, cqe_n, cq_ci))) + return; #ifndef NDEBUG - if (MLX5_CQE_FORMAT(cqe->op_own) == MLX5_COMPRESSED) { - if (!check_cqe_seen(cqe)) - ERROR("unexpected compressed CQE, TX stopped"); - return; - } - if ((MLX5_CQE_OPCODE(cqe->op_own) == MLX5_CQE_RESP_ERR) || - (MLX5_CQE_OPCODE(cqe->op_own) == MLX5_CQE_REQ_ERR)) { - if (!check_cqe_seen(cqe)) - ERROR("unexpected error CQE, TX stopped"); - return; - } -#endif /* NDEBUG */ - ++cq_ci; - } while (1); - if (unlikely(cqe == NULL)) + if ((MLX5_CQE_OPCODE(cqe->op_own) == MLX5_CQE_RESP_ERR) || + (MLX5_CQE_OPCODE(cqe->op_own) == MLX5_CQE_REQ_ERR)) { + if (!check_cqe_seen(cqe)) + ERROR("unexpected error CQE, TX stopped"); return; + } +#endif /* NDEBUG */ + ++cq_ci; txq->wqe_pi = ntohs(cqe->wqe_counter); ctrl = (volatile struct mlx5_wqe_ctrl *) tx_mlx5_wqe(txq, txq->wqe_pi); -- 2.11.0