1. 26 4月, 2012 1 次提交
  2. 24 4月, 2012 1 次提交
  3. 20 3月, 2012 2 次提交
  4. 24 2月, 2012 1 次提交
  5. 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
  6. 05 2月, 2012 2 次提交
  7. 31 12月, 2011 1 次提交
  8. 27 11月, 2011 2 次提交
  9. 17 11月, 2011 3 次提交
  10. 13 11月, 2011 3 次提交
  11. 04 11月, 2011 3 次提交
  12. 28 10月, 2011 2 次提交
  13. 25 10月, 2011 1 次提交
  14. 04 10月, 2011 3 次提交
  15. 28 9月, 2011 2 次提交
  16. 25 8月, 2011 1 次提交
  17. 19 8月, 2011 1 次提交
  18. 11 8月, 2011 1 次提交
  19. 03 8月, 2011 5 次提交
  20. 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
  21. 22 7月, 2011 1 次提交
  22. 01 7月, 2011 1 次提交
    • S
      be2net: create/destroy rx-queues on interface open/close · 482c9e79
      Sathya Perla 提交于
      On some skews, the BE card sends pause frames (and not drop pkts) if there are
      no more posted buffers available for packet reception.  This behaviour has a
      side effect: When an interface is disabled, buffers are no longer posted on the
      corresponding RX rings. All broadcast and multicast traffic being received on
      the port will quickly fill up the PMEM and cause pause push back. As the PMEM
      is shared by both the ports, all traffic being received on the other (enabled)
      port also gets stalled.
      The fix is to destroy RX rings when the interface is disabled. If there is no
      RX ring match in the RXF lookup, the packets are discarded and so don't hog the
      PMEM.
      The RXQ creation cmd must now use MCC instead of MBOX as they are are called
      post MCC queue creation.
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      482c9e79