From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 880215F50 for ; Tue, 27 Jan 2015 12:46:16 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id l2so14279151wgh.5 for ; Tue, 27 Jan 2015 03:46:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=7LnqMP7gu5i+QbHphMx9iO3xD3cFRkFpdguUpRIWhps=; b=VC6BqhIvBd9H2ldLio/IV8loLhsh4mmtIboSbxTWeA2xn7qvx3g0d0gm2VU/Rua+5M JrBANwB4LsOvJ+E9UDjUoyUmMP13F11ZoO072SSYC3ay8Dq06jOLdSbmlres/Q207iJi /vNzy4jYdofw+bbfL7BqzjYLCKmRGZ5hb7NssKJg/wGo/ZGxQrLqwBOkaKtwzTPicR34 Vg+ykQD8GAzBYBulLz6FH8EwuMteCo1HghNqvaQTKQjmCTM1Z7fKXAVYxGW0qxdyzqA6 c5tq9HwTVrIr7dEUN2OmJVmn58pECn4ghS8v8V/dnw1lkpX2Hsb/hFHs6qenrx0UEpKi wKMA== X-Gm-Message-State: ALoCoQl2JGaYsf71AF2BZ+s4X9aFJPvgx1e7yE73S6eG/1ebQs5cdc3XmKzpx5+4xFxCf8gM6l8W X-Received: by 10.194.103.228 with SMTP id fz4mr1981374wjb.82.1422359176322; Tue, 27 Jan 2015 03:46:16 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id i13sm1504137wjr.7.2015.01.27.03.46.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jan 2015 03:46:15 -0800 (PST) From: Thomas Monjalon To: Remi Pommarel Date: Tue, 27 Jan 2015 12:45:49 +0100 Message-ID: <2286258.liZJEn7dpv@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.18.2-2-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1421780083-4923-1-git-send-email-repk@triplefau.lt> References: <1421780083-4923-1-git-send-email-repk@triplefau.lt> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal/common: Fix enabled core number with core list argument X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 11:46:16 -0000 > When using core list argument to define which core to enable (ie -l) the > core_num field of the rte configuration is not updated the same way as using > coremask. This causes rte_lcore_num() to yield different value from the one > using coremask. > > Signed-off-by: Remi Pommarel Good catch, it was forgotten when adding this option. Fixes: d888cb8b9613 ("add core list input format") Acked-by: Thomas Monjalon Applied Thanks -- Thomas