[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] e1000: multi-buffer packet support
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] Re: [PATCH] e1000: multi-buffer packet support |
Date: |
Thu, 3 Feb 2011 16:38:44 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu, Feb 03, 2011 at 05:38:35PM +0200, Michael S. Tsirkin wrote:
> @@ -654,7 +656,7 @@ e1000_receive(VLANClientState *nc, const uint8_t *buf,
> size_t size)
> size = sizeof(min_buf);
> }
>
> - if (size > s->rxbuf_size) {
> + if (0 && size > s->rxbuf_size) {
> DBGOUT(RX, "packet too large for buffers (%lu > %d)\n",
> (unsigned long)size, s->rxbuf_size);
> return -1;
Please remove completely or enhance this conditional to work in a
multi-buffer world.
Stefan