23 messages in com.xensource.lists.xen-devel[Xen-devel] Re: [7/11] [NET] back: Ad...| From | Sent On | Attachments |
|---|---|---|
| Herbert Xu | 07 Jul 2006 07:16 | |
| Herbert Xu | 07 Jul 2006 07:16 | |
| Herbert Xu | 07 Jul 2006 07:17 | |
| Herbert Xu | 07 Jul 2006 07:17 | |
| Herbert Xu | 07 Jul 2006 07:18 | |
| Herbert Xu | 07 Jul 2006 07:18 | |
| Herbert Xu | 07 Jul 2006 07:19 | |
| Herbert Xu | 07 Jul 2006 07:19 | |
| Herbert Xu | 07 Jul 2006 07:20 | |
| Herbert Xu | 07 Jul 2006 07:20 | |
| Herbert Xu | 07 Jul 2006 07:21 | |
| Herbert Xu | 07 Jul 2006 07:21 | |
| Keir Fraser | 27 Jul 2006 05:49 | |
| Keir Fraser | 27 Jul 2006 06:10 | |
| Herbert Xu | 27 Jul 2006 06:12 | |
| Keir Fraser | 27 Jul 2006 06:15 | |
| Herbert Xu | 27 Jul 2006 06:23 | |
| Keir Fraser | 27 Jul 2006 06:28 | |
| Herbert Xu | 27 Jul 2006 06:30 | |
| Keir Fraser | 27 Jul 2006 06:32 | |
| Keir Fraser | 27 Jul 2006 06:34 | |
| Herbert Xu | 28 Jul 2006 01:05 | |
| Herbert Xu | 28 Jul 2006 01:06 |
| Subject: | [Xen-devel] Re: [7/11] [NET] back: Added tx queue![]() |
|---|---|
| From: | Herbert Xu (herb...@gondor.apana.org.au) |
| Date: | 07/27/2006 06:23:23 AM |
| List: | com.xensource.lists.xen-devel |
On Thu, Jul 27, 2006 at 02:15:29PM +0100, Keir Fraser wrote:
What's the default queue size? It shouldn't be too large if each packet can be 64kB!
The default is 1000. If 64MB is too much for each domain, then how about 100?
Also, what does NETIF_F_LLTX have to do with whether we have a queue or not -- couldn't we set that all the time? And you set queue length to 1
Sorry, should've add a comment about that. NETIF_F_LLTX is just an unused bit from the features set to indicate the fact that queueing is supported. I suppose I could add a new flag too.
in the other case -- what's wrong with zero? Seems a saner value when there is no queue: or do we need to commit to having *some* queue at register_netdevice() time, and there's no way to go back from that by the time we find out if netfront supports rx refill notifications (so at that point we cannot change queue len to zero)?
Exactly. Once we've committed to having a queue, setting the queue length to zero will cause all packets to be dropped. I even added a comment about that :)
Cheers,
-- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
_______________________________________________ Xen-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-devel




