[dpdk-dev] [PATCH] Fix overwriting of dev_flags in rte_eth_dev after initialization
Ferruh Yigit
ferruh.yigit at intel.com
Thu Feb 9 18:37:41 CET 2017
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 initialized value.
>
> Pointed out by Michael Larsen.
>
> Signed-off-by: Ben Walker <benjamin.walker at intel.com>
Thanks Ben,
A patch already sent for this:
http://dpdk.org/dev/patchwork/patch/20248/
(indeed two: http://dpdk.org/dev/patchwork/patch/20163/)
and applied to next-net:
http://dpdk.org/browse/next/dpdk-next-net/commit/?id=ae94e2a23b5
Thanks,
ferruh
More information about the dev
mailing list