From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com
 [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 460FD1FE
 for <dev@dpdk.org>; Wed, 27 Aug 2014 12:20:06 +0200 (CEST)
Received: by mail-wi0-f173.google.com with SMTP id f8so5574468wiw.0
 for <dev@dpdk.org>; Wed, 27 Aug 2014 03:24:09 -0700 (PDT)
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=y+ixmKvvlrov/hybKSr2vVqPrlKmWVFZnU0b8OHJ1Zk=;
 b=KJep4J/0tpoSYdFkyhfZJ07HBKD4bmMK8MExIthUv/XzjCqlvAwUrfr1FykIFHgzFj
 CSEdXxnS6FYK1IawTNm2hM2PUvzNk3y+xyh8moaWcZu2wyHR5d44ztou69U6Y/HvTYRz
 6fwF6Sgcx0r7vISkVYoqYH15UkYaMlhM0fa+VHzsSHnkQGobGXksa4ZupR5YJQphNo2E
 znk+paD+EURqd+1byHMFt166xPShV2+BONbBWGHisUfbfp5bACZvI8CLTwcD13WnzLdl
 NRqUOvwGDV72d3lUdKG3MlEtrt2KQHxO1p+hk68HQIKqY425K5gnGE2mhCtBVPBPxNIE
 a6pQ==
X-Gm-Message-State: ALoCoQkjofleWie1hCik9DXVTcdxIO1Cibs1kT22UYCP2IdltfpVsxxsQxtwaOLN3d9S9g3D0U0o
X-Received: by 10.180.92.73 with SMTP id ck9mr27899158wib.54.1409135048808;
 Wed, 27 Aug 2014 03:24:08 -0700 (PDT)
Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net.
 [82.239.227.177])
 by mx.google.com with ESMTPSA id fo19sm1488724wic.1.2014.08.27.03.24.07
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 27 Aug 2014 03:24:08 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Xie, Huawei" <huawei.xie@intel.com>
Date: Wed, 27 Aug 2014 12:24:03 +0200
Message-ID: <1629725.WnvXPRWkGi@xps13>
Organization: 6WIND
User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; )
In-Reply-To: <C37D651A908B024F974696C65296B57B0F27CCED@SHSMSX101.ccr.corp.intel.com>
References: <1409062300-17004-1-git-send-email-david.marchand@6wind.com>
 <CALwxeUvB0XKr7AUGHLDh6NgsEmGWkELOAX=NQMDk5FML7Ptbmg@mail.gmail.com>
 <C37D651A908B024F974696C65296B57B0F27CCED@SHSMSX101.ccr.corp.intel.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 RFC 0/3] only call iopl when necessary
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Aug 2014 10:20:06 -0000

Hi Huawei,

2014-08-27 10:09, Xie, Huawei:
> ok, as long as we ensure with virtio PMD, the parent DPDK process has the
> iopl permission so that all child threads inherits the permission.

If you think the patch serie is ok, a "Reviewed-by" would be appreciated.

Also, please could you check your email settings to have cite marks
(">") in text version of your email?
Reminder 1: only text emails are forwared to the list
Reminder 2: we should answer below the question (no top posting)

Thanks
-- 
Thomas


> From: David Marchand [mailto:david.marchand@6wind.com]
> Sent: Wednesday, August 27, 2014 6:05 PM
> To: Xie, Huawei
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH RFC 0/3] only call iopl when necessary
> 
> 
> On Wed, Aug 27, 2014 at 11:57 AM, Xie, Huawei <huawei.xie@intel.com<mailto:huawei.xie@intel.com>> wrote:
> That is ok. If virtio PMD is a dynamic linked library, is it possible that virtio PMD is loaded later?
> 
> The shared library are loaded through -d option, which are loaded just before the call to rte_eal_dev_init().
> 
> --
> David Marchand