1. 28 6月, 2006 1 次提交
  2. 13 4月, 2006 1 次提交
    • J
      IB/mthca: Fix max_srq_sge returned by ib_query_device for Tavor devices · 59fef3b1
      Jack Morgenstein 提交于
      The driver allocates SRQ WQEs size with a power of 2 size both for
      Tavor and for memfree. For Tavor, however, the hardware only requires
      the WQE size to be a multiple of 16, not a power of 2, and the max
      number of scatter-gather allowed is reported accordingly by the
      firmware (and this is the value currently returned by
      ib_query_device() and ibv_query_device()).
      
      If the max number of scatter/gather entries reported by the FW is used
      when creating an SRQ, the creation will fail for Tavor, since the
      required WQE size will be increased to the next power of 2, which
      turns out to be larger than the device permitted max WQE size (which
      is not a power of 2).
      
      This patch reduces the reported SRQ max wqe size so that it can be used
      successfully in creating an SRQ on Tavor HCAs.
      Signed-off-by: NJack Morgenstein <jackm@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      59fef3b1
  3. 11 4月, 2006 2 次提交
    • M
      IB/mthca: Disable tuning PCI read burst size · abf45dbb
      Michael S. Tsirkin 提交于
      The PCI spec recommends against drivers playing with a device's PCI
      read burst size, and says that systems software should configure it.
      And we actually have users that report that changing it from the
      default set by BIOS hurts performance and/or stability for them.  On
      the other hand, the Mellanox Programmer's Reference Manual recommends
      turning it up all the way to the maximum value.  Some tests conducted
      here in the lab do not show performance improvement from this tuning,
      but this might be just me.
      
      As a work-around, make this tuning an option, off by default (safe
      value), with an eye towards removing it completely one day if no one
      complains.
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      abf45dbb
    • J
      IB: simplify static rate encoding · bf6a9e31
      Jack Morgenstein 提交于
      Push translation of static rate to HCA format into low-level drivers,
      where it belongs.  For static rate encoding, use encoding of rate
      field from IB standard PathRecord, with addition of value 0, for
      backwards compatibility with current usage.  The changes are:
      
       - Add enum ib_rate to midlayer includes.
       - Get rid of static rate translation in IPoIB; just use static rate
         directly from Path and MulticastGroup records.
       - Update mthca driver to translate absolute static rate into the
         format used by hardware.  This also fixes mthca's static rate
         handling for HCAs that are capable of 4X DDR.
      Signed-off-by: NJack Morgenstein <jackm@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bf6a9e31
  4. 03 4月, 2006 1 次提交
    • R
      IB/mthca: Always build debugging code unless CONFIG_EMBEDDED=y · 227c939b
      Roland Dreier 提交于
      Change the mthca debugging trace output code so that it can enabled
      and disabled at runtime with the debug_level module parameter in
      sysfs.  Also, don't allow CONFIG_INFINIBAND_MTHCA_DEBUG to be disabled
      unless CONFIG_EMBEDDED is selected.  We want users (and especially
      distros) to have this turned on unless they really need to save space,
      because by the time we want debugging output, it's usually too late to
      rebuild a kernel.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      227c939b
  5. 21 3月, 2006 2 次提交
  6. 31 1月, 2006 1 次提交
  7. 06 1月, 2006 1 次提交
  8. 11 11月, 2005 2 次提交
  9. 05 11月, 2005 1 次提交
  10. 03 11月, 2005 1 次提交
  11. 19 10月, 2005 1 次提交
  12. 18 10月, 2005 2 次提交
  13. 01 10月, 2005 1 次提交
  14. 09 9月, 2005 1 次提交
  15. 27 8月, 2005 6 次提交
  16. 08 7月, 2005 1 次提交
  17. 28 6月, 2005 3 次提交
  18. 17 4月, 2005 9 次提交