1. 03 7月, 2010 1 次提交
    • J
      s2io: resolve statistics issues · 4a490432
      Jon Mason 提交于
      This patch resolves a number of issues in the statistics gathering of
      the s2io driver.
      
      On Xframe adapters, the received multicast statistics counter includes
      pause frames which are not indicated to the driver.  This can cause
      issues where the multicast packet count is higher than what has actually
      been received, possibly higher than the number of packets received.
      
      The driver software counters are replaced with the adapter hardware
      statistics for rx_packets, rx_bytes, and tx_bytes.  It also uses the
      overflow registers to determine if the statistics wrapped the 32bit
      register (removing the window of having a statistic value less than the
      previous call).  rx_length_errors statistic now includes undersized
      packets in addition to oversized packets in its counting.  Finally,
      rx_crc_errors are now being counted.
      Signed-off-by: NJon Mason <jon.mason@exar.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4a490432
  2. 31 8月, 2009 1 次提交
  3. 08 6月, 2009 1 次提交
  4. 25 9月, 2008 1 次提交
  5. 11 7月, 2008 1 次提交
  6. 27 6月, 2008 1 次提交
    • A
      [netdrvr] Fix IOMMU overflow checking in s2io.c · 64c42f69
      Andi Kleen 提交于
      s2io has IOMMU overflow checking, but unfortunately it is wrong.
      
      It didn't use the standard macros, which meant that it only worked
      on POWER and SPARC because only those define DMA_ERROR_CODE. Convert it to
      use the standard macros instead.
      
      I also commented two more bugs in the IOMMU handling. It assumes
      that 0 DMA addresses cannot happen, but that's not true in all IOMMU setups.
      The information if a buffer has been already mapped needs to be stored
      elsewhere.
      
      Didn't fix those because it needs careful checking of the buffer handling
      by the maintainers.
      
      Cc: ram.vepa@neterion.com
      Cc: santosh.rastapur@neterion.com
      Cc: sivakumar.subramani@neterion.com
      Cc: sreenivasa.honnur@neterion.com
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      64c42f69
  7. 22 5月, 2008 2 次提交
  8. 13 5月, 2008 1 次提交
  9. 29 4月, 2008 1 次提交
  10. 25 4月, 2008 2 次提交
  11. 17 3月, 2008 3 次提交
  12. 03 2月, 2008 1 次提交
  13. 29 1月, 2008 2 次提交
  14. 20 10月, 2007 1 次提交
  15. 11 10月, 2007 10 次提交
  16. 31 7月, 2007 3 次提交
  17. 12 7月, 2007 1 次提交
    • A
      PCI: Change all drivers to use pci_device->revision · 44c10138
      Auke Kok 提交于
      Instead of all drivers reading pci config space to get the revision
      ID, they can now use the pci_device->revision member.
      
      This exposes some issues where drivers where reading a word or a dword
      for the revision number, and adding useless error-handling around the
      read. Some drivers even just read it for no purpose of all.
      
      In devices where the revision ID is being copied over and used in what
      appears to be the equivalent of hotpath, I have left the copy code
      and the cached copy as not to influence the driver's performance.
      
      Compile tested with make all{yes,mod}config on x86_64 and i386.
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Acked-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      44c10138
  18. 09 7月, 2007 2 次提交
  19. 12 5月, 2007 3 次提交
  20. 28 4月, 2007 1 次提交
  21. 27 2月, 2007 1 次提交