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 A38EFA0C43; Thu, 23 Sep 2021 11:47:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9330A41257; Thu, 23 Sep 2021 11:47:25 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 2B3A641250 for ; Thu, 23 Sep 2021 11:47:23 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="287474974" X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="287474974" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 02:47:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="475455860" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga007.fm.intel.com with ESMTP; 23 Sep 2021 02:47:21 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 02:47:21 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 02:47:21 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 23 Sep 2021 02:47:21 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.44) 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; Thu, 23 Sep 2021 02:47:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dC93VrWxzN/8x5EJFHGgYP/Kj8WG5G0FLZuJUXmckeHhqwvJ9t6YTPTuIjCRRDjIw/Z17bIG3p+a8rMmWxOW8nU/6lBkWMHixo8hRSkMdphVumQItbOD1jD2NTmepZt+Zx/lKuIs5k+jNoGmit2Go5VNXFv2ys5rdIbBl6eX/crgjhxGhFSugJ9MF1/+nRy7OW5z+vqMDbnkoarFFrFhXwtJVUDjlnFaEEgwCZCjbAYuibWCg2s2X/9aHOpODXQPJYByH3LWaa8ZsI1Z5skqZyvUA/y98ScxygrqGokHtObV4Mve0GBdKPHvY1f2YP53xkNIUkhfVKQplPsQhsCVcA== 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; bh=aWaRNIUf0IchQLXrCYMYZsD8SqieJf2Iys5yeW/I5Ow=; b=hfvBQUXpuve7Qb5ep+jCqd8I3oBqYMSCRDp3AfABvloSu03wX4K4PUuBnKOOklGX1MLT0KJvtH8atMXxCjhHm/ArRg7JQMEo+bclZO1FaLSJGWFDRXIA2BMg0X34S2Ap5diH6UQYRRqn8/aMwGdCsEIjU5xrhyuEnatfXW2GXiW/L7ZDtUqCzCRqggeM+mmE4cNry28PoeCgq3LkC1wAPckYe+2pNoLT0o1CoIVX3ks6yF9dO1/asQuxSeaNgisTkwwI3X50mxY/LtF/dQV1seR8v6s1WAnzMIBPJCbjSUFSo8ocj49sBoFJTSWKIcHXmZFs5VvYOKCBzgavDmb1kg== 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=aWaRNIUf0IchQLXrCYMYZsD8SqieJf2Iys5yeW/I5Ow=; b=duDDKAyThfH97kOwbStKk0wSvqkFdsIIuRfnb1nLx6O8y33hLMXbE9jCU1e08UvjOmf6x/xpFu8bC9lwIy0bQuCnkU5gUptbYCaSwvjbpZfQV398azqijcgLvFHPo1CuQKBR+iYQxAPszf3qy2njI/jqOA4k4VrewBZRRUdXEFc= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) by PH0PR11MB5030.namprd11.prod.outlook.com (2603:10b6:510:41::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Thu, 23 Sep 2021 09:47:17 +0000 Received: from PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::a495:76aa:e576:1281]) by PH0PR11MB5047.namprd11.prod.outlook.com ([fe80::a495:76aa:e576:1281%4]) with mapi id 15.20.4544.014; Thu, 23 Sep 2021 09:47:17 +0000 To: David Marchand CC: dev , Bruce Richardson , "Thomas Monjalon" References: <20210921115015.36442-1-david.hunt@intel.com> <20210922122920.34759-1-david.hunt@intel.com> From: David Hunt Message-ID: Date: Thu, 23 Sep 2021 10:47:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: DB8PR04CA0017.eurprd04.prod.outlook.com (2603:10a6:10:110::27) To PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) MIME-Version: 1.0 Received: from [10.4.11.161] (95.45.23.115) by DB8PR04CA0017.eurprd04.prod.outlook.com (2603:10a6:10:110::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14 via Frontend Transport; Thu, 23 Sep 2021 09:47:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2cc18c24-4fe7-4bfd-4750-08d97e77215b X-MS-TrafficTypeDiagnostic: PH0PR11MB5030: 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:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EPfBJntUXfGGxjOPhdCVvEqp19/DJq+SFkvcWqRuLRJe8P4W4nx6/moCWEMMx1rtlYydp+1wFbQtBn7wr+ZV/BrBTTK+n+YJStjj1fX3HXr/U8humVOtpqnn0rhIFFP97LTpa1DFpJFlgyAcIQVZtXIuXDrhkng6Z58UYy+KgHDyOa/91+LUJf0J6FIp4BsMTn+s98zRz6Vv4MAjpsHP8KxPoSxoUw2v1B5LPL9vKSoRsbzP1M/zv45orL/DZJeM2g4qPHdEcb3TOCnPL6ieFyG/zrnz/41/Wmh24lFJmeOsF++Sxl3l6L5erCPbR98gbihzZKj14c+5uQwr2QMVcyrwHU5hk3KYs24xfwu+D8FterK2vjerXTr1pwNVQ1nSymwkExdzDw42p17smvOvRQ9GGWWytO08i6DD7n63HCgF7xDfLP6El00uX6LO738rlCyKs5I4pwkG+bkRkL8e9M1oj4OZ9eey7dYnUYU5SCjHzfmR2nBACYz4/4/E8I43NHuE9MMDcDEIprkf4EhDscGeqHUGilvZcCQL+xrWlejfTWBQxC4/eZds8LKQZ5BGV489iEAVk1aEJFvGX/EBnsaIFHWrIefHGA9Jp/zSgyt4vEzfnKlFJLT5Xxk/d/QUVrBC2Wr+2IDiUjQPHtV9z/iMu9HKxuMqHMBdhiYJHF21yjZtRNndEpVfw2ROetzZTeuI2ui8yG+cPDzACoXah+rccHonTOMaEcDu3I2Zaw0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(2616005)(956004)(31696002)(2906002)(8676002)(508600001)(36756003)(83380400001)(5660300002)(6666004)(44832011)(53546011)(186003)(26005)(38100700002)(316002)(54906003)(6916009)(86362001)(66476007)(4326008)(8936002)(16576012)(6486002)(66556008)(31686004)(66946007)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?LytMcHZzZFYyeVl4MVUzQWVrSnZTdmhMZ1BqNDkxY3U2Zzcza1Z2NS84eU1k?= =?utf-8?B?QTNrMHIydDNwc1ZxNVZubkpCT25nc0p1WE1kYTFZbHVtSElWL0VLRU9hS2Fw?= =?utf-8?B?cXEvMGNwWEIzdUJkMEpNN05yYk1lZjBsc2pkK3J1dkFycVFGL2ZndHdXOC9v?= =?utf-8?B?OEQzSm1DZWp0Rm1sVjNNKytnRG9ESTlhZVFSZFUyZkJoMnhoQkVOamJ4dW1u?= =?utf-8?B?cEp3a2RVQ0tzTDdJdWxyL3dyYldiUkg0V1BTUE5Bc21hK2hBbmF4bitNUlJl?= =?utf-8?B?aDRYU1B3ZjdSZU5HY3NLYUlOYUR5ZkJLZlVuNXd0MGNQUlBLdVJvaWJxbXU5?= =?utf-8?B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B?eGZvcWVzYlF2R2kxOWdYQ1BLNzBRMXl1Y09mSVd4bEk5ejhpOVl2bkxKS1NE?= =?utf-8?B?dE9zNS9CVjF3RElxbk5JaTRQMHRQWHZ4OW9WcnIyT2F3OEVOSDRoTEZNbnJL?= =?utf-8?B?UlpYeWtFT3R2dzBybFlEajVHV1dNbkJ3M3FzUTZMWGNncHE5K2x6U2RZOFVB?= =?utf-8?B?OCtZdkNwMlZsdjA4Q2E0RUhXZEZmb1ZCTFNxVHl4b2tHNm5JNkpHcEFuOFpr?= =?utf-8?B?Ung0QWl6cWI5TmI4dUxjWG1CL2F0RUhIUHJxcUNBckl4YVZTK1JCR0pBRHdG?= =?utf-8?B?SnRUc0huYmZRdHZIOEZZeVN1bmE5RlRjeUJ3bGFQWGlYMGROZTZjNGJEL3Rn?= =?utf-8?B?emZzWnNEalUzWXpVbUZLUmkzcy93cnljVUxmMkFXK1RTZGtCcDI0anRHYTIy?= =?utf-8?B?SGlHTjhoQnZiRFk1Tllkait4OStLK2JwM2dQeFc4UXc3bzBhY3FkS3FXcUxu?= =?utf-8?Q?o+o4e7gzN7fABZSpFBKp9hbm18uwzTKSAY/yoKt?= X-MS-Exchange-CrossTenant-Network-Message-Id: 2cc18c24-4fe7-4bfd-4750-08d97e77215b X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2021 09:47:17.6778 (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: LPVsG7YdI8E1vfXI3VAHrpZInRgnwXyMLVY7LUku12cBIDZB9DxejfJ8T2OOqElE5hZH23NeAYskr2+IuR4uHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5030 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 1/2] eal: add additional info if core list too long 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 23/9/2021 9:11 AM, David Marchand wrote: > On Wed, Sep 22, 2021 at 2:29 PM David Hunt wrote: >> If the user requests to use an lcore above 128 using -l, >> the eal will exit with "EAL: invalid core list syntax" and >> very little else useful information. >> >> This patch adds some extra information suggesting to use --lcores >> so that physical cores above RTE_MAX_LCORE (default 128) can be >> used. This is achieved by using the --lcores option by mapping >> the logical cores in the application to physical cores. >> >> For example, if "-l 12-16,130,132" is used, we see the following >> additional output on the command line: >> >> EAL: lcore 132 >= RTE_MAX_LCORE (128) >> EAL: lcore 133 >= RTE_MAX_LCORE (128) >> EAL: to use high physical core ids , please use --lcores to map >> them to lcore ids below RTE_MAX_LCORE, >> EAL: e.g. --lcores 0@12,1@13,2@14,3@15,4@16,5@132,6@133 >> >> Signed-off-by: David Hunt >> Acked-by: Bruce Richardson > This series is there to help users, it should not break existing > working configurations. > > I mentionned the "-l 0-3,0" case before. > This syntax is debatable, but it worked before (see comment below) and > this patch now refuses it. > Hi David, Good point that the patch should not change behaviour. Will address, along with your other comments. Thanks, Dave. --snip--