From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] example/ip_pipeline: fix source port mempool assignment Date: Mon, 07 Dec 2015 01:18:42 +0100 Message-ID: <2699492.0KOHNtKqbI@xps13> References: <1449239336-14507-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-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 20DE593B2 for ; Mon, 7 Dec 2015 01:19:54 +0100 (CET) Received: by wmvv187 with SMTP id v187so144132752wmv.1 for ; Sun, 06 Dec 2015 16:19:54 -0800 (PST) In-Reply-To: <1449239336-14507-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" 2015-12-04 14:28, Fan Zhang: > Fixes the wrong source port mempool assignment (commit id eb32fe7c). The > source port is now assigned by parsed mempool id index value either by > default or configured by CFG file. > > Previously, the mempool id for locating source port's mempool pointer was > the port id. When multiple source ports exist in the same pipeline, and > the default mempool configuration is used (one MEMPOOL0 is shared between > all source ports), the invalid mempool pointer (NULL) will be assigned to > source ports other than first source port. > > Signed-off-by: Fan Zhang > Acked-by: Cristian Dumitrescu Applied, thanks