[lkml]   [2009]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCH 00/17] virtual-bus
    Herbert Xu wrote:
    > On Fri, Apr 03, 2009 at 02:46:04PM +0300, Avi Kivity wrote:
    >> The host writes the packet to tap, at which point it is consumed from
    >> its point of view. The host would like to mention that if there was an
    >> API to notify it when the packet was actually consumed, then it would
    >> gladly use it. Bonus points if this involves not copying the packet.
    > We're using write(2) for this, no?


    > That should invoke netif_rx_ni
    > which blocks until the packet is "processed", which usually means
    > that it's placed on the NIC's hardware queue.

    It doesn't copy and queue the packet? We use O_NONBLOCK and poll() so
    we can tell when we can queue without blocking.

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

     \ /
      Last update: 2009-04-03 13:57    [W:0.032 / U:226.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site