[dpdk-dev] [PATCH] net/tap: free mempool when closing

2020-07-29 Thread 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. Fixes: 050316a88313 ("net/tap: support TSO (TCP

Re: [dpdk-dev] [PATCH] net/tap: free mempool when closing

2020-08-05 Thread Ferruh Yigit
On 7/29/2020 12:35 PM, wangyunjian wrote: > 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

Re: [dpdk-dev] [PATCH] net/tap: free mempool when closing

2020-08-06 Thread wangyunjian
: [dpdk-dev] [PATCH] net/tap: free mempool when closing > > On 7/29/2020 12:35 PM, wangyunjian wrote: > > 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 fr

Re: [dpdk-dev] [PATCH] net/tap: free mempool when closing

2020-08-06 Thread Ferruh Yigit
lijun (Jerry) >> ; xudingke ; >> sta...@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] net/tap: free mempool when closing >> >> On 7/29/2020 12:35 PM, wangyunjian wrote: >>> From: Yunjian Wang >>> >>> When setup tx queues, we will create a mem

Re: [dpdk-dev] [PATCH] net/tap: free mempool when closing

2020-08-06 Thread wangyunjian
; >> To: wangyunjian ; dev@dpdk.org > >> Cc: keith.wi...@intel.com; ophi...@mellanox.com; Lilijun (Jerry) > >> ; xudingke ; > >> sta...@dpdk.org > >> Subject: Re: [dpdk-dev] [PATCH] net/tap: free mempool when closing > >> > >> On 7/29/2020 12:35 PM,