From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zoltan Kiss Subject: mempool deleting and cache_size Date: Wed, 15 Apr 2015 20:15:18 +0100 Message-ID: <552EB8C6.5050906@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: 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" 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? - during creation, cache_size have one requirement: it has to be smaller than RTE_MEMPOOL_CACHE_MAX_SIZE. And one recommendation: "n modulo cache_size == 0". Is there any more guideline to determine that number? E.g. now I'm using the biggest number which fits the above two conditions. Regards, Zoltan