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 5E747A053A; Wed, 5 Aug 2020 15:47:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3BDD12C28; Wed, 5 Aug 2020 15:47:42 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id D52DE2C23; Wed, 5 Aug 2020 15:47:40 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6CADD5C0111; Wed, 5 Aug 2020 09:47:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 05 Aug 2020 09:47:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= R1wn9lWYqv8oAIjM3WDOlKUHbDcw/uFMSP1sSs5Fj5Q=; b=l7MGNFqysKUpKxYG lXkWXlx6WQdijUan4Gdq+ExhTBFAA56pZsJ5phq63kZf2qIUsi7DIE/exFcW9DK8 GOIkoxcemIAwkMTTyIvR5FrqD6hWuCCmthkF3RNkCexhgrDBSnOAQLjsGZ0G0O8Q LNSHP4+icYUH34lnDXw0/AiNpJX98B7Xf0klM2w/diZf3wFZvF2TzfiS/vxaW1Hh JI3ceUqWE19AB6rl/VtqBw9zJCn1m+UWWa9QszrftEY30PxA9d7EGriPS56tRuYx E3bm32Taf1G4HvkE0eoS7ZVTyoPZ5DQ77F1C9ewnPItPXRM3icc8jUn15hidscIY tENzyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=R1wn9lWYqv8oAIjM3WDOlKUHbDcw/uFMSP1sSs5Fj 5Q=; b=oXJRHeW/8nebI+GerTAcM7f5TKlPi2o1KgZVnurWiI1Jfwkkm6rtaRtLO 3wECNBpeX9ZUXOJEWE2TRmUrBnV47+U03/cje69r06FyYPlQzxnkXuKfdlCls90F MWesbOlVfg/zDUJ/w1olkVWfAe9O5u+qPIfX8OGT4ZmHzY1MIKQ5V5669ZbPRsBp BgvlgCW80STMukpq5bycX+7XmST8t3ZdiPE4npjfZS4HrOVlMsRFAHY2sQ/t2shA vH2tg/8X/kro9sctHYdEmdidqk+uEBfzpXqNHUM5pV6eaBTB7XJgIaV4AWFTZU+0 ug0UtkovTQmjudC0Fge7HCUU49+wg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrjeekgdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8E142306005F; Wed, 5 Aug 2020 09:47:36 -0400 (EDT) From: Thomas Monjalon To: wangyunjian Cc: dev@dpdk.org, stable@dpdk.org, keith.wiles@intel.com, ophirmu@mellanox.com, jerry.lilijun@huawei.com, xudingke@huawei.com, Yunjian Wang , stable@dpdk.org Date: Wed, 05 Aug 2020 15:47:34 +0200 Message-ID: <4268011.XMymgrSB0u@thomas> In-Reply-To: <40a0e68ed41b05fba8cbe5f34e369a59a1c0c09c.1596022448.git.wangyunjian@huawei.com> References: <40a0e68ed41b05fba8cbe5f34e369a59a1c0c09c.1596022448.git.wangyunjian@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/tap: free mempool when closing 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" 29/07/2020 13:35, wangyunjian: > From: Yunjian Wang > > When setup tx queues, we will create a mempool for the 'gso_ctx'. > The mempool is not freed when closing tap device. If free the tap > device and create it with different name, it will create a new > mempool. This maybe cause an OOM. While at it, please look at implementing RTE_ETH_DEV_CLOSE_REMOVE behaviour in tap. Thanks