From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=4MQN3kKcGctb2E1n9wyBIwnl3SON0tFJ5GCn2K1FyKE=; b=fmieAJ0QBrAlHdHFUwtIxpZ5Q2gm/7md7DzI088qymMMnr+wy7BFlNMtiYoMFBhrVs BeAiXBLRW0dMgulWRmRegaPPtGwiVewpAz+X55SWGYEU2Q761VTevtslt0DPq3+tUz/y oXFarzWd2y0J1hBznNCQUPcmZbqwn2DyyTYSX1K8Tvv3U5gcmrCrp2HypXLN3A09Q6Kt dKA9zMFnOOGuioFUj/0CNg4SWK1D9gPAkGz3oQMQR7wPt4Ow3QMSG+4eTHiWgQ2FO656 eWWAqilVRV6dJLX3LFYORjISV7wnNlXoQujEOKNI8KPOkFCrea8w+gbSDwQocWYi/xav aJwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=4MQN3kKcGctb2E1n9wyBIwnl3SON0tFJ5GCn2K1FyKE=; b=GQ5c+k4L9tO510OBns4CTJZQVxzmlWPDkRk8Kbu6b1fAvdHwiZynaNGDrJFG+ULqXV yJv5Ay+o2L9VXe+S/LEE+HsOMvFghYTCrc9akNWwZ5NQr0SZLfDp8M776ebOp/co2lJ9 zN1HI+u5xFF/NmRi/7IOYotB5QNvAazAb1iSIcwvMluQX7UnMM+TIkHC5o7mzOTlWU1W ISKfOpkhQJQQoTOxn30twm+WjkTOSHPUQPj8rbSKcHUloyEVxHFAOBa7cSuaaV0/zNBu Ta6+mtaNIYCrQRyy+GtcQ6m9W4PcaIdl64MGAUw3Upn0AnBQL1ZXJDXRQpBvnJR2Ecav hy1g== X-Gm-Message-State: ALoCoQleD1Y6gW/0Ji1I4fYi1S7NhRZmGMFPLAFzlJ3zWH1ApvBfPJvgzlcK0Kb9GdbmryftDxZU X-Received: by 10.28.234.200 with SMTP id g69mr27765353wmi.97.1448899147573; Mon, 30 Nov 2015 07:59:07 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id c13sm21800969wmd.14.2015.11.30.07.59.06 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 07:59:06 -0800 (PST) From: Thomas Monjalon To: Fan Zhang Date: Mon, 30 Nov 2015 16:57:59 +0100 Message-ID: <1858212.LEpH0AL6d8@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1448898415-27529-1-git-send-email-roy.fan.zhang@intel.com> References: <1448898415-27529-1-git-send-email-roy.fan.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] librte_port: fix mbuf allocation in source port and missing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 15:59:08 -0000 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