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 01BC2A0093; Wed, 9 Nov 2022 09:05:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9A15400D7; Wed, 9 Nov 2022 09:05:15 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 7824E400D4 for ; Wed, 9 Nov 2022 09:05:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667981114; x=1699517114; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=AE+SMw6NeSPFnWTwwNf5AUhHvPCDQOVJoLSWQPblSYk=; b=gHieo5qjY9RBSu6y3ZXIIbfDioMHyrR1AjSlLYMXihveAxm8xPM4NLSy Pig+8zEPloCKj6ezY5daec00EwCf458WGtmKdTWicag88eEUp2ChA8EYw LvBjHag+1mh7R79zqFJW7En09QlNtmDdBtrS1tQUBnMfGmtLO/mGayl1D MNc1SAugLvB1hHfcgiluCRBnQeEM60dtw7m+9rVwjgjP9BjklcZcvLaBU jFdq90ascccAhKhqJjyktyjHxzvcTcXrQkaTkijMbGNXwO1XnLPhMIE3x rycfHWkWB7VYK26sLWdOnB5ApveAl2T2jnTbB/n/hNiJ8BOOS8sR5CJ6h A==; X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="310914240" X-IronPort-AV: E=Sophos;i="5.96,149,1665471600"; d="scan'208";a="310914240" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2022 00:05:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="636649993" X-IronPort-AV: E=Sophos;i="5.96,149,1665471600"; d="scan'208";a="636649993" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga002.jf.intel.com with ESMTP; 09 Nov 2022 00:05:13 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 9 Nov 2022 00:05:12 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 9 Nov 2022 00:05:12 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 9 Nov 2022 00:05:12 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 9 Nov 2022 00:05:12 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DQVgsIeMrn2Gpf6dWOkQXCrne28uGR5EXYiP65HGKMac4u8zojrJs9nYoguPHqR+WxXRxqSxzIV8FzD8czC4JYsyqoLEKEDfUxEOzqoRy4dMwY/76kfd8V3AnNiYlbL/Dh6KHHfVJR6VOdq7049tmQiv6nFL0wMxZQewJn1XHm6JQVv3Zmdz9EIqIb960mEEszowc/74gXCllwmKrlVxMxuMJTtsg3jgyjbqLqnIESCamBpt9eIwkDbAI9K5A9gqMdaSLAD8ZeGqTExUrMtWhSTmdRDMpeYhy+NyJpeWGoFzCUOj0AFhw7llWjcI2gyocSRer4G8R+r02S3aoTJteQ== 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=AE+SMw6NeSPFnWTwwNf5AUhHvPCDQOVJoLSWQPblSYk=; b=h2hRAVC1ZfjG/r9z5OFTdtg4e4+5z62wHyYY3iwRySIEVc85VtC1zXLtsz5UxXm8sCAX9/GN6FDrV1lOvSXR+eD5necjfkAGiXH9VjXch5kw5aDuO2URgG/hEGWSzOwigg0xJJxrbF3Z7sszPdjW/CGdJQz80n1WcMrueGQurbwVaoVBs75c2DEx7Yb2x2qVAN8Ppl3LlYdgT6YK7fbzCSnAAjapGGEW1cOmGdg24ZexSjPn+3KUP+XRGaVvx+h3wiaiU/roRr8czdL3biMS6CvX/IpknYovb5iSWyZP1A/xj5cXW5PMvJw2YYIIvBZAprTuOjnVhUDoxCRBWhVsdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by DM4PR11MB7277.namprd11.prod.outlook.com (2603:10b6:8:10b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.26; Wed, 9 Nov 2022 08:05:10 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::1780:8430:737b:b6aa]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::1780:8430:737b:b6aa%5]) with mapi id 15.20.5791.027; Wed, 9 Nov 2022 08:05:10 +0000 Message-ID: <9b2b372d-4b4f-1313-d9df-aabdd13bb519@intel.com> Date: Wed, 9 Nov 2022 13:34:54 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v12 1/1] app/testpmd: support multiple mbuf pools per Rx queue Content-Language: en-US To: Hanumanth Pothula , Yuying Zhang CC: , , , , References: <20221025014005.2054913-1-hpothula@marvell.com> <20221107053153.2275618-1-hpothula@marvell.com> From: "Singh, Aman Deep" In-Reply-To: <20221107053153.2275618-1-hpothula@marvell.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0228.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:eb::16) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|DM4PR11MB7277:EE_ X-MS-Office365-Filtering-Correlation-Id: 713f0a10-5558-4da9-ee22-08dac2291f2e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5hS2zfBkWdSVQ7m8kY07i5NciHnYNRurM3RSK7PY0mmEC0bb9DFdtWBfJwlz9c3rOqyoNJKhYn5ZWQQTVXKvoarQu13MaSFRf+W8qUiRkYDhgtM/LgLa8Dzr7ukJ/pqmcSeYskT+AKgiRxSHN9wcGmgmaTLz2lZFufFFSqKpHs4TV0R46wWnKe8LmYFBvUcjlOJ1ZNnnl2cM0gFMV2eIyRWk5nFueX1la9rOc6PKvsedo8YReDP8EQDbnc8fq3+5d+hDboQBRS2g3RXrIeTMO9HE0B5/N9CMmFtZ4xL6mtpGkaH17lXN0+dl92je6xYdwuzw420IbyovXWTBvggqwwmrlsrezxdnwLFWIMR1Pnm1EKprFexSGGdgM2tLfIH0spFIZ21Hacrorx3Rl12Ru6570oGCJkY0xJ+uhsLLc17pwlZVuNl15J2r8Gdt9oCZQpZwfPZSLrBKGI7u4qhBUfA4lo8pWyOJGGgQeAIXZwLcU3Df/MyfI7MIyHhT1hZ9B5zAxbcAtA6NbgW2sSpYK3Ic/vp41a5Rjd4LT6qsXZLNIJVqLDMm98/rx65nuOB+XiEP0tEhHYyGZk/kC6PcL3YxeC0XRFvMFQmRtlCeOIGiMBu5bujYRBRU67EEvM/Z3hpOeAvBfnG+/XsgYaIrbQSgTVmi2mbZjXKkH2c7IT3fkSrq++pQYxjTpBf8Y66W6+6v3PjLbfTtuvBx1RwVJrw1qGNV/xlEFMSt4IOiS6rNEUqUyR/wW6nVzXAKcBhXj4UxjxA6BusNpMPcA0eVeE26vptTGsJxlyoo2mJTm0c= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(366004)(396003)(136003)(376002)(346002)(451199015)(6506007)(6636002)(110136005)(6666004)(2906002)(8676002)(53546011)(5660300002)(2616005)(66556008)(186003)(31696002)(4744005)(8936002)(26005)(6512007)(86362001)(36756003)(66946007)(66476007)(4326008)(316002)(41300700001)(38100700002)(31686004)(82960400001)(6486002)(478600001)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R0hRd2hrNm1MR0I2RGxnNHlXM1k1Zzc5T05IdWE3SlovZnduNnFqZzZuTXBJ?= =?utf-8?B?VE9FbmpST3RKWmppVXZDQXkvcUVTKzYydUFLZVpTTGhseERmbmZjV1I3bmUx?= =?utf-8?B?R1dYRmxlUmRRK25MUVRzZTFHTW1iZW1tMVJ0eG5QaU5XdlU2ZEI5cjh1bTVM?= =?utf-8?B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LaXNpbS9tNVAxNnhMY0VLNVdqL0JYS052cjN0NHNJ?= =?utf-8?B?UHpDRHYvSWZTTkVub3FqYVJJV2w3eEdZU1Z0YkNWM1ZBVDBQbjVaWUFFa3Jj?= =?utf-8?B?S0lRQmZVbDNBd093bktlUWI5dmZ3eUthZ0xEWG9GcWsyd2x5enQ2ejAxREg4?= =?utf-8?B?LzVLeG1YeGRmYVNnZlN6UHM3Vmt0cjlsdVRRaTNROTFTVTBySXdDL25Qb2tM?= =?utf-8?B?RXc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 713f0a10-5558-4da9-ee22-08dac2291f2e X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2022 08:05:10.3338 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UpE6qOKiHJAhDsXy+P0z/9GXDYmaAaCLg0X8DXj7sbbJ4tZjb98ijHNlDb0KkOAFxjI2LyZKuiw3eWbYTzUcq+sNgo8eralQqQscWl/9PCI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7277 X-OriginatorOrg: intel.com 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 11/7/2022 11:01 AM, Hanumanth Pothula wrote: > Some of the HW has support for choosing memory pools based on > the packet's size. The pool sort capability allows PMD/NIC to > choose a memory pool based on the packet's length. > > On multiple mempool support enabled, populate mempool array > accordingly. Also, print pool name on which packet is received. > > Signed-off-by: Hanumanth Pothula Acked-by: Aman Singh