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 7DF29A0C61; Fri, 5 Nov 2021 11:51:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DA5341134; Fri, 5 Nov 2021 11:51:15 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 440E9410DC for ; Fri, 5 Nov 2021 11:51:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636109472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HEt56tLqwJHznACCH0kFhIu7QAXw9zhOzCXabZf4Z9w=; b=TKt3umoZHmeqaA55l3/iJwm90hCegv4iAv8w3ZuSM1Jo+jrqA+oCaWyOs5o2djn9FIryZg sSa9dMIppChY/zsZKC+LYFPWVeV1YxbvA5hYGkxiv2LOeoYOiHDNZUkb3bsdFlMyI312z5 ng2cdTETh+wFTFxYkAy3FlkK1dgctPY= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-584-YdtbfTgiM0mZYnFZvOtlbA-1; Fri, 05 Nov 2021 06:51:11 -0400 X-MC-Unique: YdtbfTgiM0mZYnFZvOtlbA-1 Received: by mail-lf1-f70.google.com with SMTP id x7-20020a056512130700b003fd1a7424a8so3407311lfu.5 for ; Fri, 05 Nov 2021 03:51:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HEt56tLqwJHznACCH0kFhIu7QAXw9zhOzCXabZf4Z9w=; b=OBn0DQjQKduqCBvAl7OMK+DGkEAU8j33sFtCaap12zpBzoB1ckStGValPWm9xmQF51 EmPjSGtGHwF3nfZ+F8WGVGX8g13/1lxoAelovfP3XZBXPHzL3nzCxBHDEucE1BVWiXyQ HFhPzh1iigbGZLdVlt1FVdjW1WJFY8t2KffDvVwTJrexpFgyqDNbvMQW6UOjAJfcrCKS e2iV81QU6j3uNnvKdSAdFXHpxgtLTpyDljRUw9iZjQ57jxNEbKc/luJrJ8DZ7VHExz4u shHTxs/4zK6H/fcCBSwbx/Fixl3+DUosRVzFjzr9ITQ0Vg/cFcOGvG1bWK6hD537DR0Z DLkw== X-Gm-Message-State: AOAM531SRYhxzwKd/3lzr8uS0HTP382RFp2UgevloG6SJK6FwMP0Bv3m YtOw3q3DM+9/k1A5Q0onMwtDPmO/tHTZumVBB+f0ZqQK5bAgewjIRxGEhjNFbYevJvQB2bx9FgW WFGcuQF2l68mEslD7QgU= X-Received: by 2002:a2e:8e76:: with SMTP id t22mr24107353ljk.81.1636109469840; Fri, 05 Nov 2021 03:51:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7muhTzJ9qk48GX0tgxfrmYOjs67BUFbEa1PIEkkHrx+X2751s9aJwg95TtB+1OA1bG8k8e+JsumVQBxMmDT4= X-Received: by 2002:a2e:8e76:: with SMTP id t22mr24107327ljk.81.1636109469585; Fri, 05 Nov 2021 03:51:09 -0700 (PDT) MIME-Version: 1.0 References: <20210923110213.21350-1-david.hunt@intel.com> <20211103143229.34503-1-david.hunt@intel.com> <20211103143229.34503-2-david.hunt@intel.com> In-Reply-To: <20211103143229.34503-2-david.hunt@intel.com> From: David Marchand Date: Fri, 5 Nov 2021 11:50:57 +0100 Message-ID: To: David Hunt Cc: dev , Bruce Richardson , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6 2/2] eal: add additional info if core mask 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 Wed, Nov 3, 2021 at 3:33 PM David Hunt wrote: > > If the user requests to use an lcore above 128 using -c, > the eal will exit with "EAL: invalid coremask 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 "-c 0x300000000000000000000000000000000" is > used, we see the following additional output on the command line: > > EAL: lcore 128 >= RTE_MAX_LCORE (128) > EAL: lcore 129 >= 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@128,1@129 > > Signed-off-by: David Hunt > Acked-by: Bruce Richardson Series applied, thanks. -- David Marchand