[RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread Stephen Hemminger
Fix optimization of netdev_priv() lost by the addition of multiqueue. Only configurations that define MULITQUEUE need the extra overhead in netdevice structure and the loss of the netdev_priv optimization. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/include/linux/netdevice.h 2007

Re: [RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 17 Aug 2007 17:49:09 -0700 > Fix optimization of netdev_priv() lost by the addition of multiqueue. > > Only configurations that define MULITQUEUE need the extra overhead in > netdevice structure and the loss of the netdev_priv optimization. >

Re: [RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread Kok, Auke
David Miller wrote: From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 17 Aug 2007 17:49:09 -0700 Fix optimization of netdev_priv() lost by the addition of multiqueue. Only configurations that define MULITQUEUE need the extra overhead in netdevice structure and the loss of the netdev_priv

Re: [RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread Stephen Hemminger
On Fri, 17 Aug 2007 18:21:25 -0700 "Kok, Auke" <[EMAIL PROTECTED]> wrote: > David Miller wrote: > > From: Stephen Hemminger <[EMAIL PROTECTED]> > > Date: Fri, 17 Aug 2007 17:49:09 -0700 > > > >> Fix optimization of netdev_priv() lost by the addition of multiqueue. > >> > >> Only configurations th

Re: [RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread David Miller
From: "Kok, Auke" <[EMAIL PROTECTED]> Date: Fri, 17 Aug 2007 18:21:25 -0700 > this sounds highly optimistic ("64 queues is enough for everyone"?) > and probably will be quickly outdated by both hardware and demand... As such drivers appear in the tree we can adjust the value. Even the most aggre

Re: [RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 17 Aug 2007 18:28:07 -0700 > Plan C was replacing MULTIQUEUE boolean with a int value 1 ... 256. > All this was a one day "what if" exercise, not really a big churn.. Yes, that's another reasonable approach. - To unsubscribe from this list: s

Re: [RFC] restore netdev_priv optimization (planb)

2007-08-17 Thread Kok, Auke
David Miller wrote: From: "Kok, Auke" <[EMAIL PROTECTED]> Date: Fri, 17 Aug 2007 18:21:25 -0700 this sounds highly optimistic ("64 queues is enough for everyone"?) and probably will be quickly outdated by both hardware and demand... As such drivers appear in the tree we can adjust the value.