From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47])
 by dpdk.org (Postfix) with ESMTP id 7571EB659
 for <dev@dpdk.org>; Tue, 17 Feb 2015 02:24:36 +0100 (CET)
Received: by mail-wg0-f47.google.com with SMTP id x12so18764571wgg.6
 for <dev@dpdk.org>; Mon, 16 Feb 2015 17:24:36 -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=pWa+fvZfHcVfU0EggjIn6NENA5KXiB+ZX1PYO9HF36k=;
 b=bRsldsVU2KsZ5Ys2O9BXiZGgyyu7PEW2xkQnX2CyIelXp9kuuJWZWbWtE+JIWxY5eg
 woTf2q+O2Uodt92TdoQUY+z3TaUbMvRaxRSiiRZPM68vdp0GCtWTPiFVKDW4dTKxj0Pv
 fy2lObY++3PddJ7L968YCUlLEGAV5j2uD/ukpzIaR0N0FxhtjzFF18OlaO1GK2WseWBd
 8k3WSn3b+/8C+y3WHfx1eWDRWxEdp6i5J4yxKsYb/XuqiQAh3nAECfA5y4UltebxD98k
 vTCHJfR3MnOligV4685P91ur02Dio9ak7E5CiWDagdYGOMkij4RDy6/v+Y3Zzx8Ui7eu
 ITvg==
X-Gm-Message-State: ALoCoQk7yJ6n/Yb/frus9ZhE0vogcxkTeyN0Enb3EhT1V4EqMovFnExg8vmGb0T/YNVFz5U9rMPX
X-Received: by 10.180.9.71 with SMTP id x7mr51472789wia.0.1424136276383;
 Mon, 16 Feb 2015 17:24:36 -0800 (PST)
Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net.
 [82.235.116.147])
 by mx.google.com with ESMTPSA id do1sm17963499wib.3.2015.02.16.17.24.35
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 16 Feb 2015 17:24:35 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Tetsuya Mukawa <mukawa@igel.co.jp>
Date: Tue, 17 Feb 2015 02:24:03 +0100
Message-ID: <1454524.7cdRN9bmFB@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; )
In-Reply-To: <1424060073-23484-12-git-send-email-mukawa@igel.co.jp>
References: <1423470639-15744-2-git-send-email-mukawa@igel.co.jp>
 <1424060073-23484-1-git-send-email-mukawa@igel.co.jp>
 <1424060073-23484-12-git-send-email-mukawa@igel.co.jp>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v8 11/14] ethdev: Add one dev_type parameter
	to rte_eth_dev_allocate
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: Tue, 17 Feb 2015 01:24:36 -0000

2015-02-16 13:14, Tetsuya Mukawa:
> This new parameter is needed to keep device type like physical or virtual.

Actually types are "PCI" and "virtual".

> Port detaching processes are different between physical and virtual.
> This parameter lets detaching function know a device type of the port.

I think the type should be guessed automatically thanks to register infos.