1. 22 6月, 2009 2 次提交
  2. 20 6月, 2009 5 次提交
  3. 19 6月, 2009 32 次提交
  4. 18 6月, 2009 1 次提交
    • D
      netxen: fix tx ring accounting · cb2107be
      Dhananjay Phadke 提交于
      This forces every update of tx ring producer to check for
      availability of space for next full TSO command. Earlier
      firmware control commands didn't care to pause tx queue.
      
      Stop the tx queue if there's not enough space to transmit one full
      LSO command left on the tx ring after current transmit. This avoids
      returning NETDEV_TX_BUSY after checking distance between producer
      and consumer on every cpu.
      
      Restart the tx queue only if we have cleaned up enough tx
      descriptors.
      Signed-off-by: NDhananjay Phadke <dhananjay@netxen.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cb2107be