1. 26 Feb, 2007 1 commit
  2. 23 Feb, 2007 6 commits
  3. 22 Feb, 2007 2 commits
    • Roland Dreier's avatar
      IB/uverbs: Return correct error for invalid PD in register MR · aaf1aef5
      Roland Dreier authored
      If no matching PD is found in ib_uverbs_reg_mr(), then the function
      jumps to err_release without setting the return value ret.  This means
      that ret will hold the return value of the call to ib_umem_get() a few
      lines earlier; if the function reaches the point where it looks for
      the PD, we know that ib_umem_get() must have returned 0, so
      ib_uverbs_reg_mr() ends up return 0 for a bad PD ID.  Fix this by
      setting ret to -EINVAL before jumping to the exit path when no PD is
      found.
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      aaf1aef5
    • Roland Dreier's avatar
      IPoIB: Remove unused local_rate tracking · 658bcef6
      Roland Dreier authored
      Now that low-level drivers handle the conversion from an absolute rate
      to a relative rate, there's no need for the IPoIB driver to keep track
      of the local port's data rate.
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      658bcef6
  4. 21 Feb, 2007 31 commits