From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by dpdk.org (Postfix) with ESMTP id C3CD65A40 for ; Wed, 15 Apr 2015 03:06:15 +0200 (CEST) Received: by pdbqd1 with SMTP id qd1so31931397pdb.2 for ; Tue, 14 Apr 2015 18:06:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=kJh22D/sG9A6zdDXJ1mEzNaKKvjczKXJmabdo/4oDAk=; b=f2KdmWZb05z10Tz8InMmc21+J/brvm54uykMm6eSkQVES1wpI27kK5nMhadE2q+XCX 9dwCwQ2fwJ5YDDVZrZYCn9Oz+UrddjnGxMrCo4ScMgNzh5rh0Y8Rr07CXukiFAo5brSR +pY6JTwKmzYTtwNJmzGGOPtPyx5iiTo8Fc63pGR4z6EtTlTkz2A13GMYtp8jYvu3CCt0 yLfZM7tB2Lfw9jNCjZa8zvZXCqoOfyoRrJI68f3YdeLGhl6qiPUrRmWRew0KolqZNvit fUxi5/0VRuDM/NsNwfho0DlRyvMCDTPfAbz3RDCmrbSMGmDMZiGrla5zCD2Bp5HiboN7 h0LA== X-Gm-Message-State: ALoCoQnksn9pUh+ZCpxsML2GX762Tu0pPmtCJzhOljTquhymwNCOwdy/ut7cPBTdjvBpUY3zKycY X-Received: by 10.66.66.166 with SMTP id g6mr41862177pat.88.1429059974952; Tue, 14 Apr 2015 18:06:14 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id xt9sm2293528pbc.14.2015.04.14.18.06.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 18:06:14 -0700 (PDT) Date: Tue, 14 Apr 2015 18:06:20 -0700 From: Stephen Hemminger To: Danny Zhou , Bruce Richardson , Declan Doherty Message-ID: <20150414180620.03deb8ee@urahara> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: [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 01:06:16 -0000 The addition of uio pci-generic broke use if igb_uio because the wrong file descriptor is being used. If I was a hard ass I would recommend uio pci-generic support be reverted from 2.0 until/unless this fixed. Failure mode is on startup: EAL: Error reading interrupts status for fd 0 PANIC in start_port() rte_eth-dev_start: port=0 err=-5 The problem commit is: commit 4a499c64959074ba6fa6a5a2b3a2a6aa10627fa1 Author: Danny Zhou Date: Fri Feb 20 16:59:15 2015 +0000 eal/linux: enable uio_pci_generic support 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. 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. Signed-off-by: Danny Zhou Signed-off-by: Bruce Richardson Acked-by: Declan Doherty