Re: [dpdk-dev] [PATCH] Fix overwriting of dev_flags in rte_eth_dev after initialization

2017-02-09 Thread Ferruh Yigit
On 2/9/2017 4:40 PM, Ben Walker wrote: > rte_eth_copy_pci_info no longer sets RTE_ETH_DEV_DETACHABLE > as per my previous patch, but it still does initialize > the dev_flags. In a number of cases, a later assignment to > dev_flags to set RTE_ETH_DEV_DETACHABLE was overwriting > the previously initi

[dpdk-dev] [PATCH] Fix overwriting of dev_flags in rte_eth_dev after initialization

2017-02-09 Thread Ben Walker
rte_eth_copy_pci_info no longer sets RTE_ETH_DEV_DETACHABLE as per my previous patch, but it still does initialize the dev_flags. In a number of cases, a later assignment to dev_flags to set RTE_ETH_DEV_DETACHABLE was overwriting the previously initialized value. Pointed out by Michael Larsen. Si