From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=lDJbmSlpjhEdDs1wyBYpTS7LGgdlRYmFASu7YWahA7Y=; b=eeDXNbDQ0wcPAs8iBKQsetwA5Pnyc+mWt7kipuwuJdk/NB3SAYVefnkuB7DAm/iwol XT0nrfok6vn7rSQ8YEqPQbvBFRCyNx6NKihawcO3QHf4XTFM7oVjPjuVaIiTd/0hAS3y /gXLCFff9ag99SrIcd5y4QVpcT0VFMy9g2t6AvuSazZdiNbUZIZLKfFTNsfEHV/sBojv m06fHCnX3Q3hficvATa0B784+HmzwpTs9BUevI4i5vflpnu3UzG3HYIZW+6ivGQgLKWC Tjy7SiPwR/UgIj1mF9tZTquqwwnGB0Gr4LD59rHImHvlRtuAt4pEIY2kTL/Ir8iQQy5/ vAdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=lDJbmSlpjhEdDs1wyBYpTS7LGgdlRYmFASu7YWahA7Y=; b=GG4hPDbhPozfqVhKG2R1DH15cDCBK9tFiG3EFqwtw/drlgJNW+35mjE1B4/iwIgvma ZhWLWYS5zudaMhG6boSmy+OuyP2Oe797C0hYOi+3AaGiq36lx43P/C2fJ+GKUDvjm8n0 eEuBSmGdii+qKES49kWPYhqI5w+IymWmJWOq5eOYb2mCQw2KRxyVc43yJiHQBWrL5dlA f64LaKshi3kveMHjb50cDB8BxDjoMnFQmDAGVQtKgdqIFygzVmUTId5Es/hL2949f5pP +6z+JMNhkeg3NmupjFhRWSMAZaIOGkTRH14eHu8leKi95BkAiLWnvSnmVt3rNHKOcQFM r3Zw== X-Gm-Message-State: AMke39kAQBz1u6CjgWoI5YvisFzdGtQzzUtq7GGuOeKHFUwLM6pVdIm8aSIDrgaMdjed1wbF X-Received: by 10.28.20.70 with SMTP id 67mr12535098wmu.86.1488923974444; Tue, 07 Mar 2017 13:59:34 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 127sm2108154wmt.20.2017.03.07.13.59.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 13:59:33 -0800 (PST) From: Thomas Monjalon To: Billy McFall Cc: wenzhuo.lu@intel.com, olivier.matz@6wind.com, dev@dpdk.org Date: Tue, 07 Mar 2017 22:59:32 +0100 Message-ID: <3993050.82YnMD1UIz@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170127183800.27466-1-bmcfall@redhat.com> References: <20170123211340.22570-1-bmcfall@redhat.com> <20170127183800.27466-1-bmcfall@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 0/3] new API to free consumed buffers in Tx ring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2017 21:59:34 -0000 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.