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 10:53:46 +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 mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 69CE9952 for ; Wed, 8 Feb 2017 11:53:48 +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 This is same as Qi's patch: http://dpdk.org/dev/patchwork/patch/20163/ That one is earlier, but missing em driver, so I will use this patch with sign-off from both of you. Please shout if you disagree. Thanks, ferruh