From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=dCTBr1fS4xjrHKUSnu8QSx38+IEroE8TILQCVELmJu4=; b=ZwVlpDjW/h38LK7zXqokhjPHlzXQ6mKHIVWrWyTZJVp0BZTjSTSZfxlZ0nL+oWvxkx 2NM0Wh+IDL8s5k/dzG07gtbBaiLOYik9ozhLJyLnixgngnWj5XzE9+wl6KS1amyUE51i VnM2qrPYE1Ua+QCpiHe+UZDch7fhHu82I+JF7R9sLDKXPu7z4T7hafpqRWm5a7lbRTg/ /BkSxf6tyD0IGzoLXBT/sK2wyJ7DGgCMYg2jmVWLaOB2L6lXCjHvj54ZhVB6g5qVxhs4 HkizUNkKEy9AUpMFZO6aOS15l0Jn4jOuuyDRnttUtC69NlS19FW+HRM13vbQmpUDy2QU QAqg== 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=dCTBr1fS4xjrHKUSnu8QSx38+IEroE8TILQCVELmJu4=; b=HMFxNs52oRffkSmRrMZinLSi+eQ0PCmfWqhAlZK6pAd/7prYE5p5QDhcmQue2/9j4K vXS/ruS3R2xd3Do9C/4adzxHb4Yx0udBP4eimCJjfhCabE6ueQDiecCPw69JE5mGtss8 mq/iqEdZFhBQFMQvyvsKH/tQnB/w0fU4Ocau82v6ikEJgHKBiO4e2A82CTuSBMTeWOTG QoSfHzKj46Dmrj12TiifOoP5StdkhiaM8W17X4CstJrQ3CEP0BOeDTvLra8hVGho9LsM lopZ0FghekzpclDijmVQRGSFXBhBcd2O8EBT5LXOMuor2bCpwxyKj3GUr9m0HShLLSCK S5mw== X-Gm-Message-State: ALoCoQlQGMx9RYUK6OWN93xqAslj4bGp7B/Fl7taYIdJ4fFtFo8RCTEt3t6zr5CmzFTtJtaakxQz6E3wAWpMeZNlvyrJqqRy+A== X-Received: by 10.28.177.10 with SMTP id a10mr17381301wmf.4.1449447594000; Sun, 06 Dec 2015 16:19:54 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id z1sm22522269wje.35.2015.12.06.16.19.53 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Dec 2015 16:19:53 -0800 (PST) From: Thomas Monjalon To: Fan Zhang Date: Mon, 07 Dec 2015 01:18:42 +0100 Message-ID: <2699492.0KOHNtKqbI@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449239336-14507-1-git-send-email-roy.fan.zhang@intel.com> References: <1449239336-14507-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] example/ip_pipeline: fix source port mempool assignment 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, 07 Dec 2015 00:19:54 -0000 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