Re: Mapping net_device to pci_dev

2005-07-06 Thread Stephen Hemminger
On Wed, 6 Jul 2005 19:37:21 +0200 Andi Kleen <[EMAIL PROTECTED]> wrote: > Hallo, > > I did a recent patch to make PCI driver ->probe run on the local node > of a PCI device. This gives better NUMA locality. One problem is that > most network drivers do a lot of initialization and memory allocatio

Re: Mapping net_device to pci_dev

2005-07-06 Thread David S. Miller
From: Andi Kleen <[EMAIL PROTECTED]> Date: Wed, 6 Jul 2005 19:37:21 +0200 > I would prefer a way that does not require driver patching. You're going to have to hack the drivers to do this, I think. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [E

Re: Mapping net_device to pci_dev

2005-07-06 Thread Francois Romieu
Andi Kleen <[EMAIL PROTECTED]> : [...] > I would prefer a way that does not require driver patching. Why ? You need a link which is not available (assuming one refuses to play ugly games with SET_NETDEV_DEV or bus_info/pci_name). Please make it explicit and save everybody's pain. Imho it is not a

Mapping net_device to pci_dev

2005-07-06 Thread Andi Kleen
Hallo, I did a recent patch to make PCI driver ->probe run on the local node of a PCI device. This gives better NUMA locality. One problem is that most network drivers do a lot of initialization and memory allocation not in ->probe, but in ->open. One way to fix them would be to do the same net/co