1. 04 4月, 2006 1 次提交
  2. 03 4月, 2006 1 次提交
    • R
      IPoIB: Always build debugging code unless CONFIG_EMBEDDED=y · f5545d24
      Roland Dreier 提交于
      Don't allow CONFIG_INFINIBAND_IPOIB_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.  The debugging output can be controlled at runtime via the
      debug_level module parameter in sysfs.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f5545d24
  3. 30 3月, 2006 2 次提交
  4. 25 3月, 2006 4 次提交
    • L
      IPoIB: P_Key change event handling · 7a343d4c
      Leonid Arsh 提交于
      This patch causes the network interface to respond to P_Key change
      events correctly.  As a result, you'll see a child interface in the
      "RUNNING" state (netif_carrier_on()) only when the corresponding P_Key
      is configured by the SM.  When SM removes a P_Key, the "RUNNING" state
      will be disabled for the corresponding network interface.  To
      implement this, I added IB_EVENT_PKEY_CHANGE event handling.  To
      prevent flushing the device before the device is open by the "delay
      open" mechanism, I added an additional device flag called
      IPOIB_FLAG_INITIALIZED.
      
      This also prevents the child network interface from trying to join to
      multicast groups until the PKEY is configured.  We used to get error
      messages like:
      
          ib0.f2f2: couldn't attach QP to multicast group ff12:401b:f2f2:0:0:0:ffff:ffff
      
      in this case.  To fix this, I just check IPOIB_FLAG_OPER_UP flag in
      ipoib_set_mcast_list().
      Signed-off-by: NLeonid Arsh <leonida@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      7a343d4c
    • L
      IPoIB: Fix network interface "RUNNING" status · 4e37b956
      Leonid Arsh 提交于
      With the current IPoIB driver, the status of network interfaces stays
      "RUNNING" even if the link goes down (for example because a cable is
      unplugged).  Fix this by flushing the IPoIB interface when the link
      goes down.
      Signed-off-by: NLeonid Arsh <leonida@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      4e37b956
    • R
      IB/srp: Use a fake scatterlist for non-SG SCSI commands · cf368713
      Roland Dreier 提交于
      Since the SCSI midlayer is moving towards entirely getting rid of
      commands with use_sg == 0, we should treat this case as an exception.
      Therefore, change the IB SRP initiator to create a fake scatterlist
      for these commands with sg_init_one().  This simplifies the flow of
      DMA mapping and unmapping, since SRP can just use dma_map_sg() and
      dma_unmap_sg() unconditionally, rather than having to choose between
      the dma_{map,unmap}_sg() and dma_{map,unmap}_single() variants.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      cf368713
    • L
      IPoIB: Pass correct pointer when flushing child interfaces · 6f633c8d
      Leonid Arsh 提交于
      ipoib_ib_dev_flush() should get passed cpriv->dev, not &cpriv->dev.
      Signed-off-by: NLeonid Arsh <leonida@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      6f633c8d
  5. 21 3月, 2006 11 次提交
  6. 04 3月, 2006 1 次提交
  7. 12 2月, 2006 1 次提交
    • R
      IPoIB: Yet another fix for send-only joins · 20b83382
      Roland Dreier 提交于
      Even after the last fix, it's still possible for a send-only join to
      start before the join for the broadcast group has finished.  This
      could cause us to create a multicast group using attributes from the
      broadcast group that haven't been initialized yet, so we would use
      garbage for the Q_Key, etc.  Fix this by waiting until the broadcast
      group's attached flag is set before starting send-only joins.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      20b83382
  8. 08 2月, 2006 2 次提交
  9. 31 1月, 2006 1 次提交
  10. 18 1月, 2006 2 次提交
  11. 14 1月, 2006 1 次提交
  12. 13 1月, 2006 1 次提交
  13. 12 1月, 2006 1 次提交
  14. 10 1月, 2006 3 次提交
  15. 09 1月, 2006 1 次提交
  16. 04 1月, 2006 1 次提交
  17. 30 11月, 2005 5 次提交
  18. 29 11月, 2005 1 次提交