1. 05 2月, 2012 2 次提交
  2. 31 12月, 2011 1 次提交
  3. 27 11月, 2011 2 次提交
  4. 17 11月, 2011 3 次提交
  5. 13 11月, 2011 3 次提交
  6. 04 11月, 2011 3 次提交
  7. 28 10月, 2011 2 次提交
  8. 25 10月, 2011 1 次提交
  9. 04 10月, 2011 3 次提交
  10. 28 9月, 2011 2 次提交
  11. 25 8月, 2011 1 次提交
  12. 19 8月, 2011 1 次提交
  13. 11 8月, 2011 1 次提交
  14. 03 8月, 2011 5 次提交
  15. 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
  16. 22 7月, 2011 1 次提交
  17. 01 7月, 2011 2 次提交
    • 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
    • S
      be2net: fix certain cmd failure logging · 2b3f291b
      Sathya Perla 提交于
      Some (older)versions of cards/fw may not recognize certain cmds and
      return illegal/unsupported errors. As long as the driver can handle
      this gracefully there is no need to log an error msg.
      Also finetuned 2 existing error log messages.
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2b3f291b
  18. 22 6月, 2011 1 次提交
  19. 01 6月, 2011 1 次提交
  20. 25 5月, 2011 1 次提交
  21. 17 5月, 2011 2 次提交