On Sat,  4 Apr 2020 13:15:57 +0300
Vadim Podovinnikov <podovinni...@protei.ru> wrote:
> Signed-off-by: Vadim Podovinnikov <podovinni...@protei.ru>
> ---
>  drivers/net/memif/rte_eth_memif.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/memif/rte_eth_memif.c 
> b/drivers/net/memif/rte_eth_memif.c
> index 81d71c53a..653ffa9b8 100644
> --- a/drivers/net/memif/rte_eth_memif.c
> +++ b/drivers/net/memif/rte_eth_memif.c
> @@ -1510,7 +1510,7 @@ memif_create(struct rte_vdev_device *vdev, enum 
> memif_role_t role,
>       }
>  
>  
> -     eth_dev->data->dev_flags &= RTE_ETH_DEV_CLOSE_REMOVE;
> +     eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
>  
>       rte_eth_dev_probing_finish(eth_dev);
>  

This looks like a bug fix, please add.

Fixes: c41a04958b09 ("net/memif: support multi-process")
Cc: jgraj...@cisco.com

Reply via email to