1. 26 1月, 2016 1 次提交
    • M
      wil6210: handle tx completions only if vring tx data is enabled · 640751ac
      Maya Erez 提交于
      wil_vring_fini_tx is called in disconnect in order to free the
      allocated vrings.
      wil_vring_fini_tx is disabling the vring_tx_data before napi_synchronize
      is called in order to avoid the tx handling of this vring, while
      wil_vring_free is called only after napi finished the current handling
      of the tx completed packets.
      Due to that, in case of disconnect, wil6210_netdev_poll_tx can be called
      when vring->va is not NULL but vring_tx_data[i]->enabled is already
      disabled.
      
      This patch checks vring_tx_data[i]->enabled in wil6210_netdev_poll_tx
      to prevent handling of disabled vrings.
      Signed-off-by: NMaya Erez <qca_merez@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      640751ac
  2. 19 11月, 2015 1 次提交
  3. 06 8月, 2015 2 次提交
  4. 09 6月, 2015 1 次提交
  5. 29 4月, 2015 1 次提交
  6. 13 3月, 2015 1 次提交
  7. 29 1月, 2015 2 次提交
  8. 31 10月, 2014 1 次提交
  9. 03 10月, 2014 1 次提交
  10. 27 9月, 2014 1 次提交
  11. 12 9月, 2014 2 次提交
  12. 26 8月, 2014 2 次提交
  13. 16 7月, 2014 1 次提交
    • T
      net: set name_assign_type in alloc_netdev() · c835a677
      Tom Gundersen 提交于
      Extend alloc_netdev{,_mq{,s}}() to take name_assign_type as argument, and convert
      all users to pass NET_NAME_UNKNOWN.
      
      Coccinelle patch:
      
      @@
      expression sizeof_priv, name, setup, txqs, rxqs, count;
      @@
      
      (
      -alloc_netdev_mqs(sizeof_priv, name, setup, txqs, rxqs)
      +alloc_netdev_mqs(sizeof_priv, name, NET_NAME_UNKNOWN, setup, txqs, rxqs)
      |
      -alloc_netdev_mq(sizeof_priv, name, setup, count)
      +alloc_netdev_mq(sizeof_priv, name, NET_NAME_UNKNOWN, setup, count)
      |
      -alloc_netdev(sizeof_priv, name, setup)
      +alloc_netdev(sizeof_priv, name, NET_NAME_UNKNOWN, setup)
      )
      
      v9: move comments here from the wrong commit
      Signed-off-by: NTom Gundersen <teg@jklm.no>
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c835a677
  14. 30 5月, 2014 1 次提交
  15. 18 3月, 2014 2 次提交
  16. 23 7月, 2013 1 次提交
  17. 23 5月, 2013 1 次提交
    • V
      wil6210: use NAPI · e0287c4a
      Vladimir Kondratiev 提交于
      Introduce NAPI for Rx and Tx completion.
      
      This fixes packet reordering that happens when Rx handled right in
      the IRQ: netif_rx puts packet in 'percpu' queue, then network stack
      fetches packets from 'percpu' queues for processing, with different
      pattern of queue switching. As result, network stack see packets
      in different order. This causes hard to understand TCP throughput
      degradation in about 30min
      
      Complete polling if only one packet was processed - this eliminates
      empty polls that would be otherwise done at the end of each burst
      Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e0287c4a
  18. 14 3月, 2013 1 次提交
  19. 31 1月, 2013 2 次提交
  20. 05 1月, 2013 1 次提交