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 ADB85A04B5; Wed, 23 Sep 2020 04:05:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 880111DB68; Wed, 23 Sep 2020 04:05:45 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 55BD41DB53 for ; Wed, 23 Sep 2020 04:05:44 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 34875A04B6; Wed, 23 Sep 2020 04:05:44 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 23 Sep 2020 02:05:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: examples X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weix.ling@intel.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 539] [dpdk-20.11] distributor/test_multiple_ports: Failed to map pci BAR4 only in SLES15_SP1 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=3D539 Bug ID: 539 Summary: [dpdk-20.11] distributor/test_multiple_ports: Failed to map pci BAR4 only in SLES15_SP1 Product: DPDK Version: 20.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: examples Assignee: dev@dpdk.org Reporter: weix.ling@intel.com Target Milestone: --- --------------------------------reproduce steps----------------------------------- 1.bind pci to dpdk driver usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:81:00.0 0000:81:00= .1 2.start dpdk-distributor x86_64-native-linuxapp-gcc/examples/dpdk-distributor -c 0xfc00 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 -- -p 0x3 3.ouput # linux-4fr6:~/dpdk # x86_64-native-linuxapp-gcc/examples/dpdk-distributor = -c 0xfc00 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 -- -p 0x3 EAL: Detected 40 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: using IOMMU type 1 (Type 1) EAL: Failed to map pci BAR4 EAL: 0000:81:00.0 mapping BAR4 failed: Success EAL: Requested device 0000:81:00.0 cannot be used EAL: Failed to map pci BAR4 EAL: 0000:81:00.1 mapping BAR4 failed: Success EAL: Requested device 0000:81:00.1 cannot be used EAL: Bus (pci) probe failed. EAL: No legacy callbacks, legacy socket not created POWER: Env isn't set yet! POWER: Attempting to initialise ACPI cpufreq power management... POWER: Initialized successfully for lcore 11 power management POWER: Initialized successfully for lcore 12 power management POWER: Initialized successfully for lcore 13 power management POWER: Initialized successfully for lcore 14 power management POWER: Initialized successfully for lcore 15 power management EAL: Error - exiting with code: 1 Cause: Error: no ethernet ports detected 4.expected result # It run normally. Regression 5.bad commit Is this issue a regression: (Y) Version the regression was introduced: e200535c1ca382c518da810ab484e3f0660d= 351d [root@localhost dpdk]# git show e200535c1ca382c518da810ab484e3f0660d351d commit e200535c1ca382c518da810ab484e3f0660d351d (HEAD) Author: David Marchand Date: Thu Sep 17 13:28:21 2020 +0200 mem: drop mapping API workaround Now that the pci_map_resource API is private to the PCI bus, we can drop the compatibility workaround we had implemented in 20.08. Signed-off-by: David Marchand Acked-by: Andrew Rybchenko --=20 You are receiving this mail because: You are the assignee for the bug.=