From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id A60E8E07 for ; Mon, 30 Apr 2018 15:46:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 387A0226B9; Mon, 30 Apr 2018 09:46:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 30 Apr 2018 09:46:31 -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; s=mesmtp; bh=bgzV1VfwInLfUf1qnb7PqbCe6l zDIKa9LonKeuqzNWI=; b=igAoUwzwkHFMhF7iDwxBFDA5gVD5IIqdFvx7ISvtRn k9W1dMMZWi2ppXqlhUc7uAuiHF3D/D1rfofDRVX2154O5VSqV3xaYfRW0t30kO98 vF10wRiK4vnYSs9TAn7300St0+Vb3t5hXerNyy1gUAzF0DUpG0M+HBHake00kfjl U= 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; s=fm2; bh=bgzV1V fwInLfUf1qnb7PqbCe6lzDIKa9LonKeuqzNWI=; b=P1heNFOokVm66Os0QFk68V aPWobc5xc/BMF5+dIXMnIsEw5C95gjxrJ4NEGWhCvTiTrKBuavlJQ/zWOGvQAT4O ++r9gMuchcZ11yZFOP0IMpYeCW2779wP9So059e7K73Q7dZ4UT/0hZe3qxbmhmjF 64oZhOBMW6VoOMtV/f3lJtVz01v/E7ABcrkJetySmZyH1XvkSLvpLyQrKpOP/7BV Hn7UMb7G4tZTV9sePxde2AORXyWXj2QRRND99d6PnHa3aUQ04sZLxqFOUR1PDGss o74iOIAUyq53XcFpFi0BGv+s9t29hPF6AFokHh+tbFKBl6W3cpYuFINX5ZPsADQg == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B14D3E49E9; Mon, 30 Apr 2018 09:46:30 -0400 (EDT) From: Thomas Monjalon To: Bernard Iremonger Cc: dev@dpdk.org Date: Mon, 30 Apr 2018 15:46:29 +0200 Message-ID: <1801703.G79cjgYBbP@xps> In-Reply-To: <1525095834-10386-1-git-send-email-bernard.iremonger@intel.com> References: <1525095834-10386-1-git-send-email-bernard.iremonger@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/flow_classify: fix failure in port_init function 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: Mon, 30 Apr 2018 13:46:31 -0000 30/04/2018 15:43, Bernard Iremonger: > The port_init function calls the rte_eth_dev_is_valid_port function. > This function now returns 1 if the port state is attached. > A return value of 1 now means a valid port. > > Fixes: a9dbe1802226 ("fix ethdev port id validation") > Signed-off-by: Bernard Iremonger My mistake. Applied, thanks