From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0045.outbound.protection.outlook.com [104.47.2.45]) by dpdk.org (Postfix) with ESMTP id A106E3772 for ; Wed, 5 Jul 2017 20:12:43 +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=zv6M85H+1M/v8pC01Xg9HYwu63QyZQtSEdq0/KoaI7s=; b=SOh7rDGaUcrSpkLjvSDmtaHiskG5NSt+kmDueIZOn1vpXZXb5Ye38qWSqcrOl6ZJjVDqm6nKLu/fFFKKw2lRzU10nV+SCF+E1msv+SX0SWaDnwigGBuzj526Wdo1lGUgKsKU38x5ycQ1oiRzrarngqxfkW5591dpF0Vzso+QHx8= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=mellanox.com; Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2038.eurprd05.prod.outlook.com (2603:10a6:4:6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Wed, 5 Jul 2017 18:12:40 +0000 From: Yongseok Koh To: ferruh.yigit@intel.com Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, Yongseok Koh Date: Wed, 5 Jul 2017 11:12:25 -0700 Message-Id: <8377f0faa69b2b52d3eb0f80a8d73c0fa2069b9e.1499278209.git.yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: <20170628230403.10142-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: BN6PR16CA0014.namprd16.prod.outlook.com (2603:10b6:404:f5::24) To DB6PR0501MB2038.eurprd05.prod.outlook.com (2603:10a6:4:6::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 969ff51a-4eec-4031-8b6f-08d4c3d16d66 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0501MB2038; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 3:UT6jcyJ7lHOiUQX5oQK+Kgro4nGlbS2aJcScYgs9VFtxc+jiA8uhcDn5sPLgRAs7bmriGTEn4ZaJxe+kcBeuNWpiFgwm7ZOCpsNUh03oiq2G70xXqidKsnZG7tSXxA/0u0dtsKKuC9yixOT3CU0eQbb8osGzBvC04sCkvUPEUguxI15EsZfHJaOuuSFcDNWVuHDET6WrvowqikVuk8PeVy45xJK+O9IKhVmUyGZsFf1GO6uttbbZfTor2hUpMJjj1fG8ZFXboirF80/ub8Oivib58E86MSr3pPVG0R6MVgYRXGa6x05ipCRycwKPf6CxeFGavJUQFHvmnnskPHtJrn0rvDquYJ+8wQWrZUgT2pqMEU0GMmL4zz0X3AGfzwSrGcOWcFuW4vehGNd2f0hwssCMcRhDGIvsRB8U4vC5WCAQaD6zuUzGdJqL2Rmjh9P3TZ6wLr5rDOfMFzB2IktVGv8EI5bY7W4KrMB72TqrlXghefxhEpXqETqMSlUj98FMQgayx8h97/T4nasOHmO4th8UqMtG0LPIjkrXZjup7dx4fc7w321+CvLW/3QLIkVM68YrwCYcEex4SPTbJnDSFX9Y874w0NtYqnev5LmATR5pBONmzp7XfLfuqlo1K/LXgo+s7VAOuW8VTup6dbm2yU7CJ/jWHAh6GM1g2vOw8EEUGGkOLLz3jMquKhp1qIM0tornHIDnDnvDz3opmOMqU8kLjLtM+ULmIkJ2XurtGC+l3ihyadyWSuqsJADX8nN5vwZQWGctwM/HRFdtl+mAVw== X-MS-TrafficTypeDiagnostic: DB6PR0501MB2038: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 25:4JCrOKbo03Ef0plhegKIxVkehjJ3+0+RCMKA2DzqOSmR8Z2iU0z2sFySQ5XBb382sUGcLX9dTbvU1pY7hdhP4Oi1tZzReG6jBiwtSVOz8/PK2vvyp6aEyIX7kXeOPnxIkbFYhGs+KLSRSJWhgNRO6maADPPxT2xjHE1JsBeMvz6hBXOVoMjPVbY+hG9fKdj7SKyIF4VActQ69qYY8ra6tc+xrFfTPMyU2iDx0a1z1oQLJ5/YtCEM68ddwWS5dK0D3+/zn6ocGU5AyRwN652SpI3k1XcefdaCrRGQ66S5/k5D0yFcAYr4EC3LEtPZwm6WOh0kFeCDKyFUCGMaQIqntGZtukAaJu2t/yGgJiZSN2goAzkfAlmThHJHu4kW81bGLh7F4dBsxD1n32yo3XCOE2Q5SEmP4x3yqh1lY1+qy+KA/7WD7ZxTHKjOgiATzqIhLDdlF2tG5OTKIvt8oxYGeJLK6zOshGiSKeZSOKoC/z0ANGQb1SKp+s6mgC5xj3UXTXtBZvR/BYvK0v4kVA+ssJqmjT7VU34TzyA2e1yW/4YDQvI7fgJ8/ApkvC5u7pO03mzqWQybDecGvT98ziM5l+bCIfLlSSiBbunOZETudr09e/h+fQiY9ick3sp3ElBYjFjGMnkHMOd34KKFywKFCS3ZJtodBHqiSBBJqQzrp8BbE2wDm+BAYenUdZnXgsMO4soDE4eExam4ii4QK4IbFYNZUkK1D8BQzTWw3DCW+O2Ro/9Fm3eRtFHwsIENx/vhMJGi5wkbz+Yms7G892kIb4iyO1Su/H+t6HqNMkTZsyefEvH+bXX5jVLe5O6xCKM42RAxorVtittiX4WC0GrLsxoD/BUuLYDqPCMCf8mmG1k7Ibc5og2XSuCBs323pMBmHMszoz/3NjCzApMeeSXdDPcT9MzeT7NS6mR5Atm4jQU= X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6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oS+HMXPZhONJFr2hHL/47SPFlE0/LxQHDHXHDatZe0CPIueScFiF6sNtB1qIXXlOhNKuzTlOI+WmDZKF74EUpuDcca8GRUN7im8HyI2BDBOU1JMnJggwkPew709BGZoh7xiEm1tR0J9RtN+2VPYeMCIxjb9O7A5eRWEVIOMjrUpE0tVsZC8rcajeXrS2+rBZwoXjw3LDEHrUcXS2 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(167848164394848)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0501MB2038; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0501MB2038; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 4:WPuvF+t6Fk9uLri/Qm4b21sP1+x6iTFBMtz0Y52m?= =?us-ascii?Q?GrqtqoxGZCs5onqs/t2vMxvrSK2Y2HvqEzfhPazyzF2HP7k6GetfexP5iDY7?= =?us-ascii?Q?T1uPfbO9Eno3eHI+Bs2ctrCe2s2ye9t4gHSIP3JoZUQRYN//a84Tnnx1XX6y?= =?us-ascii?Q?S3YZGoUDhLcCj7254f7w2MhYGS3GeDxKqihR2pb+ZyY8PGcgw0q/i14oaIgJ?= =?us-ascii?Q?y3HCXUPBR0zz7/mdqGJAR6RwIcaBvFf3cLsZxL8Elck4pTnsWNZKO97O2Rux?= =?us-ascii?Q?1JY8FSpaJEddk5V1qXmx+vin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= =?us-ascii?Q?ZZ3YVCtSJk+kGaX8qwc5SAh90LVCNyBYcOMT9SZKmQri5rmqVTerPPBJUhSW?= =?us-ascii?Q?nESog6H1coDFFOwDVHUjanAzWcSdSceHUBTcgBPN?= X-Forefront-PRVS: 0359162B6D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39860400002)(39410400002)(39450400003)(8676002)(189998001)(33646002)(50466002)(4326008)(7736002)(5660300001)(5003940100001)(25786009)(81166006)(86362001)(305945005)(50226002)(48376002)(3846002)(6116002)(2950100002)(2361001)(478600001)(2906002)(6666003)(2351001)(50986999)(76176999)(53936002)(42186005)(6916009)(55016002)(36756003)(66066001)(47776003)(110136004)(107886003)(38730400002)(118296001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2038; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 23:mYTd4Aii3iyEpLAi8dFx3zbJze8LAk22NO59tea?= =?us-ascii?Q?Th3Cdcea1e4oiJbrw0+U+jfEKRMXAqVbmPWlG2skqpGTQAMNHgX0d5o2SAN+?= =?us-ascii?Q?6VmwQorBp/qiiytdnCT4Zixdd49Lw1Niu8p/BTnfb/yMNHEXky8d8xmkLEM1?= =?us-ascii?Q?Bz3/MXOFE/d7ORBz1Rtatb5+4ObURlobjEqKidR703f8ZG3+5XshmTGJ0cRc?= =?us-ascii?Q?6HHEtZYrWIDAipIBGnupA38SatBfqr32u8H4V6GDtSByhh7XoOTKka5jO7v7?= =?us-ascii?Q?v5XxG1iB07FViLUUXp+pTZxNh6lx5+drWjKYvmp5Ar0vKa7nIWUiyZQzj7M/?= =?us-ascii?Q?wtKstZshEb6N7+aTp98Yle33oehFOp8bs28O1lAfrK1Uq2uY/qdEYTAtukr6?= =?us-ascii?Q?z8mZ+rU5/mekqKVkuJ0y5HJ1aSz3TWyYtkxXIu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970gv0PjBmcW9wCQMnIxKOr85ZxOSqm1UpfjdmLu2H7Dexon0+6LhVEBx4HZntG8HHxztQEvZQxR0ywC7mAmJ3oxARHw66ml6imWrEnmzRUnCQ/Hkkr7oQlgiCmLV2CMZo+ULGjKITrEniN1OOetGMBNgR2k407LwNlZ9UeLiId+ZR9CX+eYOCFQCpZhp7ckFko1+TJw2src3aEzUBK2/jhWe/CyYIvyt6oHpWU9BQYs/GItm7nkOlm7e4qu//kBXIGGYBAwwr0C45L5Evi2yNeC+xIKvM5YiXXMiLJUm43NbTwuAyzQd+aRQka5/Pu64NfmqiQYQBpBT4Km6jjfpEcSP668tCeTrUEPqD5l96I6V+CUArZmuoch9YX50d365eoNGl38QYzUMB7whU5m7UdUZmD+o8VO4s9xSuLeipT/W6FUQz45R9oB4dScgMtwY/R7BYbb7Eg3swKyAHnmwp+Q= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2017 18:12:40.6006 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2038 Subject: [dpdk-dev] [PATCH v3 2/5] net/mlx5: free buffers in bulk on Tx completion 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: Wed, 05 Jul 2017 18:12:44 -0000 When processing Tx completion, it is more efficient to free buffers in bulk using rte_mempool_put_bulk() if buffers are from a same mempool. Signed-off-by: Yongseok Koh Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxtx.c | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c index 43db06ad8..66593679f 100644 --- a/drivers/net/mlx5/mlx5_rxtx.c +++ b/drivers/net/mlx5/mlx5_rxtx.c @@ -264,6 +264,9 @@ txq_complete(struct txq *txq) uint16_t cq_ci = txq->cq_ci; volatile struct mlx5_cqe *cqe = NULL; volatile struct mlx5_wqe_ctrl *ctrl; + struct rte_mbuf *m, *free[elts_n]; + struct rte_mempool *pool = NULL; + unsigned int blk_n = 0; do { volatile struct mlx5_cqe *tmp; @@ -296,21 +299,33 @@ txq_complete(struct txq *txq) assert((elts_tail & elts_m) < (1 << txq->wqe_n)); /* Free buffers. */ while (elts_free != elts_tail) { - struct rte_mbuf *elt = (*txq->elts)[elts_free & elts_m]; - struct rte_mbuf *elt_next = - (*txq->elts)[(elts_free + 1) & elts_m]; - + m = rte_pktmbuf_prefree_seg((*txq->elts)[elts_free++ & elts_m]); + if (likely(m != NULL)) { + if (likely(m->pool == pool)) { + free[blk_n++] = m; + } else { + if (likely(pool != NULL)) + rte_mempool_put_bulk(pool, + (void *)free, + blk_n); + free[0] = m; + pool = m->pool; + blk_n = 1; + } + } + } + if (blk_n) + rte_mempool_put_bulk(pool, (void *)free, blk_n); #ifndef NDEBUG - /* Poisoning. */ + elts_free = txq->elts_tail; + /* Poisoning. */ + while (elts_free != elts_tail) { memset(&(*txq->elts)[elts_free & elts_m], 0x66, sizeof((*txq->elts)[elts_free & elts_m])); -#endif - RTE_MBUF_PREFETCH_TO_FREE(elt_next); - /* Only one segment needs to be freed. */ - rte_pktmbuf_free_seg(elt); ++elts_free; } +#endif txq->cq_ci = cq_ci; txq->elts_tail = elts_tail; /* Update the consumer index. */ -- 2.11.0