Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932657AbWLNUBj (ORCPT ); Thu, 14 Dec 2006 15:01:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932637AbWLNUBj (ORCPT ); Thu, 14 Dec 2006 15:01:39 -0500 Received: from gate.crashing.org ([63.228.1.57]:34330 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932509AbWLNUBi (ORCPT ); Thu, 14 Dec 2006 15:01:38 -0500 Subject: Re: [RFC] split NAPI from network device. From: Benjamin Herrenschmidt To: Stephen Hemminger Cc: "David S. Miller" , netdev@vger.kernel.org, Eugene Surovegin , linux-kernel@vger.kernel.org In-Reply-To: <20061213154635.1f284bf6@dxpl.pdx.osdl.net> References: <1165901258.11914.32.camel@localhost.localdomain> <20061213113537.6baf410f@dxpl.pdx.osdl.net> <1166042552.11914.188.camel@localhost.localdomain> <20061213154635.1f284bf6@dxpl.pdx.osdl.net> Content-Type: text/plain Date: Fri, 15 Dec 2006 07:01:23 +1100 Message-Id: <1166126484.31351.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 894 Lines: 28 On Wed, 2006-12-13 at 15:46 -0800, Stephen Hemminger wrote: > Split off NAPI part from network device, this patch is build tested > only! It breaks kernel API for network devices, and only three examples > are fixed (skge, sky2, and tg3). > > 1. Decomposition allows different NAPI <-> network device > Some hardware has N devices for one IRQ, others like MSI-X > want multiple receive's for one device. > > 2. Cleanup locking with netpoll > > 3. Change poll callback arguements and semantics > > 4. Make softnet_data static (only in dev.c) Thanks ! I'll give a go at adapting emac and maybe a few more when I get 5mn to spare... Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/