From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] librte_port: fix mbuf allocation in source port and missing Date: Mon, 30 Nov 2015 16:57:59 +0100 Message-ID: <1858212.LEpH0AL6d8@xps13> References: <1448898415-27529-1-git-send-email-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Fan Zhang Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id E3A4469C8 for ; Mon, 30 Nov 2015 16:59:07 +0100 (CET) Received: by wmec201 with SMTP id c201so144716695wme.1 for ; Mon, 30 Nov 2015 07:59:07 -0800 (PST) In-Reply-To: <1448898415-27529-1-git-send-email-roy.fan.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, 2015-11-30 15:46, Fan Zhang: > This patch fixes two issues: > - The allocated mbufs in rte_port_source_rx() are not initialized properly > issue. This issue caused the mbufs not be able to freed back to mempool by > rte_pktmbuf_free(). > - The missed sink port statistics issue. Sink port was not able record the > number of mbufs received/dropped. > > Signed-off-by: Fan Zhang > Acked-by: Cristian Dumitrescu It seems you should send 2 patches. Please use the "Fixes:" keyword to specify the commit introducing the bug. Thanks