lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061213113537.6baf410f@dxpl.pdx.osdl.net>
Date:	Wed, 13 Dec 2006 11:35:37 -0800
From:	Stephen Hemminger <shemminger@...l.org>
To:	Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
	Eugene Surovegin <ebs@...home.net>
Subject: Re: [PATCH] add init_dummy_netdev() for napi only dummy intefaces

On Tue, 12 Dec 2006 16:27:38 +1100
Benjamin Herrenschmidt <benh@...nel.crashing.org> wrote:

> This adds an init_dummy_netdev() function that gets a network device
> structure (allocation and lifetime entirely under caller's control) and
> initialize the minimum amount of fields so it can be used to schedule
> NAPI polls without registering a full blown interface. This is to be
> used by drivers that need to tie several hardware interfaces to a single
> NAPI poll scheduler due to HW limitations.
> 
> It also updates the ibm_emac driver to use that instead of doing it's
> own initializations by hand.
> 
> Symbol is exported GPL only a I don't think we want binary drivers doing
> that sort of acrobatics (if we want them at all).
> 
> Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> ---

Could we split off the NAPI context part of network_device instead?
I'll work up something for 2.6.21.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ