From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 4D6622C16 for ; Thu, 3 Aug 2017 21:36:49 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E8D72208E2; Thu, 3 Aug 2017 15:36:48 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 03 Aug 2017 15:36:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=0bgyzNhfmeuX9vE dbByDsQf20oVNgRXrBX0FmrieO0U=; b=artGeNmcwnyqN1gEQws4hnImmGLI8gz QNbyv6dEzl5F6CFqwPW0ht21fTM6x9ZKW5eGQAoENi/0eMXnXurIQ5CxIBGszwRs cLmNy5wWU7Tfqj1I3066ITbR45KNzbyVRbVuR0leWlpnM97zkP3Mn65X5U+qU8CI HCeOOoy4xQQU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=0bgyzNhfmeuX9vEdbByDsQf20oVNgRXrBX0FmrieO0U=; b=AUT5+T3x QUQUD0LpZGbYCAxRSiiyp3JbsNr8MOIUr7+4UiAgjfRD3gFednskSzV72hTO9fgJ 3soFz5+E+ybXycGm55xipqov5vSuKk6hMlRPmhafQmd+kMgKQuz79vilzpYV20/n 0eMZzUCxGCl/ST5gKKvQo+zHhZY7rF0eeg2WAUUBy/YlX1vjt1Y4Uvfm/U3Hwedl Te1G/EQRGwHMo03L4KMv4i/xGnUa/WrylWxyf+I05BNcc+0X3CqdRI5VVWAdavO5 dmbZjq5ptzWc+oUmQBk1Vqi8RpboC0rXkgfrykSImbCfeesE989tWijOt2Yb6wFe ka26VcK3jbvp4w== X-ME-Sender: X-Sasl-enc: U8gYdoXv+enb1leVozq+kkKqL1Wsc90BTX30FGa5JjRd 1501789008 Received: from xps.localnet (196.114.118.80.rev.sfr.net [80.118.114.196]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E3DE2456C; Thu, 3 Aug 2017 15:36:48 -0400 (EDT) From: Thomas Monjalon To: Gaetan Rivet Cc: dev@dpdk.org Date: Thu, 03 Aug 2017 21:36:47 +0200 Message-ID: <2003486.SEdAYn8PGO@xps> In-Reply-To: <1da8b8d0c80d7af97ca32c35a0215f99ad2f6666.1501693240.git.gaetan.rivet@6wind.com> References: <1da8b8d0c80d7af97ca32c35a0215f99ad2f6666.1501693240.git.gaetan.rivet@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] devargs: fix policy check in rte_eal_devargs_add X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 19:36:49 -0000 02/08/2017 19:12, Gaetan Rivet: > Do not fail upon detecting a set bus configuration when adding an > rte_devargs. i.e. adding a blacklisted PCI device while the bus is > configured in whitelist mode. > > This failure condition has been introduced when the bus policies > were implemented. This implementation however was meant to strictly > follow the existing API. This check was not and should not be performed > until the current API has been properly deprecated. > > Fixes: 02823c1db0bc ("devargs: parse bus policies") > > Signed-off-by: Gaetan Rivet Adding a precision: The same kind of check is already done when parsing EAL options. Applied, thanks