From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v7 17/17] eal: change whitelist / blacklist command line doc Date: Sun, 09 Jul 2017 00:25:46 +0200 Message-ID: <2473172.cyN6sLZDen@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Gaetan Rivet Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3B306235 for ; Sun, 9 Jul 2017 00:25:48 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/07/2017 02:04, Gaetan Rivet: > The use of these commands have evolved. > It is now possible to use whitelist and blacklist on any bus. > > Update the source code accordingly. > > Signed-off-by: Gaetan Rivet > Acked-by: John McNamara > --- [...] > --- a/lib/librte_eal/common/eal_options.h > +++ b/lib/librte_eal/common/eal_options.h > @@ -37,10 +37,10 @@ enum { > /* long options mapped to a short option */ > #define OPT_HELP "help" > OPT_HELP_NUM = 'h', > -#define OPT_PCI_BLACKLIST "pci-blacklist" > - OPT_PCI_BLACKLIST_NUM = 'b', > -#define OPT_PCI_WHITELIST "pci-whitelist" > - OPT_PCI_WHITELIST_NUM = 'w', > +#define OPT_BUS_BLACKLIST "bus-blacklist" > + OPT_BUS_BLACKLIST_NUM = 'b', > +#define OPT_BUS_WHITELIST "bus-whitelist" > + OPT_BUS_WHITELIST_NUM = 'w', No, we cannot drop an existing option without a prior notice. Let's discuss what should be the command line syntax and agree on a good and complete deprecation notice. There will be more to change, like making bus explicit.