From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <3chas3@gmail.com> Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by dpdk.org (Postfix) with ESMTP id DE7A48D99 for ; Fri, 2 Oct 2015 18:38:29 +0200 (CEST) Received: by qkap81 with SMTP id p81so45188024qka.2 for ; Fri, 02 Oct 2015 09:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=n5lhzg0e1XQErVpWgb0zVx+tfjNYNcsO3k2J/HjuqGQ=; b=qFmj/R5ppQkJzaVAg7NRbEKGV78zfzCMgNowZmIuoKxwkr/43DGIVp/ITSOi2IwKLi j6U0D618zLRIqAzNd0w1hqren4qLOSyE2+D65aaI0hgDQeqdQ4tFa7wEGKGPJsCyTOSw qkKRn8vLXESpgq3JQSgpda7i+TEPgA11HCB/1jIa7fBwpWlgOqM4509QgrZBlG+3kSx+ f0J70vOAWnuOaK0JIUoowaOd7i/X91hyzQvOI65ylW81EhILwHrH0ry7So5PNJSm3Wui 7Uyqpd8qek4Jny7pD0BNQqnKEewzn0O2Ue/YPshyRj+WzyuZR9vulMqNvEdAd5sIX7J4 7e+Q== X-Received: by 10.55.33.35 with SMTP id h35mr10385370qkh.71.1443803909341; Fri, 02 Oct 2015 09:38:29 -0700 (PDT) Received: from foobar.home (pool-71-163-182-126.washdc.fios.verizon.net. [71.163.182.126]) by smtp.googlemail.com with ESMTPSA id o100sm4965084qkh.28.2015.10.02.09.38.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 09:38:28 -0700 (PDT) Message-ID: <1443803908.3494.44.camel@gmail.com> From: "Charles (Chas) Williams" <3chas3@gmail.com> To: Bruce Richardson Date: Fri, 02 Oct 2015 12:38:28 -0400 In-Reply-To: <20151002151800.GA21380@bricha3-MOBL3> References: <1443798007-20122-1-git-send-email-3chas3@gmail.com> <20151002151800.GA21380@bricha3-MOBL3> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] devargs: add blacklisting by linux interface name 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, 02 Oct 2015 16:38:30 -0000 On Fri, 2015-10-02 at 16:18 +0100, Bruce Richardson wrote: > On Fri, Oct 02, 2015 at 11:00:07AM -0400, Chas Williams wrote: > > If a system is using deterministic interface names, it may be easier in > > some cases to use the interface name to blacklist an interface. > > > > Is it possible to do this using the existing arguments, i.e. have the -b flag > detect if it's a pci address or name automatically, rather than having to use > a separate command-line arg for it? You might be able to distinguish names by context. I doubt interface names ever look like PCI addresses. But that's going to be a bigger change since -b will need to be updated to 'blacklist' intead of 'pci-blacklist' to prevent confusion. Or do you just want to overload '-b' and keep both long options?