1. 13 2月, 2012 1 次提交
    • S
      be2net: event queue re-design · 10ef9ab4
      Sathya Perla 提交于
      v2: Fixed up the bad typecasting pointed out by David...
      
      In the current design 8 TXQs are serviced by 1 EQ, while each RSS queue
      is serviced by a separate EQ. This is being changed as follows:
      
      - Upto 8 EQs will be used (based on the availabilty of msix vectors).
      Each EQ will handle 1 RSS and 1 TX ring. The default non-RSS RX queue and
      MCC queue are handled by the last EQ.
      
      - On cards which provide support, upto 8 RSS rings will be used, instead
      of the current limit of 4.
      
      The new design allows spreading the TX multi-queue completion processing
      across multiple CPUs unlike the previous design.
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10ef9ab4
  2. 02 2月, 2012 1 次提交
  3. 27 1月, 2012 1 次提交
    • E
      be2net: allocate more headroom in incoming skbs · bb349bb4
      Eric Dumazet 提交于
      Allocation of 64 bytes in skb headroom is not enough if we have to pull
      ethernet + ipv6 + tcp headers, and/or extra tunneling header.
      
      Its currently not noticed because netdev_alloc_skb_ip_align(64) give us
      more room, thanks to power-of-two kmalloc() roundups.
      
      Make sure we ask for 128 bytes so that side effects of upcoming patches
      from Ian Campbell dont decrease benet rx performance, because of extra
      skb head reallocations.
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Cc: Ian Campbell <Ian.Campbell@citrix.com>
      Cc: Vasundhara Volam <vasundhara.volam@emulex.com>
      Cc: Sathya Perla <sathya.perla@emulex.com>
      Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bb349bb4
  4. 31 12月, 2011 1 次提交
  5. 17 12月, 2011 1 次提交
  6. 14 12月, 2011 1 次提交
  7. 13 11月, 2011 2 次提交
  8. 04 10月, 2011 2 次提交
  9. 25 8月, 2011 2 次提交
  10. 11 8月, 2011 1 次提交
  11. 03 8月, 2011 3 次提交
  12. 01 8月, 2011 2 次提交
    • S
      be2net: use stats-sync to read/write 64-bit stats · ab1594e9
      Sathya Perla 提交于
      64-bit stats in be2net are written/read as follows using the stats-sync
      interface for safe access in 32-bit archs:
      
      64-bit 		sync			writer			reader
      stats
      ------------------------------------------------------------------------------
      tx_stats	tx_stats->sync		be_xmit			be_get_stats64,
      								ethtool
      tx-compl	tx_stats->sync_compl	tx-compl-processing	ethtool
      rx-stats	rx_stats->sync		rx-compl-processing	be_get_stats64,
      								ethtool,
      								eqd-update
      
      This patch is based on Stephen Hemminger's earlier patch on the same issue...
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ab1594e9
    • S
      be2net: cleanup and refactor stats code · ac124ff9
      Sathya Perla 提交于
      In preparation for 64-bit stats interface, the following cleanups help
      streamline the code:
      1) made some more rx/tx stats stored by driver 64 bit
      2) made some HW stas (err/drop counters) stored in be_drv_stats 32 bit to
         keep the code simple as BE provides 32-bit counters only.
      3) removed duplication of netdev stats in ethtool
      4) removed some un-necessary stats and fixed some names
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ac124ff9
  13. 13 7月, 2011 2 次提交
  14. 24 6月, 2011 1 次提交
  15. 17 6月, 2011 1 次提交
  16. 19 5月, 2011 1 次提交
  17. 17 5月, 2011 2 次提交
  18. 10 5月, 2011 1 次提交
  19. 08 4月, 2011 4 次提交
  20. 07 4月, 2011 2 次提交
  21. 31 3月, 2011 1 次提交
  22. 17 3月, 2011 2 次提交
  23. 15 3月, 2011 1 次提交
  24. 08 3月, 2011 1 次提交
  25. 23 2月, 2011 3 次提交