Re: [PATCH] add init_dummy_netdev() for napi only dummy intefaces

2006-12-13 Thread Stephen Hemminger
On Tue, 12 Dec 2006 16:27:38 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] 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

Re: [PATCH] add init_dummy_netdev() for napi only dummy intefaces

2006-12-13 Thread Benjamin Herrenschmidt
On Wed, 2006-12-13 at 11:35 -0800, Stephen Hemminger wrote: Could we split off the NAPI context part of network_device instead? I'll work up something for 2.6.21. That would do the trick too... though I prefer not putting my hands in network_device too much myself :-) Ben - To unsubscribe

Re: [PATCH] add init_dummy_netdev() for napi only dummy intefaces

2006-12-13 Thread Stephen Hemminger
On Thu, 14 Dec 2006 07:42:32 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Wed, 2006-12-13 at 11:35 -0800, Stephen Hemminger wrote: Could we split off the NAPI context part of network_device instead? I'll work up something for 2.6.21. That would do the trick too... though I

[PATCH] add init_dummy_netdev() for napi only dummy intefaces

2006-12-11 Thread Benjamin Herrenschmidt
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