1. 21 3月, 2006 3 次提交
    • R
      IB: Add userspace support for resizing CQs · 33b9b3ee
      Roland Dreier 提交于
      Add support to uverbs to handle resizing userspace CQs (completion
      queues), including adding an ABI for marshalling requests and
      responses.  The kernel midlayer already has ib_resize_cq().
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      33b9b3ee
    • R
      IB/mthca: Get rid of might_sleep() annotations · 399d7921
      Roland Dreier 提交于
      The might_sleep() annotations in mthca are silly -- they all occur
      shortly before calls that will end up in core functions like kmalloc()
      that will print the same warning in an unsafe context anyway.  In
      fact, beyond cluttering the source, we're actually bloating text with
      CONFIG_DEBUG_SPINLOCK_SLEEP and/or CONFIG_PREEMPT_VOLUNTARY set.
      
      With both options set, getting rid of the might_sleep()s saves a lot:
      add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-171 (-171)
      function                                     old     new   delta
      mthca_pd_alloc                               132     109     -23
      mthca_init_cq                                969     946     -23
      mthca_mr_alloc                               592     568     -24
      mthca_pd_free                                 67      42     -25
      mthca_free_mr                                219     194     -25
      mthca_free_cq                                570     545     -25
      mthca_fmr_alloc                              742     716     -26
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      399d7921
    • R
      IB/mthca: Make functions that never fail return void · d9b98b0f
      Roland Dreier 提交于
      The function mthca_free_err_wqe() can never fail, so get rid of its
      return value.  That means handle_error_cqe() doesn't have to check
      what mthca_free_err_wqe() returns, which means it can't fail either
      and doesn't have to return anything either.  All this results in
      simpler source code and a slight object code improvement:
      
      add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-10 (-10)
      function                                     old     new   delta
      mthca_free_err_wqe                            83      81      -2
      mthca_poll_cq                               1758    1750      -8
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      d9b98b0f
  2. 04 3月, 2006 1 次提交
  3. 14 2月, 2006 1 次提交
  4. 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
  5. 11 2月, 2006 1 次提交
    • R
      IB/mthca: Don't print debugging info until we have all values · f295c79b
      Roland Dreier 提交于
      When debugging is enabled, the mthca_QUERY_DEV_LIM() firmware command
      function prints out some of the device limits that it queries.
      However the debugging prints happen before all of the fields are
      extracted from the firmware response, so some of the values that get
      printed are uninitialized junk.  Move the prints to the end of the
      function to fix this.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f295c79b
  6. 08 2月, 2006 2 次提交
  7. 07 2月, 2006 1 次提交
  8. 04 2月, 2006 1 次提交
  9. 31 1月, 2006 4 次提交
  10. 22 1月, 2006 1 次提交
  11. 18 1月, 2006 4 次提交
  12. 15 1月, 2006 1 次提交
  13. 14 1月, 2006 1 次提交
  14. 13 1月, 2006 5 次提交
  15. 12 1月, 2006 1 次提交
  16. 10 1月, 2006 7 次提交
  17. 09 1月, 2006 1 次提交
  18. 07 1月, 2006 4 次提交