Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966149Ab3E2NKF (ORCPT ); Wed, 29 May 2013 09:10:05 -0400 Received: from mx0.aculab.com ([213.249.233.131]:35491 "HELO mx0.aculab.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S965945Ab3E2NKB (ORCPT ); Wed, 29 May 2013 09:10:01 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Subject: RE: [PATCH v6 net-next 1/5] net: add napi_id and hash Date: Wed, 29 May 2013 14:09:10 +0100 Message-ID: In-Reply-To: <1369832201.5109.8.camel@edumazet-glaptop> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v6 net-next 1/5] net: add napi_id and hash Thread-Index: Ac5cbBknTjTZktxGSz2U1e45Dwt3JwAAQHVg References: <20130529063916.27486.3841.stgit@ladj378.jer.intel.com> <20130529063925.27486.46649.stgit@ladj378.jer.intel.com> <1369832201.5109.8.camel@edumazet-glaptop> From: "David Laight" To: "Eric Dumazet" , "Eliezer Tamir" Cc: "David Miller" , , , "Jesse Brandeburg" , "Don Skidmore" , , "Willem de Bruijn" , "Andi Kleen" , "HPA" , "Eilon Greenstien" , "Or Gerlitz" , "Alex Rosenbaum" , "Eliezer Tamir" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r4TDAEJp009390 Content-Length: 336 Lines: 8 > > Adds a napi_id and a hashing mechanism to lookup a napi by id. Is this one of the places where the 'id' can be selected so that the 'hash' lookup never collides? David ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?