1. 18 6月, 2006 1 次提交
    • R
      IPoIB: Avoid using stale last_send counter when reaping AHs · 31c02e21
      Roland Dreier 提交于
      The comparisons of priv->tx_tail to ah->last_send in ipoib_free_ah()
      and ipoib_post_receive() are slightly unsafe, because priv->tx_lock is
      not held and hence a stale value of ah->last_send might be used, which
      would lead to freeing an AH before the driver was really done with it.
      The simple way to fix this is to the optimization of early free from
      ipoib_free_ah() and unconditionally queue AHs for reaping, and then
      take priv->tx_lock in __ipoib_reap_ah().
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      31c02e21
  2. 06 6月, 2006 1 次提交
  3. 10 5月, 2006 1 次提交
  4. 11 4月, 2006 5 次提交
  5. 05 4月, 2006 1 次提交
    • M
      IPoIB: Consolidate private neighbour data handling · d2e0655e
      Michael S. Tsirkin 提交于
      Consolidate IPoIB's private neighbour data handling into
      ipoib_neigh_alloc() and ipoib_neigh_free().  This will make it easier
      to keep track of the neighbour structures that IPoIB is handling, and
      is a nice cleanup of the code:
      
      add/remove: 2/1 grow/shrink: 1/8 up/down: 100/-178 (-78)
      function                                     old     new   delta
      ipoib_neigh_alloc                              -      61     +61
      ipoib_neigh_free                               -      36     +36
      ipoib_mcast_join_finish                     1288    1291      +3
      path_rec_completion                          575     573      -2
      ipoib_mcast_join_task                        664     660      -4
      ipoib_neigh_destructor                       101      92      -9
      ipoib_neigh_setup_dev                         14       3     -11
      ipoib_neigh_setup                             17       -     -17
      path_free                                    238     215     -23
      ipoib_mcast_free                             329     306     -23
      ipoib_mcast_send                             718     684     -34
      neigh_add_path                               705     650     -55
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      d2e0655e
  6. 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
  7. 30 3月, 2006 1 次提交
  8. 25 3月, 2006 3 次提交
  9. 21 3月, 2006 9 次提交
  10. 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
  11. 08 2月, 2006 2 次提交
  12. 18 1月, 2006 2 次提交
  13. 14 1月, 2006 1 次提交
  14. 13 1月, 2006 1 次提交
  15. 12 1月, 2006 1 次提交
  16. 10 1月, 2006 2 次提交
  17. 04 1月, 2006 1 次提交
  18. 30 11月, 2005 5 次提交
  19. 29 11月, 2005 1 次提交