From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=ozo9zXRccmiJ5vKN8nTP4E+ErC/t9VjKKRPw+GRrP/Q=; b=En9zAviG5ZYdJd38KGyzAtNvyUqb/BGowRbMq7FjzQDvSpOUml1V4eLO0wPVFQ7L14 qylXJeANWDAStmtnEg2sjuqXUBb6VyIAIphPubx/k+ZeTarEgePWMvSdy+SiY1/buqRe ZagjZSBYkRdRagXv9cxm3M96S6pWB6GZ0yfsBnhjHpnSONylcOPyoxPpZfvKOGXgEC98 s4X12oZkfkkezKUXF6/rWseXVw+YCx3zJwf1HQ1Eri2UyfPtsxv9n3iCvZExSLHxE2jP wyAXY+hcy3EEFPVCohLQ80oZPMXMFQqRERcOqmcfj5hFpYqPOQ9oUBk1a9nUv44CmMTO +RTA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=ozo9zXRccmiJ5vKN8nTP4E+ErC/t9VjKKRPw+GRrP/Q=; b=C5Vm3BRfMMR3L870vu7YPAC/Qj0Pej+coGa8xGQoU+vYWPVNRoR6Q9XBWUOebec6/Z Jw9/6+IO+kxgUwM9GtDVZ6ZykkpZMeXfOZi0yCtHrBwIbPXGwJbClmwD0QxMLcd3AXiK sDNakzu1zyvIXwZgfPQfWpEWunwMI8sEfmmo72iTBtxeNJvhG0YqtGWkqnu6Gzz5SxRD /1UwlGULOujL5Cx47FcTCV7+GHpQ9HeRiR/aFeJ09A3kymdoA8pQP1/nEh8zcivXR8oQ I5h7uIFPj/31n+MD/0Dz2CEQEoxzTT5kJ62E/yyCoefBTbxDIQj+3UOGQPIC65Uqe8GJ 3ssQ== X-Gm-Message-State: ALyK8tJkeuFFL57lBJfQAZ8AweJnmJyISWG7i/Rg3FuWd9afjRLTRZ+OXMH/q+VqrV9y+T5S X-Received: by 10.194.177.201 with SMTP id cs9mr547240wjc.139.1465417510341; Wed, 08 Jun 2016 13:25:10 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id s10sm3289015wjt.29.2016.06.08.13.25.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Jun 2016 13:25:09 -0700 (PDT) From: Thomas Monjalon To: Tomasz Kulasek Cc: dev@dpdk.org, ian.betts@intel.com Date: Wed, 08 Jun 2016 22:25:08 +0200 Message-ID: <28208156.QtXOk1bRuG@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1461947424-7632-1-git-send-email-tomaszx.kulasek@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples/performance-thread: fix size of destination port ids in l3fwd-thread 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: Wed, 08 Jun 2016 20:25:10 -0000 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