From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] pci: fix configure device fail issue Date: Wed, 8 Feb 2017 13:58:03 +0000 Message-ID: References: <1486547416-63712-1-git-send-email-jia.guo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Jeff Guo , helin.zhang@intel.com, jingjing.wu@intel.com Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 6E9C14A65 for ; Wed, 8 Feb 2017 14:58:06 +0100 (CET) In-Reply-To: <1486547416-63712-1-git-send-email-jia.guo@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2/8/2017 9:50 AM, Jeff Guo wrote: > If assign the "data->dev_flags" after run function "rte_eth_copy_pci_info", the > flag would be miss the “RTE_ETH_DEV_INTR_LSC” value, that will result the device > configuration fail, when rte check the flag if device support link state interrupt. > So the assignment must be modified to "|=" to fix the issue. > > Fixes: 22dda618c00c ("pci: separate detaching ethernet ports from PCI devices") > > Signed-off-by: Jeff Guo drivers/net: fix eth device configuration Fixes: 22dda618c00c ("pci: separate detaching ethernet ports from PCI devices") Signed-off-by: Qi Zhang Signed-off-by: Jeff Guo Applied to dpdk-next-net/master, thanks.