[dpdk-dev] [PATCH] pci: fix configure device fail issue
Ferruh Yigit
ferruh.yigit at intel.com
Wed Feb 8 11:53:46 CET 2017
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 <jia.guo at intel.com>
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
More information about the dev
mailing list