From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F38035A17 for ; Wed, 11 Feb 2015 05:50:05 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 10 Feb 2015 20:45:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,555,1418112000"; d="scan'208";a="525751919" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by orsmga003.jf.intel.com with ESMTP; 10 Feb 2015 20:41:56 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 11 Feb 2015 12:50:01 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.62]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.197]) with mapi id 14.03.0195.001; Wed, 11 Feb 2015 12:50:00 +0800 From: "Ouyang, Changchun" To: Stephen Hemminger Thread-Topic: [PATCH v4 17/26] virtio: Use port IO to get PCI resource. Thread-Index: AQHQRAXdKnzLoxlegk2pGtV3w1l/GJzqWVgAgACJ35A= Date: Wed, 11 Feb 2015 04:50:00 +0000 Message-ID: References: <1422516249-14596-1-git-send-email-changchun.ouyang@intel.com> <1423444455-11330-1-git-send-email-changchun.ouyang@intel.com> <1423444455-11330-18-git-send-email-changchun.ouyang@intel.com> <20150210203232.6c1934ad@uryu.home.lan> In-Reply-To: <20150210203232.6c1934ad@uryu.home.lan> 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] [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 04:50:06 -0000 > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Wednesday, February 11, 2015 12:33 PM > To: Ouyang, Changchun > Cc: dev@dpdk.org; Xie, Huawei; Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH v4 17/26] virtio: Use port IO to get PCI resource. >=20 > On Mon, 9 Feb 2015 09:14:06 +0800 > Ouyang Changchun wrote: >=20 > > Make virtio not require UIO for some security reasons, this is to match > 6Wind's virtio-net-pmd. > > > > Signed-off-by: Changchun Ouyang >=20 > This breaks applications that use link state interrupt. >=20 > If the non-UIO mode is used link state interrupt fd is not available. If application use link state interrupt, then let it work in uio mode rathe= r than proc/ioports mode, As we know proc/ioports hasn't interrupt, 6wind implementation also don't i= ntroduce interrupt in it. Thanks Changchun