1. 07 5月, 2007 1 次提交
  2. 01 5月, 2007 1 次提交
  3. 26 4月, 2007 1 次提交
  4. 25 4月, 2007 1 次提交
    • R
      IPoIB/cm: spin_lock_irqsave() -> spin_lock_irq() replacements · 37aebbde
      Roland Dreier 提交于
      There are quite a few places in ipoib_cm.c where we know IRQs are
      enabled because we do something that sleeps in the same function, so
      we can convert several occurrences of spin_lock_irqsave() to a plain
      spin_lock_irq().  This cleans up the source a little and makes the
      code smaller too:
      
      add/remove: 0/0 grow/shrink: 1/5 up/down: 3/-51 (-48)
      function                                     old     new   delta
      ipoib_cm_tx_reap                             403     406      +3
      ipoib_cm_stale_task                          146     145      -1
      ipoib_cm_dev_stop                            173     172      -1
      ipoib_cm_tx_handler                          964     956      -8
      ipoib_cm_rx_handler                          956     937     -19
      ipoib_cm_skb_reap                            212     190     -22
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      37aebbde
  5. 19 4月, 2007 1 次提交
  6. 10 4月, 2007 1 次提交
  7. 23 3月, 2007 2 次提交
  8. 21 2月, 2007 1 次提交
  9. 17 2月, 2007 2 次提交
  10. 11 2月, 2007 1 次提交
    • M
      IPoIB: Connected mode experimental support · 839fcaba
      Michael S. Tsirkin 提交于
      The following patch adds experimental support for IPoIB connected
      mode, as defined by the draft from the IETF ipoib working group.  The
      idea is to increase performance by increasing the MTU from the maximum
      of 2K (theoretically 4K) supported by IPoIB on top of UD.  With this
      code, I'm able to get 800MByte/sec or more with netperf without
      options on a Mellanox 4x back-to-back DDR system.
      
      Some notes on code:
      1. SRQ is used for scalability to large cluster sizes
      2. Only RC connections are used (UC does not support SRQ now)
      3. Retry count is set to 0 since spec draft warns against retries
      4. Each connection is used for data transfers in only 1 direction, so
         each connection is either active(TX) or passive (RX).  2 sides that
         want to communicate create 2 connections.
      5. Each active (TX) connection has a separate CQ for send completions -
         this keeps the code simple without CQ resize and other tricks
      6. To detect stale passive side connections (where the remote side is
         down), we keep an LRU list of passive connections (updated once per
         second per connection) and destroy a connection after it has been
         unused for several seconds. The LRU rule makes it possible to avoid
         scanning connections that have recently been active.
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      839fcaba