[lkml]   [2012]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [PATCH 1/1] net/hyperv: Fix the code handling tx busy
    On Mon, 2012-03-19 at 17:50 +0000, Haiyang Zhang wrote:

    > As in my previous reply to Eric --
    > We actually stop queue when the ring buffer is busy, see the code in netvsc.c
    > I have tested with one CPU. After NETDEV_TX_BUSY is returned, the Linux guest OS
    > continues to respond without any problem.

    Then something is wrong somewhere.

    Dont hide a bug adding a trick.

    If you ever return NETDEV_TX_BUSY from start_xmit(), then you MUST call
    netif_tx_stop_queue() as well right before.

    I believe I already told this before...

     \ /
      Last update: 2012-03-19 19:33    [W:0.020 / U:3.412 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site