From: Rusty Russell <[EMAIL PROTECTED]>
Date: Sun, 22 Jul 2007 12:39:32 +1000

> But if netdev -> driver_private can be optimized, so can driver_private
> -> netdev.  We just don't have a wrapper for it.  netdev_of() perhaps?
> 
> (If it can't be implemented by ptr arith, we have to do some allocation
> tricks to hide the dev ptr before driver_private, but it's still
> implementable).
> 
> Perhaps we should do this anyway: it's another "every driver wants it"
> kind of deal AFAICT...

Color me convinced :-)

Ok, I'll put the napi_struct info the driver private and respin
the patch.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to