[dpdk-dev] [PATCH] pci: fix configure device fail issue

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 8 14:58:03 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>


    drivers/net: fix eth device configuration

    Fixes: 22dda618c00c ("pci: separate detaching ethernet ports from
PCI devices")

    Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
    Signed-off-by: Jeff Guo <jia.guo at intel.com>


Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list