From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] examples/performance-thread: fix size of destination port ids in l3fwd-thread Date: Wed, 08 Jun 2016 22:25:08 +0200 Message-ID: <28208156.QtXOk1bRuG@xps13> References: <1461163527-7348-1-git-send-email-tomaszx.kulasek@intel.com> <1461947424-7632-1-git-send-email-tomaszx.kulasek@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, ian.betts@intel.com To: Tomasz Kulasek Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 98AF6B44F for ; Wed, 8 Jun 2016 22:25:10 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id k204so32628913wmk.0 for ; Wed, 08 Jun 2016 13:25:10 -0700 (PDT) In-Reply-To: <1461947424-7632-1-git-send-email-tomaszx.kulasek@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" 2016-04-29 18:30, Tomasz Kulasek: > After extending IPv4 next hop in lpm library, size of dst_port array was > changed from 16 to 32 bits in l3fwd-thread example, without modification > of the rest of path written for 16 bit value. > > This patch uses similar approach for fix, like in commit 8353a36a9b4b > ("examples/l3fwd: fix size of destination port ids"), restoring 16 bit size > for destination port ids and doing necessary conversion from 32 to 16 bit > after lpm_lookupx4. > > Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") > > Signed-off-by: Tomasz Kulasek Applied, thanks