From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id D3B00271; Mon, 19 Jun 2017 23:26:18 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7CAA0207FC; Mon, 19 Jun 2017 17:26:18 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 19 Jun 2017 17:26:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=OdvhjYvVc/VkphG 47bvyvk2qSd8Qa2vcZASsTQB2qE0=; b=gQXlPk6nyT1KJCGiiLRaqDvHYc0oRee iS7Rc2+ypgYE7tEEWR6bMaHUdd/jNE9HN2wEQQXCjTwWutIzgkn4fRx7Ry4O2fq9 nmWSflx3ys926/AI0rQG7f/sPT4+bRRNN/cS3e82hJkGKCEe8jtmDIZPwaD3JKyG 72UD+lGB5AhQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=OdvhjYvVc/VkphG47bvyvk2qSd8Qa2vcZASsTQB2qE0=; b=HULqOoi1 M/lAwe0a407wrqeHX1itwj7mFJKSDYxfIYHoEjsIGx6LtohX9ISmiID3EH7x2kCX DxQ/XFyooV4rtguUzWuSZQGQ6g9+wXV1qtKBZzfsryP9ajmme858KaCdRSiBFo6O M4OSo7TB2wtFasD3ZuKify6Rzk7r28ZuiLwcfB6M2mqhYY/NVgOeitD56LGGjRaV lrJ4V4dI4ff8MKXLVD6zOvjrj84s+nyp/b1EodKyyLQzhhABqQ1NpwcZKzKE0bXT ORXcOCOw0Ew8mdPevG2cqI51DZipnxk0BV85tO0VsXsPL3bDMPHOhCgI0CBzC6uX H8+wgXmcbHT/og== X-ME-Sender: X-Sasl-enc: JgtpczVl1Cwri65+5ymEuULeqjUpx1zLQ/LtlnEpnM6X 1497907578 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 37D2A7E545; Mon, 19 Jun 2017 17:26:18 -0400 (EDT) From: Thomas Monjalon To: Wei Dai Cc: dev@dpdk.org, Bruce Richardson , jianwei.ma@intel.com, stable@dpdk.org Date: Mon, 19 Jun 2017 23:26:17 +0200 Message-ID: <2478963.3r9XuQtC00@xps> In-Reply-To: <20170619112517.GA84972@bricha3-MOBL3.ger.corp.intel.com> References: <1497845678-7643-1-git-send-email-wei.dai@intel.com> <20170619112517.GA84972@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] lpm: fix index of tbl8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2017 21:26:19 -0000 19/06/2017 13:25, Bruce Richardson: > On Mon, Jun 19, 2017 at 12:14:38PM +0800, Wei Dai wrote: > > From v20 to v1604, number of tlb8 can be up to 1<<24, > > (uint8_t) or (uint16_t) may truncate the number of > > index of tlb8 in v1604 and cause wrong number. > > > > Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") > > Cc: stable@dpdk.org > > > > Signed-off-by: Wei Dai > > Acked-by: Bruce Richardson Applied, thanks