From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 0/6] mempool: add bucket driver Date: Wed, 25 Apr 2018 01:00:23 +0200 Message-ID: <3270124.pgnYCBJxfz@xps> References: <1511539591-20966-1-git-send-email-arybchenko@solarflare.com> <1523885610-20014-1-git-send-email-arybchenko@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Andrew Rybchenko To: Olivier MATZ Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2A42C4C99 for ; Wed, 25 Apr 2018 01:00:26 +0200 (CEST) In-Reply-To: <1523885610-20014-1-git-send-email-arybchenko@solarflare.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Can we have this patchset in 18.05-rc1? Or is it candidate to rc2? 16/04/2018 15:33, Andrew Rybchenko: > The patch series adds bucket mempool driver which allows to allocate > (both physically and virtually) contiguous blocks of objects and adds > mempool API to do it. It is still capable to provide separate objects, > but it is definitely more heavy-weight than ring/stack drivers. > The driver will be used by the future Solarflare driver enhancements > which allow to utilize physical contiguous blocks in the NIC firmware. > > The target usecase is dequeue in blocks and enqueue separate objects > back (which are collected in buckets to be dequeued). So, the memory > pool with bucket driver is created by an application and provided to > networking PMD receive queue. The choice of bucket driver is done using > rte_eth_dev_pool_ops_supported(). A PMD that relies upon contiguous > block allocation should report the bucket driver as the only supported > and preferred one. [...] > Andrew Rybchenko (1): > doc: advertise bucket mempool driver > > Artem V. Andreev (5): > mempool/bucket: implement bucket mempool manager > mempool: implement abstract mempool info API > mempool: support block dequeue operation > mempool/bucket: implement block dequeue operation > mempool/bucket: do not allow one lcore to grab all buckets