Re: [PATCH] pcnet32: only allocate init_block dma consistent

2007-03-06 Thread Don Fry
The change to use netdev_priv can only be done After moving the init block out of the private structure. It will break the driver if done first, which is why they were sent together. I will separate the changes and resend them. On Tue, Mar 06, 2007 at 06:13:14AM -0500, Jeff Garzik wrote: > Don F

Re: [PATCH] pcnet32: only allocate init_block dma consistent

2007-03-06 Thread Jeff Garzik
Don Fry wrote: The patch below moves the init_block out of the private struct and only allocates init block with pci_alloc_consistent. This has two effects: 1. Performance increase for non cache coherent machines, because the CPU only data in the private struct are now cached 2. locks are w

[PATCH] pcnet32: only allocate init_block dma consistent

2007-03-05 Thread Don Fry
The patch below moves the init_block out of the private struct and only allocates init block with pci_alloc_consistent. This has two effects: 1. Performance increase for non cache coherent machines, because the CPU only data in the private struct are now cached 2. locks are working now for pl