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 4A35DA0032; Fri, 1 Oct 2021 18:48:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3309941166; Fri, 1 Oct 2021 18:48:56 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 39A5A41155 for ; Fri, 1 Oct 2021 18:48:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10124"; a="248056961" X-IronPort-AV: E=Sophos;i="5.85,339,1624345200"; d="scan'208";a="248056961" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Oct 2021 09:48:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,339,1624345200"; d="scan'208";a="480547933" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga007.fm.intel.com with ESMTP; 01 Oct 2021 09:48:50 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 1 Oct 2021 09:48:42 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 1 Oct 2021 09:48:42 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 1 Oct 2021 09:48:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cXltIinwItJZfhsijnjTuHunwDa0nIu7aZnKsEI5Fcl4UAGKI7aFvIwllhaPG0jLya+mb8465ALxZ/Xo8LrSM7S2a5gkzU6t6NAKylrXFmxGIXdzdfz4AqbdUX8Aa+aMR20hUTT2Nx+tcJY43wOuQjdqe8EXg1H8gPt0Zb9vuvbiCvshXH+Bi4ZAOaMd0mEB3xeIrkb13CRNyh/BK9XJrKbhjOBVpjpgPsBbJCkRR4LiGcVxKC5LIiU0ovT3n1vxqWRkcaMeTJwij/XeGedZp08B2sltwVhbDQ1Bu/OwPoIB36FoIm9il33O7KfCx8/miFaGDptNU2vexp6fVgsiXw== 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=cWpSXQ1xXUF3G1xO4WAzdAvyBCJHZO2Z8mHWIyti0kc=; b=M93fXCg3MB0jS0NN8Bn2tgBhFRvnpLBLgLtX8bIMYlGVdp3w81jJaVW5QSneC0oQUOgJXPZYlOlyzqPbdml7HF/7sPH/Yqz/NquADsmPtucc/4wINkbewRAcwRaAl8ts8ptBlVGNU9WfrhiXb5VNf1HQ9dgmAlnxZSVt51DgPu2KnSYXCien6fBjwKGlUyb6O3vphWQCNiEkTGtNWICEByGDxLiLseclbgxe8G5EaX6q/TX46+qkopxdCRLZmxEoNK13wyxm1Rn5T8Mzt7Ytpao5P8zJPrL7kXOcr5UuuWuT+V0SAG1EI9NWh11LEofEOXfFBmvyAyu7AnKFFSikeA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cWpSXQ1xXUF3G1xO4WAzdAvyBCJHZO2Z8mHWIyti0kc=; b=TdCZU1rXu9UAkLWlyUcbb4JJsWSkEyhWxNpKJGEygezmVL/oE8nVFPwZtnDbrDpb5jRsJkkz4XvCt1Sytwbb/C5dzYfM8wVREcG/7kiWmsfYvJHcEet3dEHbHMa78/ZTb4qHI077/nH4GzMrcvNEnNRWubpbvNn6/9WOvY9KzqI= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5142.namprd11.prod.outlook.com (2603:10b6:510:39::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13; Fri, 1 Oct 2021 16:48:34 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4566.019; Fri, 1 Oct 2021 16:48:34 +0000 To: Konstantin Ananyev , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20210922140953.19388-1-konstantin.ananyev@intel.com> <20211001140255.5726-1-konstantin.ananyev@intel.com> <20211001140255.5726-2-konstantin.ananyev@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <52ae4d12-8ce6-daaa-31ed-fe9c92aab45d@intel.com> Date: Fri, 1 Oct 2021 17:48:19 +0100 In-Reply-To: <20211001140255.5726-2-konstantin.ananyev@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0308.eurprd04.prod.outlook.com (2603:10a6:10:2b5::13) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0308.eurprd04.prod.outlook.com (2603:10a6:10:2b5::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13 via Frontend Transport; Fri, 1 Oct 2021 16:48:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6346e85a-9dc3-4210-f944-08d984fb4e48 X-MS-TrafficTypeDiagnostic: PH0PR11MB5142: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rSNiGaRDq/CILGGC/gWkmtDmxMAlM4o1Njd+506zwQta2LxkZzitqTCamP99vyjqMo/GV/hf0y9czGjrjv7KyK6ztT+nrKKw2GW4kadtLWpP5lz23tM96a4OdzZsaszsdM/VlzevDoPEkwLYUeoHT8oTr9qXAaOvugidJlPCf0FO/ZFB66eWa+SoEDbqmy5YhzsewyXC0DBmY4puF4/Qt7cCvRgqguYQs+5WpRbj2LD1bsjsNxA9aAf5ks/ymahoJhBcZGOu1Gio4W5gLmDfy9LSTJA69pOruvwb2fbRky/TRmq0h3RnWAdaO/kqbYW4k24RqI1YkSvh6rdAoD1hr9AEEORmMoACX96HtC8OJ+AFWNotjS36DKmTuTh7l6rcNszEOZ0eGOcStI1D9AWozpo7JT6Q2DRhuGgy6LwAfNLW3QVh8Wr0OUjwzvFkwA5TtVtG73Pvy9JGw87uvjHwqgu7Kjpnf+jumFAL8oFFozWAms2pB/DDexwusoWve+WHOCI5/gDGBAgrMZae0olCeUI11G2ThJJUf8CGHHmTgSI9lCt75XHDPHhxau+22wiOLdQmaNfhgob5lsvaT9f5ygiTFXe/FeL3ezY/07imUVWB3S30irisJyojWCl7/dz9B9oqSQaKVMBVH06caGMMNvEHEBxrJQdASp3JGy6E9H0FndJ313IhGr3qHGbC+3qjNYiIDvW2DpxWTqt6kE/7tA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7406005)(508600001)(36756003)(4326008)(8676002)(7416002)(31686004)(66946007)(956004)(44832011)(316002)(16576012)(2616005)(8936002)(66556008)(66476007)(107886003)(2906002)(26005)(5660300002)(6486002)(53546011)(186003)(6666004)(4744005)(31696002)(86362001)(38100700002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T2Y3OEY4cHZJdDV6dSt6Wi9GWnFiOE94bDIxREhPU1JOd21ROVRjVS81NENC?= =?utf-8?B?bzNLTklqdkpJRTFjT0k0eXgyYWM5Q1piaERtb1lwRmFBR3ZYSUsxcnB0dnJQ?= =?utf-8?B?VDV1dnpiV0RGV2xTem5pUzg4VFVUUlErS2hESm9DVnJmanFRWUcvTERCNjZy?= =?utf-8?B?R3RlbGFmbVNYUXM0elIyeTJXWHJXQ0lobTEvMXh3ZWZUVnRrVGh6akI5eVFG?= =?utf-8?B?dW1BaVJxQnFnWXhseTVWbXNEclZhMlY4VFh1N0R1OTVhQUZ6bXZhM1ozdjdm?= =?utf-8?B?MjB4QXpZQXlSbWUwTkUycUxzTDZOVjdJVXVzRGpETklXcjlodmZ0RlF1MXU2?= =?utf-8?B?cVA3OFRsVzFod2ZDblY5aVZnVi82VUl6ejFjaTNiaHdPQUk4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i9RMmp3clZyVVF0bEdkNkxiMnNHQ0Y2enlYaldZ?= =?utf-8?B?OVBmRkJPeDF5L0xCVzZRdnlzZjlNN2xPRUtMdWlzOFpMRTNwTlVyUGN0ZEp3?= =?utf-8?B?UHp4bklQcGoyZ3pKd1F6SkhrYWZPN0hsT3VoS1hKemtLUWZwRUFaaUpuYklw?= =?utf-8?B?K0IvSzA4YXFERTJZZnJMOCtZTTAyZXpITW43NFFBNDcyaWJoYmU3MURCcEQz?= =?utf-8?B?bjRXTmttbXJjN29BNlNYanMwemZjYXBSVDBTTWVFNW9BMTBqV21PWGdmV1lr?= =?utf-8?B?YkNqY0prV3VRcnhnZi8vMDdzZ1MvWDJSNlJEMjZIS2dIZGZKNVZIeTYvMmVH?= =?utf-8?B?M25Oc0RrNEJLK0kvaEdxVjkwTnJnMjZaMURnZmtxOHFzektHNXFCS0FRK2JS?= =?utf-8?B?NGo4NjRLbStSbnZYd21rdE9UellXU0YyVDBMM0p3WWhmc3FLdFlUd3B2WHZX?= =?utf-8?Q?mUIK36DygwiN/OTAOhrWpn1GW/UmRyiYIWc9Ngc?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6346e85a-9dc3-4210-f944-08d984fb4e48 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2021 16:48:34.1518 (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: 4BofvMNuI7fv8QBomm68s6e4r0UIBJUbZMTHErUswC+NhJC5JA9qe+G9K6wYVFdBAA4akwgdODe/Qwyhm0P49w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5142 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/7] ethdev: allocate max space for internal queue array 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 Sender: "dev" On 10/1/2021 3:02 PM, Konstantin Ananyev wrote: > At queue configure stage always allocate space for maximum possible > number (RTE_MAX_QUEUES_PER_PORT) of queue pointers. > That will allow 'fast' inline functions (eth_rx_burst, etc.) to refer > pointer to internal queue data without extra checking of current number > of configured queues. > That would help in future to hide rte_eth_dev and related structures. > > Signed-off-by: Konstantin Ananyev Acked-by: Ferruh Yigit