1. 23 3月, 2007 6 次提交
  2. 15 3月, 2007 1 次提交
  3. 09 3月, 2007 1 次提交
  4. 07 3月, 2007 11 次提交
  5. 02 3月, 2007 2 次提交
    • R
      IB/mthca: Fix error path in mthca_alloc_memfree() · 88171cfe
      Roland Dreier 提交于
      The garbled logic in mthca_alloc_memfree() causes it to return 0, even
      if it fails to allocate all doorbell records.  Fix it to return -ENOMEM
      when it fails.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      88171cfe
    • H
      IB/ehca: Fix sync between completion handler and destroy cq · 31726798
      Hoang-Nam Nguyen 提交于
      This patch fixes two issues reported by Roland Dreier and Christoph Hellwig:
      
      - Mismatched sync/locking between completion handler and destroy cq We
        introduced a counter nr_events per cq to track number of irq events
        seen. This counter is incremented when an event queue entry is seen
        and decremented after completion handler has been called regardless
        if scaling code is active or not. Note that nr_callbacks tracks
        number of events assigned to a cpu and both counters can potentially
        diverge.
      
        The sync between running completion handler and destroy cq is done
        by using the global spin lock ehca_cq_idr_lock.
      
      - Replace yield by wait_event on the counter above to become zero.
      Signed-off-by: NHoang-Nam Nguyen <hnguyen@de.ibm.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      31726798
  6. 27 2月, 2007 2 次提交
  7. 24 2月, 2007 2 次提交
  8. 23 2月, 2007 5 次提交
  9. 22 2月, 2007 1 次提交
  10. 21 2月, 2007 2 次提交
  11. 18 2月, 2007 1 次提交
  12. 17 2月, 2007 6 次提交
    • R
      IB/core: Set static rate in ib_init_ah_from_path() · 7084f842
      Roland Dreier 提交于
      The static rate from the path record should be put into the address
      vector -- a long time ago the rate in the address attributes needed to
      be a relative rate, which required more munging, but now that the
      conversion from absolute to relative is done in the low-level driver,
      it's easy for ib_init_ah_from_path() to put the absolute rate in.
      
      Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
      Cc: Sean Hefty <sean.hefty@intel.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      7084f842
    • R
      IB/ipath: Make ipath_map_sg() static · 630e61f2
      Roland Dreier 提交于
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      630e61f2
    • R
      IB/core: Fix sparse warnings about shadowed declarations · 38abaa63
      Roland Dreier 提交于
      Change a couple of variable names to avoid sparse warnings about
      symbols being shadowed.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      38abaa63
    • S
      RDMA/cma: Add multicast communication support · c8f6a362
      Sean Hefty 提交于
      Extend rdma_cm to support multicast communication.  Multicast support
      is added to the existing RDMA_PS_UDP port space, as well as a new
      RDMA_PS_IPOIB port space.  The latter port space allows joining the
      multicast groups used by IPoIB, which enables offloading IPoIB traffic
      to a separate QP.  The port space determines the signature used in the
      MGID when joining the group.  The newly added RDMA_PS_IPOIB also
      allows for unicast operations, similar to RDMA_PS_UDP.
      
      Supporting the RDMA_PS_IPOIB requires changing how UD QPs are initialized,
      since we can no longer assume that the qkey is constant.  This requires
      saving the Q_Key to use when attaching to a device, so that it is
      available when creating the QP.  The Q_Key information is exported to
      the user through the existing rdma_init_qp_attr() interface.
      
      Multicast support is also exported to userspace through the rdma_ucm.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      c8f6a362
    • S
      IB/sa: Track multicast join/leave requests · faec2f7b
      Sean Hefty 提交于
      The IB SA tracks multicast join/leave requests on a per port basis and
      does not do any reference counting: if two users of the same port join
      the same group, and one leaves that group, then the SA will remove the
      port from the group even though there is one user who wants to stay a
      member left.  Therefore, in order to support multiple users of the
      same multicast group from the same port, we need to perform reference
      counting locally.
      
      To do this, add an multicast submodule to ib_sa to perform reference
      counting of multicast join/leave operations.  Modify ib_ipoib (the
      only in-kernel user of multicast) to use the new interface.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      faec2f7b
    • M
      IPoIB: CM error handling thinko fix · 8a2e65f8
      Michael S. Tsirkin 提交于
      ipoib_cm_alloc_rx_skb() might be called from IRQ context, so it must
      use dev_kfree_skb_any(), not kfree_skb().
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      8a2e65f8