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

2017-02-08 Thread Ferruh Yigit
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. >

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

2017-02-08 Thread Ferruh Yigit
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. >

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

2017-02-08 Thread Jeff Guo
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