From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 0/3] new API to free consumed buffers in Tx ring Date: Tue, 07 Mar 2017 22:59:32 +0100 Message-ID: <3993050.82YnMD1UIz@xps13> References: <20170123211340.22570-1-bmcfall@redhat.com> <20170127183800.27466-1-bmcfall@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: wenzhuo.lu@intel.com, olivier.matz@6wind.com, dev@dpdk.org To: Billy McFall Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id A64921BBE for ; Tue, 7 Mar 2017 22:59:34 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id v186so100970997wmd.0 for ; Tue, 07 Mar 2017 13:59:34 -0800 (PST) In-Reply-To: <20170127183800.27466-1-bmcfall@redhat.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" 2017-01-27 13:37, Billy McFall: > Add a new API to free consumed buffers on TX ring. This addresses two > scenarios: > 1) Flooding a packet and want to reuse existing mbuf to avoid a packet > copy. Increment the reference count of the packet and poll new API until > reference count is decremented. > 2) Application runs out of mbufs, or resets and is preparing for > additional run, call API to free consumed packets so processing can > continue. Please add an entry in the release notes.