From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <nico@emutex.com>
Received: from smtp.digiweb.ie (smtp2.digiweb.ie [83.147.160.14])
 by dpdk.org (Postfix) with ESMTP id 310CE7F18
 for <dev@dpdk.org>; Fri,  7 Nov 2014 14:30:34 +0100 (CET)
Received: from statler.emutex.com (unknown [92.51.199.138])
 by smtp.digiweb.ie (Postfix) with ESMTP id 0181B2900ED;
 Fri,  7 Nov 2014 13:40:03 +0000 (GMT)
Received: from [10.10.64.102]
 by statler.emutex.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <nico@emutex.com>)
 id 1Xmjlj-0000sF-LN; Fri, 07 Nov 2014 13:40:03 +0000
Message-ID: <545CCBA8.7030900@emutex.com>
Date: Fri, 07 Nov 2014 13:39:52 +0000
From: Nicolas Pernas Maradei <nico@emutex.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Neil Horman <nhorman@tuxdriver.com>
References: <545CBCE0.2030806@emutex.com> <2085190.a5sr9ou3P7@xps13>
 <545CC581.40309@emutex.com>
 <20141107132618.GD25469@hmsreliant.think-freely.org>
In-Reply-To: <20141107132618.GD25469@hmsreliant.think-freely.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] White listing a virtual device
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: Fri, 07 Nov 2014 13:30:34 -0000


On 07/11/14 13:26, Neil Horman wrote:
> Then you create the pcap device with --vdev, and simply don't load the pmds for
> any of your physical devices (or just don't use pci-whitelist at all if you're
> doing a static build).  If you do that, then the corresponding niantic driver
> won't initialize any of the hardware, you'll only get the pcap port.
>
> Neil

Hi Neil,

What you are saying is just another way to black list the ports I don't 
want to use. I'm aware of that option (as well as using the -b option) 
but in our particular case we have several systems under test with 
different configurations and we want to use this virtual port only. 
Which seems to be a perfect use case for white listing rather than black 
listing or modifying the system configuration.

As far as I remember this option was available in previous versions.

Thanks,
Nico.