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 51626425F0; Wed, 20 Sep 2023 15:11:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C89A410FD; Wed, 20 Sep 2023 15:11:50 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2078.outbound.protection.outlook.com [40.107.93.78]) by mails.dpdk.org (Postfix) with ESMTP id B6D9D427D7 for ; Wed, 20 Sep 2023 15:11:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E2rwf+Yx7oXk8mqN/Lr0wPGrV9g4GtjIg/v511mxSyhWZx710mAa0vqVZAFaVA1KEwOy44HXoXiMbVouEbqxrvkF2iv619ht6v8wFZ7t5VNSKQeXNksW677jNuJL1IbDNYPbtj71g5LLTTFd7ibnLr0h4x4bHiQuuwWR6z6pZj9zP0ZmEFzVFyCWrtUDCqd5OTvRn+vk3nKpblNbkk+3KQ3lwlWjEd4bSN9NAiDxanyR5GKaTsyGsaPZ8GshTp+9zQp8HOsjWNr4Rkz/fMlBklk3IuU5jsXvyzuU65xvfF9HMcwiuMvB4cyNPLdS0meIqUptg5Qsloukex0TpWtNCw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DF19n80Me+gdk/QShE2qdddZfUC9SXN9URHDcKn8wio=; b=XgGhDFl7LJIJjjyoI7CEvaaIL0MA9xsUdr+TQKQ+MAatRFGrsJDqUKLU0EnFcbTZUxfh/jaFf/Vm/47RgpjyNQGSCE0IlNM/gAHsqHWj3W7OYL7Haw1HTCa9aFluefQ6axdlaWWJm1Kof9Gi+x7Stvln8E9uKGQmI5TozqsXsFgmEycGTg1ZzL0xgYwLNPC6+Myc2vIcIUNP/qVXuNsjYDPdjYh1DowVKAjq3ZxJ68aH8BQIgbrfYuyNH2tfPhFJQ32hdSdQKC2dDPffGeOsCuvpMovo0NRsmkfrBYge1d4L6t4R3ex+0SRMXnoJKLonI6XPYJF+kVi5gl/InLEwRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DF19n80Me+gdk/QShE2qdddZfUC9SXN9URHDcKn8wio=; b=0+SEFedLk2VvVUAxrMFZMgxErX22EBEg3g98wxnYeXvGuxdWrpaaHKiUQBPVEGqaai7OaWP8BQHqtI0KohG4tsyIx4lDI+Gp314+Y0uyfE31IETBF7v4cYqhqLsvLOtQY/1DYasTFepvaQcQiZ8Hr6yFpBJE/OHlwYqcGAd6VBQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ0PR12MB6808.namprd12.prod.outlook.com (2603:10b6:a03:47a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.28; Wed, 20 Sep 2023 13:11:43 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6792.026; Wed, 20 Sep 2023 13:11:43 +0000 Message-ID: <5da539c0-1320-4a61-85a9-698d695bae2a@amd.com> Date: Wed, 20 Sep 2023 14:11:41 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 4/4] app/testpmd: add recycle mbufs engine Content-Language: en-US To: Feifei Wang , Aman Singh , Yuying Zhang Cc: dev@dpdk.org, nd@arm.com, Jerin Jacob , Ruifeng Wang References: <20220420081650.2043183-1-feifei.wang2@arm.com> <20230824073629.2577864-1-feifei.wang2@arm.com> <20230824073629.2577864-5-feifei.wang2@arm.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHA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wTJo5gD9EgGIbItv3qWTq29dihLYpzd6dqB708k7 4RBz9051oLaFVGkguFw/tXmA17nx+c2uR5jx8wb4j68umG2X++0dSta5eHAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <20230824073629.2577864-5-feifei.wang2@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0298.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:391::8) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ0PR12MB6808:EE_ X-MS-Office365-Filtering-Correlation-Id: f46ed7fc-1a41-414c-1395-08dbb9db22d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nLv3XRpd4Szlf5GeleKAW8sGaZgQP+/ROCAtaKJ7czpL7sBFM0SmrfpPjVC8AKqiQJ9oKZ78VSQmz902IFIBSPitKf+GfCFUfvHebVxGpdPaBhLUNN5wa8rObSsi9LQpYyAvKT8lIwB5hbw832tFMLYsdWfdpMKbBv5mC6I9Lbh8mwUVp/ipa80cZ7Iy6dOBEHVLgkFhJMn0NUC4+zimoQu8r5Ldr1Xbx8JcUJit7vT1jeO4zotY9n170s1SGnCTd6jq275QWZ/fNxErdbkAok/kj36BZVFanMdrxKfjOLUKFCqqBFI+BfmykqZ/KCABz8U213FDVQuaB5n0EWl7ieAU7Qvc00WYO64ExY0Mv0Y2cTOO4hx2/oIaLawOKi071ZbZP5nATohHCpT2EPXb8jYWk/7piT55xlpL3cqlJ1IVutoJkH5ou8ct7k5nETOvRIto59Lwi8XQ1mCLCWclw+0wv4xTOAVS3R8DJsnN3FEsG1JVZnkj2WUdwyxYg//KF7ma0KlVK1ogZH0exN24TN4RxFl+tDwD9u5wmT+gmlPXc2gx7ufD/k/77r6gJDrYHGLl4heeEV8Kd3KnCcW16mjObDN+u2VefJ9Ri+imDE7myQMMD3WFEX2U/ZfmfjTd3urtj17ER+BZBCLoGRttGw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(39860400002)(136003)(396003)(376002)(366004)(186009)(1800799009)(451199024)(31686004)(6506007)(6486002)(53546011)(478600001)(4744005)(36756003)(38100700002)(86362001)(31696002)(2906002)(4326008)(2616005)(8676002)(26005)(6512007)(44832011)(8936002)(41300700001)(5660300002)(110136005)(316002)(54906003)(66476007)(66946007)(66556008)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZEpRTjBHTGxmSjU4RHNMOXJ5MmVkLzhNb2l5YVNzUFlsMWFvdW45NmtMYTY3?= =?utf-8?B?USs4WXZRNjlUTVM0ajNLbS9lVmpvVnNkekhScnNXUXR6SXlzYjMrNmtndnl4?= =?utf-8?B?UEhzbm0yd0FtQk8xdXEzSXE0S0hyMExOZG9Zb1AyZXJhMVNYcXdJNnJEK1RC?= =?utf-8?B?dk9GblROR3dXWG8waHR3OXg2MDJqcC9UVGJmZ0FOZDRraHF1aEh3QTE3OWFt?= =?utf-8?B?MXpJRjArQTd1WHdFRnpjK3dzUEgvcTlydVlxWVY3aVpvblhqM3J0UUdhWG5h?= =?utf-8?B?OUhLUUtiRndkdDVNVVIwVnV6cWVJekJkK0llM0RrQXlNMVQrRzhxZWNqNlpS?= =?utf-8?B?YVlWekxpc2F5ODNKb2t4U2g5WVZqUXJKUnQ2YkZZam9pMzMvc0QwQTZVUVBU?= =?utf-8?B?V3FaY0V6NzhpTTljWGJSWFBteVRQc1JQbXBwQXZaNGZCZGxRWVVaUWc3WXFm?= =?utf-8?B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= =?utf-8?B?djhsT0dFWWI3Yi9CTUpOaXRyVDdWQ2E3TmNib1NWbDh1SVZNZTBraXNDUGlG?= =?utf-8?B?eDhaSGVnZHRjS1UyS29XaStyYVZlb01sRGV1TlF3WndDY1ZlTExTRmdEN094?= =?utf-8?B?NTlJMTVJdWdJV3ZSUDhjWDBWZHhRbm5uT2g0ZzF3d0Zsc1pDaW12V0lUOTl0?= =?utf-8?B?ZzJrVFg3dzlacWQvVFZCb3QvbUpDMlFZbkNNdXREaWtVQUoySkVCUWYyNnE4?= =?utf-8?B?enlHWXhObEpsN3lLbEo1TkJmVTVXeHBDL1pBNitScm96TGppUlM1aWtXUnRz?= =?utf-8?B?aVpORWM0Yi9pRDFoYldvdGdGTnlMYUxtQ1dBNTJzdnNTMXVOVU5EMTMwL0JL?= =?utf-8?B?TC8vMkx4bHhHUlNvOXRJQ2cvMVpPdUc0TXpEOUxLQ0dPZlFpR1hqVGhGU0Fu?= =?utf-8?B?OXl1RlI3YmI0d1VwUTNSTTJ4VElsaHp4eTYvOFNuT1JYZUw4UTlIMEdwTHJM?= =?utf-8?B?NXlDSTQzOGMzU1BjVzd2Z3EyVE9BaGE1eUNuVUVXM0ttRWl2QUwwMjdZR0VL?= =?utf-8?B?S0p2a0EwM0NiRFB5OVlZelp6M2lLb1FlNGFJcG54MjA0RjNJZTBPdTV5Umpu?= =?utf-8?B?bnRsd1A3TFViaWFzVktXZDdGanRpTlN5VmRoOFVKc1JKbk13dklyeDFBYTV0?= =?utf-8?B?NHpqWFhUQ1A5WllKajhsWEdrdHpLdUtjdXdnZjUwQ1g3TFpYaHVEeGNVUmR4?= =?utf-8?Q?b0ITpziMQWXOiGrx6xXq0yTDX?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f46ed7fc-1a41-414c-1395-08dbb9db22d1 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2023 13:11:43.8214 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lFCJ1bP/rnzd3gesG/emVfASJQKpjFRSJsszNoa4/oA8ar4lLeeAy3xh2RUDvIT1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6808 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 8/24/2023 8:36 AM, Feifei Wang wrote: > Add recycle mbufs engine for testpmd. This engine forward pkts with > I/O forward mode. But enable mbufs recycle feature to recycle used > txq mbufs for rxq mbuf ring, which can bypass mempool path and save > CPU cycles. > > Suggested-by: Jerin Jacob > Replacing with Jerin's primary email in .mailmap