From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] lib/table: fix wrong type of nht field Date: Tue, 21 Jun 2016 22:43:21 +0200 Message-ID: <146675818.KmKcgPuTAd@xps13> References: <1466512066-8130-1-git-send-email-michalx.kobylinski@intel.com> <1466515210-8212-1-git-send-email-michalx.kobylinski@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, cristian.dumitrescu@intel.com To: Michal Kobylinski Return-path: Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by dpdk.org (Postfix) with ESMTP id 38BFD961C for ; Tue, 21 Jun 2016 22:43:25 +0200 (CEST) Received: by mail-lf0-f44.google.com with SMTP id h129so42773465lfh.1 for ; Tue, 21 Jun 2016 13:43:25 -0700 (PDT) In-Reply-To: <1466515210-8212-1-git-send-email-michalx.kobylinski@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-06-21 15:20, Michal Kobylinski: > Change type of nht field from uint32_t to uint8_t and increase max of > next hops. > > nht_entry and nht should be declared as uint8_t because > entry_size is in bytes and is given as a parameter to compute > the position in nht array. > > Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") > > Signed-off-by: Michal Kobylinski > Acked-by: Cristian Dumitrescu Applied, thanks