From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D100EA0562; Sat, 4 Apr 2020 23:48:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2B9C62BEA; Sat, 4 Apr 2020 23:48:14 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id C555CF12 for ; Sat, 4 Apr 2020 23:48:11 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id c20so5517277pfi.7 for ; Sat, 04 Apr 2020 14:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7ffSDZdRCAKlu5r53ZHzTJ2bxv08qPOT2oGLHJZKnwo=; b=Xsr9ggENgAVfMzwf8h991nqP6eVwEsSQyg/UPbZx2BLtugj7Ed0lbhyXfR5sUJYW/0 K00o0bKRUWGklYihfHKxRJaEGy58nvI0Yo8aGi06nkM73CwEYlgIk5iG0AY2FCzlwKBE Hd3e4i1LvHoYAFQgXZ1UZ1LWKJPTa60SQA12T9YMc4pFgx4yBqxdnhwPiji9+18nHzuB wcDYITqCDTjPojrZan4ppmx6vJVCMQWRim0+Xvpn13upm+3o7I37fL3PdY/UxL4sSm1X 8QUt41i24OdHipPVnPZBX3eV1zBq3XuNQv0zt+fyojXETHfwdRzia4WajWOXsuEp7sag XCOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7ffSDZdRCAKlu5r53ZHzTJ2bxv08qPOT2oGLHJZKnwo=; b=sruIbFtClmUg2xyYykzTvvtJYVgG5yCFDo19E1jJK3US5X/V3KvloPeSin9rFn2OLG dK7FLnr5oWq3GfcKAVpa6GSoGWWbJmxMPZYi2Ybromx0CszJSW1n7AUdBE/7zs0wVvr1 0WIr4E4O6aisa/2Lz8sBEFXPDq0x1IC+ujS82TEFKgFFvbL3+X2YvO80uOQ3TwAczubU ABZn2IdmGKigKO/XOJYVyBWzR8e7mLMzx/VZuHz70vfyTckoVvCj3xFephhMHyyPOos/ EZPl9eprXnjtZZ5KF7l4nQTwzG2iy7I0w8MFEfh8miR9qy4lnnxqSqc2vzTILeXEs4vl YYWw== X-Gm-Message-State: AGi0PuYs/FCSs+xS6sWcfYEkyJcpjJoqoGZlDTGhHNbnTz4u5NLUX6fz kKcrIvqEVeZEQgPA1A3hMwKMeENmeMc7pQ== X-Google-Smtp-Source: APiQypIHyrXZ/i8IQIzgafNFGcG94oK0V5SHgPE8NBCTku4criCcOzFF28Co+JcnfoASm0jAJfqU4A== X-Received: by 2002:a63:2014:: with SMTP id g20mr13507539pgg.180.1586036890694; Sat, 04 Apr 2020 14:48:10 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 1sm8792820pjc.32.2020.04.04.14.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Apr 2020 14:48:10 -0700 (PDT) Date: Sat, 4 Apr 2020 14:48:02 -0700 From: Stephen Hemminger To: Vadim Podovinnikov Cc: dev@dpdk.org Message-ID: <20200404144802.48c98083@hermes.lan> In-Reply-To: <20200404101557.27567-2-podovinnikov@protei.ru> References: <20200404101557.27567-1-podovinnikov@protei.ru> <20200404101557.27567-2-podovinnikov@protei.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] fix memif does not free resources X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, 4 Apr 2020 13:15:57 +0300 Vadim Podovinnikov wrote: > Signed-off-by: Vadim Podovinnikov > --- > 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: jgrajcia@cisco.com