From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6CD1D38EB for ; Tue, 27 Sep 2016 23:58:57 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP; 27 Sep 2016 14:58:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,407,1470726000"; d="scan'208";a="13978819" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga005.jf.intel.com with ESMTP; 27 Sep 2016 14:58:54 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX106.ger.corp.intel.com (163.33.3.31) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Sep 2016 22:58:53 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by irsmsx155.ger.corp.intel.com ([169.254.14.133]) with mapi id 14.03.0248.002; Tue, 27 Sep 2016 22:58:53 +0100 From: "De Lara Guarch, Pablo" To: "dev@dpdk.org" CC: "Richardson, Bruce" Thread-Topic: [PATCH] hash: fix ring size Thread-Index: AQHSGFDOyW80gUe75UqGr2/M/yAAH6CN4/Gg Date: Tue, 27 Sep 2016 21:58:52 +0000 Message-ID: References: <1474933909-163038-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1474933909-163038-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGQyOTc5MWQtZjIzZC00NjU0LWFlNDktYzY0MWFkMTJhM2I4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlJvalFDUlBCUEUzb2Vmd3hZc050Q3czRGRVb1wvTTArZHUrNGc4TjZCaEpjPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] hash: fix ring size 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, 27 Sep 2016 21:58:58 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Monday, September 26, 2016 4:52 PM > To: dev@dpdk.org > Cc: Richardson, Bruce; De Lara Guarch, Pablo > Subject: [PATCH] hash: fix ring size >=20 > Ring stores the free slots available to be used in the key table. > The ring size was being increased by 1, because of the dummy slot, > used for key misses, but this is not actually stored in the ring, > so there is no need to increase it. >=20 > Fixes: 5915699153d7 ("hash: fix scaling by reducing contention") >=20 > Signed-off-by: Pablo de Lara Nack. This was already sent in another patchset