Re: [RFC PATCH 00/17] virtual-bus

From: Avi Kivity
Date: Fri Apr 03 2009 - 08:02:24 EST


Herbert Xu wrote:
On Fri, Apr 03, 2009 at 02:54:02PM +0300, Avi Kivity wrote:
It doesn't copy and queue the packet? We use O_NONBLOCK and poll() so we can tell when we can queue without blocking.

Well netif_rx queues the packet, but netif_rx_ni is netif_rx plus
an immediate flush.

But it flushes the tap device, the packet still has to go through the bridge + real interface?

Even if it's queued there, I want to know when the packet is on the wire, not on some random software or hardware queue in the middle.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/