From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20074.outbound.protection.outlook.com [40.107.2.74]) by dpdk.org (Postfix) with ESMTP id 265BE2B96 for ; Thu, 6 Jul 2017 20:41:26 +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=xHPqp+6DZGG9c9DSkQWZzR0jsEWRpq3Tl8oUYAFWUIruA4PE1nesvg9POhFSFCkKrssSkZ4lybV9z5tlg+SMI2wzcypNLwAkZAXsVHAr/uGPHzJ0HcWdbK3Vvx6zGVxZ0hTtnVbF/f4jXfwvVmyMlZhEdkQujM2b4A38XnhPdWQ= 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 DB6PR0501MB2039.eurprd05.prod.outlook.com (2603:10a6:4:6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 18:41:24 +0000 From: Yongseok Koh To: ferruh.yigit@intel.com Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, Yongseok Koh Date: Thu, 6 Jul 2017 11:41:07 -0700 Message-Id: <2ad6f9450170560720a76479a786a95cc0a46ce7.1499366233.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: BN6PR08CA0055.namprd08.prod.outlook.com (2603:10b6:404:b9::17) To DB6PR0501MB2039.eurprd05.prod.outlook.com (2603:10a6:4:6::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e88a2dc-0f66-4202-664b-08d4c49e9b8d 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:DB6PR0501MB2039; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2039; 3:Yofzn14cm8RKsTOiYiflH2N+3livgppZGh43yCp6BrnDv7ssx8AjX4MR3cIj/0QRqq66rl7+FkgbHEwU2kN+CuALkqaU5bTyYQxS8CJGB6ekrzJ/+O6WAlvMdVVs4SPF9TdmCQzhQcek4AuW6EjlY0A3jComwhYvvsZys+UVUraMabzXb2q4+2+xp2I3BO7zEuFhpyvkpK56KI8JuxLacjXeVXAm3n/OUrFUfdTlmrLLEL0d7rus5ELNPEZymRv4dFh5Y/JgDG7TcrgXi1scpW6j193Fmz6IojMJs5PaENuM4spjxHEpb7eN34HLX4nwYDfEIaGw9kYi26PvTsaU/qyLIb/PN/U9af802RIqb4x4MaWEvEFuna97IwaAcPBrurB9oSBwLw1woFZNlghBs+P3Zk09GCTuxPoSwzEiUFSnrx35UkjWU14cjLNbgg7RjHegWWru8PpTCym3BnZSlUiHteBcHsNhvi59aXL6MZbxaxgNmN3krBcJJ32LRK7Wz/FZcObJkhE7a8SUtLK7TU+LQoxLeS15k/F9ueS3msap6r6PklZDFB/5P78TVE+gJCeK6p6dq356o4cPDPIzARdf9HzxtcGa0GFUqMquNAq0p4XlWSa795zZthUlbcvcnBuHQA9+HmhLksJYVHZzKv1fsxpgqJXaSVlYJkn7yAv0k/V0MKYcdznld3bEH8T2imVVjapAAxTTRmav8v0eslLGQdU3Irq0PE8cbgwGrnD6HrqKTj46lU/o5/27Zu5FXQBMH16WNbSH0NQ0xaUx5Q== X-MS-TrafficTypeDiagnostic: D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HgMcc+pVohIXJIq0qo0qnRMt0dPbtwHtNx9x/3VhQ4KnHkRA44pt3//1TQv3ZjvfatlcD0tI8/20pUdm5Fltwr+UazEaFdWw5p48Cr1KFvGMYMpccHCulGJPrLdrT6lOVP62SeqMUs9zc8kPvspljFC2k/KVnIEmnPMHe7VFmxf92YMPfpGO0t1PeHYpJnvBcOveiDcv+tbYR3+va+HUWawdTyk9 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)(2017060910051)(8121501046)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0501MB2039; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0501MB2039; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2039; 4:e5oZkupa2Ji1F5/AhsfJQD8130dDygyp1+Yoq0tV?= =?us-ascii?Q?hbG3tney43QXG97xV8jm2OQseanYD9tAZrm/0p7HimmqpOw7fF0sfVQ2dI4n?= =?us-ascii?Q?ndvUcSp5o/YG1AycSp/XVB6Ce/lLg8VoiNPpUU3R8VoKY4wAH5y44uYn6A1b?= =?us-ascii?Q?NcvdItpXswyZAunMA0uYDAtip3ulgoRxqCA1BKnkt7yx+O4S/F8IsAu61dVh?= =?us-ascii?Q?Ac98hwD86Il4VoQGx3XRwITGPWKl8vz6BCQuKCDgbiYqtsxKbLDi4987bf/1?= =?us-ascii?Q?4nMMeyAty90KxnofS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?= =?us-ascii?Q?GGoRCSFXzX/ByMl8hYJ5sx1V/JzQfEgW9VE6CvR0rdB8w2IEDElIoRU8a9gS?= =?us-ascii?Q?LK3/kuZl9fcXw5gn1KS2XR32ad8l0AOmFxSuXtAJev/bXQ49TrP87ocQQ88Z?= =?us-ascii?Q?LL8Wp4LXvOiB2lJ4BhQe0Dg=3D?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39860400002)(39450400003)(39840400002)(39400400002)(39410400002)(39850400002)(5660300001)(3846002)(6116002)(2351001)(189998001)(81166006)(2361001)(2906002)(48376002)(76176999)(50986999)(50466002)(305945005)(7736002)(5003940100001)(478600001)(25786009)(8676002)(33646002)(86362001)(118296001)(42186005)(47776003)(50226002)(4326008)(38730400002)(53936002)(2950100002)(6666003)(36756003)(66066001)(107886003)(55016002)(110136004)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2039; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2039; 23:nXY7lAQ1UGZkI26aN/WOH/tWYqP1nHzJtPAVAdX?= =?us-ascii?Q?KSZxVSIEh50PhZ0LGXcDCI9W8sSxGQUqS1jRK5A0VP/DUOrgZKSLH26SJLlH?= =?us-ascii?Q?S24+yEDyA5oX8ygyZaemrbWuFQGCurMhQWGLWKB658ekAAFzjnHxum3JDrzT?= =?us-ascii?Q?hLCHJXP0+HYaO5IgoSO1hGMvY/iBLZo7ZRXeWMqIZKzdh6rYzwnGRNyYLBes?= =?us-ascii?Q?/0nAqSJbRAlP1BWGhgD2njW3TwjbJVN2VJwhx/tY3Kah0swflhow/DmqZywq?= =?us-ascii?Q?M29uod5ByyNLg9Hg/2oJQX0Cu/GWxyjzTbOsJixAg78mi+v3BiHitxo44p2J?= =?us-ascii?Q?qH2MVn6LXF/E2KZsAk4gLkLrNW3yU2HLx/d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mVVt0GuW7Y8tOoLEI0lbPotARCpecaiim8N386B66rZTsx0N5mJXcNsayUI1Xc1TuzeU76cik8YC0sDOJPirHkGhOmryzsqRLnKUGm4yG7DoMBlqQq0/ypL7XWPVZjq2oTzveiLvitCbC8kFDYEjwxSZ/U4c/SMvksMggGJqrQ4UToEBzAPU1z9Nd6uBGen0QoFYMtSoB2ZUW0/95FXk7eG01JFcJW0jO4zOepa4PT/SM8WX6W2xraU74GEhCGPLGipXA82DD2TB2d8jboaZKIfPqH7O9TrV9jjinezdSkHLO98Oj23Az0UqFxb0tQA5/ilA1O9fS5UlI/1uKRLi9pJY0/OFosYrfIWyKLgdfKpGEWOZA9fj3Z6I5wapnvINhq/Y5RG0PxL4b7nwSdmLJ0NS/YJY93c7RvGiFUdRDpKCdfByJi2XgGprdYfHJEaQjMUXFgDI37xfpZp85GUP4aSjjRjh5MOJIqvn6GpD4FNowFmVnLQnyNTxk268A1yZtP0FG2jbbrINYfOFjM5H8SVsXVBafacYeYDVnmYYc= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 18:41:24.7819 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2039 Subject: [dpdk-dev] [PATCH v4 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: Thu, 06 Jul 2017 18:41:28 -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