From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=qDltHVJQHKKxOy88GTIqe6LihuCSiNlSel4WBn1G1xc=; b=QXQjPB3MdW2YVSZLnUP9r00MTbQnqbUQJb0lGNwbVPkiZjGhLvujfo4qFY2TL4YWO/ 9hP0FRX9ZiikuyAgJZj4yzC9OH2hQNVrpGUWh7vHWHbN8yfm+TJCGOecQwnAWkHwdKKE NT/Fzu+bFsLCXDmc7WSxvvBQDjn22R6OMAZlB5hcVcq5B44ZbqskS265FHVq3PkF1U2Y PBc2x1qfwn58OX/JIa5yzRgJJUwFBr15bMfLXBLF13y3qCmsWuYIj33yM0IoELuPb10U h5ZtDeem3Ysi+h+R436V62CtmKun4LDA9Ixy/UpCO0yvms6mXiRY/COeIFVO64jF2ZoM Imow== 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=qDltHVJQHKKxOy88GTIqe6LihuCSiNlSel4WBn1G1xc=; b=NaIdUh/TcDMUO3QpHouBkFuLJjTl+0iqG/XtHCPKpK1+Ghr9Idpj82cVbhxJbFPjNR Z4wtnkcVDCwTYjOh08JTpKkBBSVrFIcqaACgnZ30Ez5ov2h0t18v+EmxhJhfspVpYCsd 85GUpRcftE9esI0gY6NZtJvcj+2OO8bDkC5amFkl5rA9m3x2gq3w3RaZuzRHjhUj2KoW dFCZbSOOLZmTsma7X8PT9rBcZvKX4K2hKYBCDWuo0n05IRDiNjDb1ugTAdP9CSoODgij AzSh456jLZpW1qzAcOui10k5w6QtPkE/eefRZSl6/CrpPjcyhqS+zKbpXku+98mRbyx3 En8Q== X-Gm-Message-State: ALyK8tKJDuMiZpXbMBDpCXj4GweMmIxdeRII89qJMO2rB6+HLeMR52yUKoSMxKkU+jxVjrx8 X-Received: by 10.28.236.73 with SMTP id k70mr4856001wmh.65.1466541804352; Tue, 21 Jun 2016 13:43:24 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id v200sm4590797wmv.4.2016.06.21.13.43.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Jun 2016 13:43:22 -0700 (PDT) From: Thomas Monjalon To: Michal Kobylinski Cc: dev@dpdk.org, cristian.dumitrescu@intel.com Date: Tue, 21 Jun 2016 22:43:21 +0200 Message-ID: <146675818.KmKcgPuTAd@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1466515210-8212-1-git-send-email-michalx.kobylinski@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] lib/table: fix wrong type of nht field 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: Tue, 21 Jun 2016 20:43:25 -0000 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