From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBE5CA0471 for ; Tue, 16 Jul 2019 13:25:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE1CB1B953; Tue, 16 Jul 2019 13:25:47 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id E1BDB4CE4 for ; Tue, 16 Jul 2019 13:25:45 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 955DAA0613; Tue, 16 Jul 2019 13:25:45 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 16 Jul 2019 11:25:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 18.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johan.kallstrom@ericsson.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 323] eal: ctrl thread calculation assumes 1:1 mapping between cpu and lcore id X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" https://bugs.dpdk.org/show_bug.cgi?id=3D323 Bug ID: 323 Summary: eal: ctrl thread calculation assumes 1:1 mapping between cpu and lcore id Product: DPDK Version: 18.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: johan.kallstrom@ericsson.com Target Milestone: --- ctrl thread calculation assumes 1:1 mapping between cpu and lcore id. This is not the case when --lcores and the optional cpuset mask is used. The calculation introduced in c3568ea376700 (and 18.11.2 23a9f69ed3d9) assu= mes a 1:1 mapping between cpu and lcore id. This is not the case when --lcores = and the optional cpuset mask is used. The calculation fails when --lcores and cpuset mask is set so cpu and lcore= no longer maps 1:1. The code silently started on the wrong physical thread with following eal arguments(if not cpusets are used to limit the thread affinity): --master-lcore 0 --lcores (0,19)@(19,1,2,3) If cpusets are used(and the calculated thread is outside the cpuset) eal fa= ils to start with the following output: EAL: Failed to create thread for interrupt handling EAL: FATAL: Cannot init interrupt-handling thread EAL: Cannot init interrupt-handling thread EAL: Error - exiting with code: 1 Cause: Invalid EAL arguments: -1 - Unknown error -1 ---------- NOTE: A resubmit of 322 as suggested by Thomas Monjalon. Bug report 322 suffered by a UTF8 error in the bug tracker. --=20 You are receiving this mail because: You are the assignee for the bug.=