From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id C56687F29 for ; Thu, 6 Nov 2014 16:48:58 +0100 (CET) Received: by mail-wg0-f43.google.com with SMTP id y10so1549047wgg.30 for ; Thu, 06 Nov 2014 07:58:26 -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=/ddxYi5gNfyRAB3gaXdJKotQ5zP6GhqFgUO6Lc1iZQs=; b=XJKjQY96Jqqu24fJOvRZjbSWilrKHkH1Cc5y64YjvVlvPebtir4/bPxvHXtaKmaWKj MHTpyRD1ZS84JHtG03uI8qe67CdVjYWSZXUH5AXJlSz+s3XkAc57n2sGfcsL0cUQUjQV NBh8cBxjkv4xF2GxHvDpHe36RNHM9YO1E5Bw/2ONU6Yq+zaHR4DYPL1eSvRQ+1YhhvDs Q7C9h7MQz5uCzwyT/rZQ9Vi21gx7tC8bsJ091MfVXYDiQgwIW2kENPcpZvxJlIm0XjiX BSR9YZxsV2zOkntUWsssPw9pdCeVt9jpYYuNsfSlMYZjWI+HbgAFiMiGPv222oplyJ0z +3Mw== X-Gm-Message-State: ALoCoQnXwv7syAml6srIGzCIf7axZjBqGWuQpd/IBNi3X/Kg7Vl3YH2EbvrS1oXzvIlE4Or4V4aX X-Received: by 10.195.12.136 with SMTP id eq8mr6628849wjd.77.1415289506725; Thu, 06 Nov 2014 07:58:26 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id t7sm8309221wjy.24.2014.11.06.07.58.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Nov 2014 07:58:25 -0800 (PST) From: Thomas Monjalon To: "Burakov, Anatoly" Date: Thu, 06 Nov 2014 16:58:05 +0100 Message-ID: <176911891.PG8FvFrDef@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: References: <1415193919-17361-1-git-send-email-liang.xu@cinfotech.cn> <1415287928-14513-1-git-send-email-liang.xu@cinfotech.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v5] eal: map uio resources after hugepages when the base_virtaddr is configured. 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: Thu, 06 Nov 2014 15:48:59 -0000 2014-11-06 15:41, Burakov, Anatoly: > Thomas, do we need to do similar changes to VFIO code, to keep consistency? > Also, do we really need for this to depend on --base-virtaddr? Why not do it > unconditionally, i.e. map PCI resources right after hugepages in memory? I don't really like the secondary process mechanism at all. So I won't give good advice here ;) But I feel this option --base-virtaddr should be improved or removed. -- Thomas