From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: mempool deleting and cache_size Date: Wed, 15 Apr 2015 12:24:19 -0700 Message-ID: <20150415122419.767e4048@urahara> References: <552EB8C6.5050906@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Zoltan Kiss Return-path: In-Reply-To: <552EB8C6.5050906-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Wed, 15 Apr 2015 20:15:18 +0100 Zoltan Kiss wrote: > Hi, > > I have two questions regarding mempools: > > - the first is trivial: how do you delete them? Can you? I can't see a > function to do that, and none of the examples are doing such thing. When > exactly it get deleted? You can't delete them. They live in hugepage area and are persistent. Correctly written code looks for them by name and reuses existing pool if it is big enough.