From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id D93DC7F34 for ; Fri, 7 Nov 2014 15:48:39 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id n12so3888641wgh.27 for ; Fri, 07 Nov 2014 06:58:10 -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=g6ooGGJh/YPtLqYuRk9wnYVoPm6gIstNxWjkGiEZDwk=; b=JqxI7dT3JanRdwsl8KexB2sym+eEfIeNuB+tQiGuZVVRQ5SOeslibji5obe/zSOnEn MQVTlMPdaQrJdkO4Z6Lru4gbzIWcu+T1MZJBLUdWqsrDpMipTQ8xP/wI4K1aXJZaRO6C RwPMUMyHcyvmxGCWWFVdXVsLHshSlbbqb9yx3SnreWuXjLkkJs6/OiDS7+uBUwBUJdsT HVgyHDS80qbRHlf/c3PFWan/99g2N16ddaWBkiBwy2yCijWgCS+AcOM0Dyq7thMSlr7L oKNRmRdnhAbO8UMXKAw0bgdPN/Hmh4EHboFdtmWzQLEpxPjrrTABGlzGuqJHM/Sl+86K F8Mw== X-Gm-Message-State: ALoCoQnCy5Ubcz/bBh4PUVms4uelgNrd5776kBIWEh9Q3t0VhmUIoMZZLuJWw8yE7f0/2gQ41uua X-Received: by 10.180.14.165 with SMTP id q5mr6012682wic.0.1415372290290; Fri, 07 Nov 2014 06:58:10 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id kn5sm4538506wjb.48.2014.11.07.06.58.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Nov 2014 06:58:09 -0800 (PST) From: Thomas Monjalon To: Nicolas Pernas Maradei Date: Fri, 07 Nov 2014 15:57:50 +0100 Message-ID: <1697795.zFSsGeXbRQ@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <545CD710.4040406@emutex.com> References: <545CBCE0.2030806@emutex.com> <20141107140201.GE25469@hmsreliant.think-freely.org> <545CD710.4040406@emutex.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 14:48:40 -0000 2014-11-07 14:28, Nicolas Pernas Maradei: > Thanks for your reply. The -w option is the same as --pci-whitelist > mentioned in my first email. Declaring a virtual device with --vdev > means that I want to use it but there doesn't seem to be a way to say > that I want to use only that device. Clearly the white list option is > the way to specify this but if virtual devices are excluded from > -w/--pci-whitelist you can't only white list the virtual devices. > > I want to be able to have the same command line arguments across several > systems under test without having to know where the physical devices are > (to black list them). > > My issue is not that I don't want to black list the physical devices > it's just that I want to white list the virtual ones. I don't see why > that option is not available. OK, now I better understand your need. I think that your use case was simply forgotten when designing the new behaviour. Could you prepare a patch for this need? Or maybe you could workaround with a script based on lspci to blacklist all network devices? -- Thomas