From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by dpdk.org (Postfix) with ESMTP id 6416CC642 for ; Tue, 28 Apr 2015 18:33:21 +0200 (CEST) Received: by pdea3 with SMTP id a3so179273pde.3 for ; Tue, 28 Apr 2015 09:33:20 -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:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=ATpS1TEKbJWVEJi7rGvGB8MiTxWDR3hBPsLVPhtY7D8=; b=BAOoa/w8r2hNQ95gJTv9LPGYgUw2IUQRUFRxBVylGkiIX2QwkfhSMAPi9DfiCsskFK 6ffBHXHTa5RmKRBE2h4yEGB903SZNL5LQLZG8NeDBAGMoW6RD+NvF6UIIHuPfhkKfW77 n963OST8x45MsIluvUEmYmWbfxEhxDMI/ujWbkfmy9S+h6k/W7j5cJs5eZTrojPef75d EfJZHeeb65sKIrr/yl/Fse6bLT/gdGEz4zh8a1b9RQc3axGxNhCpQCzU8Qj8eD/qnkCQ 2/Ld7tBI00KjDPfvuu/wVF4g8toVVNi/t3EsWBM3WDgOVdsfdXZuUY9GWpzk5JBYcQq8 tDPw== X-Gm-Message-State: ALoCoQkcIEbbQhBOUA7bre2TWOEczXGD7fvNXUP7ZRzbnJFvtVZb28atd0GhO5Kjqr3gm7sBaBAj X-Received: by 10.68.191.101 with SMTP id gx5mr33855944pbc.148.1430238800553; Tue, 28 Apr 2015 09:33:20 -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 ve3sm22848996pbc.22.2015.04.28.09.33.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2015 09:33:20 -0700 (PDT) Date: Tue, 28 Apr 2015 09:33:24 -0700 From: Stephen Hemminger To: "Qiu, Michael" Message-ID: <20150428093324.441d0015@urahara> In-Reply-To: <533710CFB86FA344BFBF2D6802E602860466909F@SHSMSX101.ccr.corp.intel.com> References: <20150427150624.68ef88bc@urahara> <533710CFB86FA344BFBF2D6802E602860466909F@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] What to do about UIO breakage in 2.0 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: Tue, 28 Apr 2015 16:33:21 -0000 On Tue, 28 Apr 2015 08:07:18 +0000 "Qiu, Michael" wrote: > On 4/28/2015 6:06 AM, Stephen Hemminger wrote: > > I raised the issue, but people seem to be ignoring that fact that igb_uio > > was broken by the introduction of UIO PCI generic in 2.0. > > What do you mean about igb_uio broken? > > Thanks, > Michael > > > > There are three options: > > 1. Remove IGB_UIO only use UIO PCI generic. > > Downside there is no MSI-X support for UIO PCI generic. > > 2. Revert UIO PCI generic support > > 3. Replace both of the above with something better. > > > > I am working on #3 but it will not be ready for 2.0.1 and there > > is no solution for users of 2.0 and any future stable code. > > > If you use link state interrupt, then the base code in eal_interrupts is now broken when using igb_uio. The code was changed to work with uio_pci_generic. The new code does read/write of PCI INTX config and will not work when using igb_uio which uses MSI-X. Some possible solutions are: 1. Remove igb_uio completely 2. Revert/remove uio_pci_generic and use old read/write to enable irq 3. Make code look at driver type (sending patches for that now). 4. Implement a better UIO method for MSI-X which is what I will submit when Rx IRQ support is ready.