From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id 7D9EB567F for ; Wed, 9 Sep 2015 11:59:35 +0200 (CEST) Received: by wiclk2 with SMTP id lk2so15277776wic.1 for ; Wed, 09 Sep 2015 02:59:35 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Q9oz1bdaaLpk4lS6eOfG2ZRp8yxEiqghVDQuHdzr79g=; b=iwzia0IiGIfcnr/X0dkkNd7DhBJc4seSaDvVrrd8W7bC0v4wwpXPuMNA0WA75ju/jt wnuFj7/eJRFD9isI5sr/QLzpvo0XCBfGzAUDYhkE6edtCA921wXzN3o69bl7ANUwfuAq mf//stv5M8UI8CrMapeBdo5s8tbqNz1ODsrgbMtg8RwxPinLrw3YSv1t6P5ZmFxpUk64 v8QKghbiPnV+WIbN5HTY91xigJXm173zh97viQmHsrsCe9/lB3xE7uzlP6B2acELIg4b n1RWE7SrpGDOUu9rAODG1iNP19HINtWGa0NjlehMBaP/lE1dFoFeatNFkru6oLzw0RqB uEUw== X-Gm-Message-State: ALoCoQm4dBrN/q891pf6d+MYHP19bnlxSO3x8R1BXXuseshEMQKctZWwtO3h/2aVQy7IhsHGmvvW X-Received: by 10.194.91.193 with SMTP id cg1mr48453963wjb.88.1441792775300; Wed, 09 Sep 2015 02:59:35 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id nb10sm2984264wic.11.2015.09.09.02.59.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 02:59:34 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Wed, 09 Sep 2015 11:58:26 +0200 Message-ID: <1701796.JEIoX4b6vx@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1441027803-24765-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1441027803-24765-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] hash: fix wrong size memory calculation 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, 09 Sep 2015 09:59:35 -0000 2015-08-31 14:30, Pablo de Lara: > When calculating the size for the table which allocates > the keys, size was calculated wrongly from multiplying > two 32-bit variables, resulting on a 32-bit number, > before casting to 64-bit, so maximum size was 4G. > > Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") > > Signed-off-by: Pablo de Lara Applied, thanks