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 77542A0C4C; Tue, 21 Sep 2021 14:04:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2A73410F4; Tue, 21 Sep 2021 14:04:17 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 9B06C40683 for ; Tue, 21 Sep 2021 14:04:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10113"; a="222984850" X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208";a="222984850" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 05:04:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208";a="612985100" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga001.fm.intel.com with ESMTP; 21 Sep 2021 05:04:15 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 05:04:14 -0700 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.2242.12 via Frontend Transport; Tue, 21 Sep 2021 05:04:14 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) 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.2242.12; Tue, 21 Sep 2021 05:04:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Adn68PAimrXIZp3PpjetgdjEc2zy8ZmAMdT8ZgjbYA0jfvKBb9IHlNYm1JbhetFWjojqC/axrtgo0z8VjolZTpjZ2dRSQ+yNhUgpO8zA40vMXHICgiKWonsA8W15MQYvcspBfd410NVmHtYDt1oVhX8kWV+xF/QzFX7CWsVjA2swbTE6TKLJ+n9oMzuxBMKsqR32dNaUlgPlZTYk+QSpGa3P4TThJc0DBgndsPEm8BTdVP/3WpR353vtYHIHNtNO5ZFLUokESryqJ/WRtrpM44encezYci4s3nRB8FTBSIkGCEF0tfvIhEJ/Y/cS3vUn/BOX+eas9VYQmWAnRtN6Tw== 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=xEF+juzhDnRHzBVVmMqqSUke0dgk/hTy5cY1IZ1Iv78=; b=JXs+NYm4U9iNc0OPY4fVFg5o6igwR7AhpWzNnM6DuyIkWz1XFwJS9ENqVPkD4lfV4TFFyjuCO7SedzkvQ9Jdo25KXY19oeDA26jkHjUG+HryARConW2JltwZtXIBjaQ65r/eCrUNP7Nz7aBUHxo8TMQxgjZr46nqSyKhAylZFBcnQMJ3F0yl5cZOKTPPAo+RedWf55auk/t/64+2RDXdHXGB6jY0bmIertIeBqGXkPVlyao1gcqprlRU5akHuJLDszPEwvfo15kAgtT8May6lqwum8r7J5X6KKtQFN5+lzkgWw3L0XlclGVMvyffATmALEQEapVBjGKR5VAy6ZSKPA== 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=xEF+juzhDnRHzBVVmMqqSUke0dgk/hTy5cY1IZ1Iv78=; b=AYbLSXsN1FsyJT5EsHcnYsfuS7xi4YAO/Omk/2fFS/fYK7yRlS2P5k5nYniER1qUB6BrQ0hFpLgE2qRE5gjqOchJ0fycGCawX0MAtYDmb278eYoW+xEPP9TaCpeUO05LmOGarSGzt9wrgvqXhHlPOU2vP0w1W4fOriZUvk0u/h4= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5047.namprd11.prod.outlook.com (2603:10b6:510:3c::18) by PH0PR11MB4791.namprd11.prod.outlook.com (2603:10b6:510:43::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Tue, 21 Sep 2021 12:04:12 +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.4523.018; Tue, 21 Sep 2021 12:04:12 +0000 To: Bruce Richardson CC: , , References: <20210915121104.30581-1-david.hunt@intel.com> <20210921115015.36442-1-david.hunt@intel.com> From: David Hunt Message-ID: Date: Tue, 21 Sep 2021 13:04:07 +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: DB3PR08CA0005.eurprd08.prod.outlook.com (2603:10a6:8::18) 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 DB3PR08CA0005.eurprd08.prod.outlook.com (2603:10a6:8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.18 via Frontend Transport; Tue, 21 Sep 2021 12:04:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 73760787-393d-45af-aebf-08d97cf7ecca X-MS-TrafficTypeDiagnostic: PH0PR11MB4791: 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:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vy8ybyvIda6iQbgPojVnrUnQ5swb2vg5MGxkag7o8F8quSO9lcU8WDRjWY81eJN9k968SkPEdxTcQhZZSz3KHtyuIb4IPgtaHFUhk7R+6PQ23lWBImjmvgKnFtWH0Pev2E8qnPbk+Lt3sFOVPcmVouos/6GdetpcIwveTvwAno5xKfkdvjqTQa/Vyjc/GjWZ9362T7ekqulRIViZG1ki7l9uRLIUQTORMpXCcpGC2NLkYmmgMJKA6AjlyUz+S4/7Cjq955+4/YDIEDtU3iXit6TrHdOrqlR2RwQqs2nCnH1wYTTNPAMrcaMxd/z7Kr76sD8RuOYvozrufSxSfxCMSD1/zHZ1f5PFXyM8YfL9SMjK3EVlrNciiSLalZali8h8UDXKVWKGtkiRaeZ4Rej/giueOnikwbuXta7CBY20qRsx3iDHAOOGbHijV/mRaI9evU8lxqDWT2qLr4BFmIBoo/OWuNPr4D+CczsJb4tCDMersjNGwPB+C1+2YX4xMonUoP+BufSPyzdByCXIzWDZ/P7FOP7bz4J+ouOxp1QJ9EImyyLTKkF19yMbSEx0Tqh8vNOJsiO6lbQL+uYiDgnckIB3cpPjxVtlzguCehd3Fo7KuROegfEgPPKjj1ZtoUyPVdb+DXx7Itnn5QKsCQtYH+IeEw60LviDP0L0+3wDf1GaRE34+DtmhRjBXz1+TZWNvrbGzjc2te4BUKwgA94j9/e3uEWbdTauUPxY00GZUzw= 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)(53546011)(508600001)(6636002)(26005)(8676002)(8936002)(316002)(2616005)(66556008)(66476007)(186003)(83380400001)(6862004)(5660300002)(31686004)(36756003)(4326008)(37006003)(2906002)(38100700002)(86362001)(16576012)(956004)(6666004)(6486002)(31696002)(44832011)(66946007)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ckhwTzVhSmJtU24zSDZYcXBmREIrcXA5K05JNHlqemxsalJGTjN0TGNuVVJQ?= =?utf-8?B?MUNqb2M3TE52ZEl6THpyOE85RlV1Z252Z1R2eExmaW9obldlVUpzN1E3SXhQ?= =?utf-8?B?aWQzbiswZWhRcldRYlJTVjJhYmYzcEE3dmZOSmVsT3p5Y1JMYnlhY1ViQ2cz?= =?utf-8?B?T0pNSEM4d3FnMVJCWXpzREhoSlhyQUNzMFppNDFUcStCc0ZRME54dVIvTmV3?= =?utf-8?B?TGF5MXpQWkJhUHNrbWh2dE1hcXk0cncxZytJTWR3Yk5tN1FBeWRaTXhFRHFu?= =?utf-8?B?Qjc1Z0xOMHl1eUVLc2pMLzBtemRCZDRsMWdlcmlpL3ZjZlNPbkY2cmQvSFhr?= =?utf-8?B?K21RV1B0UUVGR2NNb2lQRXBVdkJWSnBqWU14WCswaVNNemNEWjVJa250R3ZO?= =?utf-8?B?d1lnZ21XZnJKZXpMUUVNUGZMTGhaNUs2bTNwbXorUTUxODFkVFJwVUlWTXp6?= =?utf-8?B?eHZLbXo0Z1pBdUxudEt5anBXN2IxVUlzVXVodG1ETFQrU2V5VWxGMDVxb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GkvQWcxaDNNVkQ2ZWV4?= =?utf-8?B?SWEvcmdYSElNMDNUY2U1cGxwV1kycGVzcVF3bnNEc0dvNktabHRzUEZ4eFE0?= =?utf-8?B?QVJjRDNlMzU0TmprWm1TcmZpTTlLN01SaGVCM2hZUWJXQ0dkaGtDdURrOUVo?= =?utf-8?B?cnVOZUFsMnd6bzI5eWNybXltUW5pZkJoMlNkc3RYWEZDejgrQ0lVYXFrY3RZ?= =?utf-8?B?N3NyTTJIcUllRFo0Y2Z6TndkVndNTndnOU1mblJXRVdwNEpybzh3SVB2Y3Rh?= =?utf-8?B?NWErcE1lZ1hOS1Rxbi91UFN3ZWdIdTdsY3BlYzE4SWM4bHplYWhORkFmOWpQ?= =?utf-8?Q?cmWHwhm7fsUo2UHnN9q5ukX9wR9fAAyuKuoNVgd?= X-MS-Exchange-CrossTenant-Network-Message-Id: 73760787-393d-45af-aebf-08d97cf7ecca X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2021 12:04:12.2004 (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: 9g4dH+oebQ9oVaLXIUAAcM97j8Ypgntoja+u61fog0WthHHekw+Vs27uilEnUJ2w7+rof0ZKx4kSX3I2KILuAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4791 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 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 21/9/2021 12:57 PM, Bruce Richardson wrote: > On Tue, Sep 21, 2021 at 12:50:14PM +0100, 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. >> >> There is no change in functionalty, just additional messages >> suggesting how the --lcores option might be used for the supplied >> list of lcores. For example, if "-l 12-16,130,132" is used, we >> see the following additional output on the command line: >> >> EAL: Error = One of the 7 cores provided exceeds RTE_MAX_LCORE (128) >> EAL: Please use --lcores instead, e.g. > Minor suggestion: it would be good to clarify how to use lcores and what is > happening here in the example. Something like: "Please use --lcores > instead, to map lower lcore ids onto higher-numbered cores", could help the > user understand better what is happening. Hi Bruce, how about: EAL: Please use --lcores to map logical cores onto cores > RTE_LCORE_MAX ,e.g. --lcores 0@12,1@13,2@14,3@15,4@16,5@130,6@132 Rgds, Dave. > >> --lcores 0@12,1@13,2@14,3@15,4@16,5@130,6@132 >> >> Signed-off-by: David Hunt > With some more info to help the user: > > Acked-by: Bruce Richardson