From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id 7A63E4C8A; Mon, 25 Jun 2018 18:51:59 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 25 Jun 2018 16:51:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 18.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: tom.barbette@uliege.be X-Bugzilla-Status: CONFIRMED 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 66] Secondary process must have exact same whitelist "-w" list 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: , X-List-Received-Date: Mon, 25 Jun 2018 16:51:59 -0000 https://bugs.dpdk.org/show_bug.cgi?id=3D66 Bug ID: 66 Summary: Secondary process must have exact same whitelist "-w" list Product: DPDK Version: 18.05 Hardware: x86 OS: Linux Status: CONFIRMED Severity: minor Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: tom.barbette@uliege.be Target Milestone: --- When a primary process is launched with some whitelisted PCIe devices, the secondary process will not detect NICs if the exact same whitelisting parameters are not given. Eg, if I pass : sudo ./testpmd -w 01:00.0 -w 01:00.1 --proc-type primary --=20=20 Then if I just run sudo ./testpmd --proc-type secondary --=20=20 I will have : EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: probe driver: 8086:10fb net_ixgbe EAL: secondary process attach failed, ethdev doesn't existEAL: Requested de= vice 0000:01:00.0 cannot be used EAL: PCI device 0000:01:00.1 on NUMA socket 0 EAL: probe driver: 8086:10fb net_ixgbe EAL: secondary process attach failed, ethdev doesn't existEAL: Requested de= vice 0000:01:00.1 cannot be used EAL: PCI device 0000:03:00.0 on NUMA socket 0 EAL: probe driver: 8086:10fb net_ixgbe ... I would personally expect the secondaries to be able to open only the whitelisted in the secondary, or maybe all devices. If I launch the secondary with the same -w, the secondary will be able to access the devices as expected : sudo ./testpmd -w 01:00.0 -w 01:00.1 --proc-type secondary --=20=20 EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: probe driver: 8086:10fb net_ixgbe EAL: PCI device 0000:01:00.1 on NUMA socket 0 EAL: probe driver: 8086:10fb net_ixgbe Thanks, Tom --=20 You are receiving this mail because: You are the assignee for the bug.=