From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 661179A8F for ; Wed, 15 Apr 2015 09:19:43 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 15 Apr 2015 00:19:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,581,1422950400"; d="scan'208";a="680347832" Received: from pgsmsx102.gar.corp.intel.com ([10.221.44.80]) by orsmga001.jf.intel.com with ESMTP; 15 Apr 2015 00:19:41 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 15 Apr 2015 15:19:41 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.204]) by SHSMSX151.ccr.corp.intel.com ([10.239.6.50]) with mapi id 14.03.0224.002; Wed, 15 Apr 2015 15:19:40 +0800 From: "Zhou, Danny" To: Stephen Hemminger , "Richardson, Bruce" , "Doherty, Declan" Thread-Topic: UIO pci-generic support broke igb_uio Thread-Index: AQHQdxhnsqmiQK5XOUW3JxPrReEH3Z1NqZWw Date: Wed, 15 Apr 2015 07:19:39 +0000 Message-ID: References: <20150414180620.03deb8ee@urahara> In-Reply-To: <20150414180620.03deb8ee@urahara> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] UIO pci-generic support broke igb_uio 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: Wed, 15 Apr 2015 07:19:43 -0000 Could you please send out the steps for us to reproduce it? I guess you hav= e applied v6 interrupt patches to perform interrupt related tests, right? We cannot reproduce it now. The support to in_kernel uio_pci_generic avoids using igb_uio this DPDK spe= cific kernel module,=20 so it will be much easier for any Linux distribution to package DPDK. > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Wednesday, April 15, 2015 9:06 AM > To: Zhou, Danny; Richardson, Bruce; Doherty, Declan > Cc: dev@dpdk.org > Subject: UIO pci-generic support broke igb_uio >=20 > The addition of uio pci-generic broke use if igb_uio because > the wrong file descriptor is being used. >=20 > If I was a hard ass I would recommend uio pci-generic support > be reverted from 2.0 until/unless this fixed. >=20 > Failure mode is on startup: >=20 > EAL: Error reading interrupts status for fd 0 > PANIC in start_port() > rte_eth-dev_start: port=3D0 err=3D-5 >=20 > The problem commit is: > commit 4a499c64959074ba6fa6a5a2b3a2a6aa10627fa1 > Author: Danny Zhou > Date: Fri Feb 20 16:59:15 2015 +0000 >=20 > eal/linux: enable uio_pci_generic support >=20 > Change the EAL PCI code so that it can work with both the > uio_pci_generic in-tree driver, as well as the igb_uio > DPDK-specific driver. >=20 > This involves changes to > 1) Modify method of retrieving BAR resource mapping information > 2) Mapping using resource files in /sys rather than /dev/uio* > 2) Setup bus master bit in NIC's PCIe configuration space for > uio_pci_generic. >=20 > Signed-off-by: Danny Zhou > Signed-off-by: Bruce Richardson > Acked-by: Declan Doherty