From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id CEB549A92 for ; Wed, 11 Feb 2015 15:16:44 +0100 (CET) Received: by mail-wi0-f169.google.com with SMTP id em10so637360wid.0 for ; Wed, 11 Feb 2015 06:16:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=+CfkagUsMbLjYQBhJoLOAoIRkv1/Gvt29qPB5oG/kss=; b=cyY4Cu9QrGLT/qTIyipP6n5EvA61QuCDUWx9N5gAgC7EcKEV14FhXRzpQLFECmq4eL nofG6bFm7yMZn8bEkIGt8+qE0FOeg7Ub8EZKxpj1H4pdig2rQFEVkkjSm0Izd4pYdasI HJCkOHm29Esmz2nXYMOwPVgdgKw0vAjT1ZtXs2WCaf9p5UBBFhbQV7m6kdRLi6qnkl4t z5rx+Crz5GjvLx47fgXzP1aH/I4Ubxn+qRHlkHIiiY1yWw1HnHCQEQ/5SO12WRuzZJNO hLlEYW/+FSZWK/1AIY/WaAk6aPDBvlvirSLdZqCIbAletfAKF/tUojyYQp6JxdR/6UPg EAJw== X-Gm-Message-State: ALoCoQkJeM7yH7EOvfAaqdxHn6qdBrH8lCSaO+y6yRj7ooktbTwMC80LeKuzM+VR00/sAkW9dHHH X-Received: by 10.180.11.205 with SMTP id s13mr6079601wib.32.1423664204586; Wed, 11 Feb 2015 06:16:44 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id di11sm2565507wid.8.2015.02.11.06.16.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Feb 2015 06:16:43 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 11 Feb 2015 15:16:14 +0100 Message-ID: <2184198.2u2mViVrxD@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1422516249-14596-1-git-send-email-changchun.ouyang@intel.com> <54DB04DF.4040201@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 17/26] virtio: Use port IO to get PCI resource. 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, 11 Feb 2015 14:16:45 -0000 2015-02-11 05:50, Stephen Hemminger: > But driver needs to tell application via driver flags I think it's done: > + pci_dev->intr_handle.type = RTE_INTR_HANDLE_UIO; > + pci_drv->drv_flags |= RTE_PCI_DRV_INTR_LSC; In my understanding, Changchun chose to use ioports as a fallback if uio is not available. Seems OK.