[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070721.115428.48807536.davem@davemloft.net>
Date: Sat, 21 Jul 2007 11:54:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rusty@...tcorp.com.au
Cc: netdev@...r.kernel.org, shemminger@...ux-foundation.org,
jgarzik@...ox.com
Subject: Re: [PATCH]: Resurrect napi_poll patch.
From: Rusty Russell <rusty@...tcorp.com.au>
Date: Sat, 21 Jul 2007 18:00:11 +1000
> No, I was just thinking that drivers will put the napi_struct in their
> driver-specific struct (eg. struct e1000_adapter *adapter =
> container_of(container_of(napi, struct e1000_adapter, napi);).
That works.
> Multi-queue drivers will have no use for a napi_struct in net_device,
> right? They'll need some wrapper "my_queue" structure containing the
> napi_struct anyway.
Sure, we can eliminate the napi_struct in struct net_device
eventually.
But then again, like the statistics, if it's convenient to
just use the in-net_device one then why not :)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists