From: David Miller Subject: Re: [PATCH v2 net-next 0/5] rhashtable: New features in walk and bucket Date: Tue, 05 Dec 2017 14:47:58 -0500 (EST) Message-ID: <20171205.144758.229053819644783992.davem@davemloft.net> References: <20171204183145.3277-1-tom@quantonium.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, herbert@gondor.apana.org.au, rohit@quantonium.net To: tom@quantonium.net Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:39446 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751453AbdLETr7 (ORCPT ); Tue, 5 Dec 2017 14:47:59 -0500 In-Reply-To: <20171204183145.3277-1-tom@quantonium.net> Sender: netdev-owner@vger.kernel.org List-ID: From: Tom Herbert Date: Mon, 4 Dec 2017 10:31:40 -0800 > This patch contains some changes to related rhashtable: > > - Above allow rhashtable_walk_start to return void > - Add a functon to peek at the next entry during a walk > - Abstract out function to compute a has for a table > - A library function to alloc a spinlocks bucket array > - Call the above function for rhashtable locks allocation > > Tested: Exercised using various operations on an ILA xlat > table. > > v2: > - Apply feedback from Herbert. Don't change semantics of resize > event reporting and -EAGAIN, just simplify API for callers that > ignore those. > - Add end_of_table in iter to reliably tell when the iterator has > reached to the eno. I'll allow Herbert time to think about this some more as he requested in comments against the first version of this series. Thanks.