An error occurred fetching the project authors.
  1. 22 Oct, 2008 1 commit
    • Stefan Roscher's avatar
      IB/ehca: Fix reported max number of QPs and CQs in systems with >1 adapter · 19f42821
      Stefan Roscher authored
      Because ehca adapters can differ in the maximum number of QPs and CQs
      we have to save the maximum number of these ressources per adapter and
      not globally per ehca driver. This fix introduces 2 new members to the
      shca structure to store the maximum value for QPs and CQs per adapter.
      
      The module parameters are now used as initial values for those
      variables.  If a user selects an invalid number of CQs or QPs we don't
      print an error any longer, instead we will inform the user with a
      warning and set the values to the respective maximum supported by the
      HW.
      Signed-off-by: default avatarStefan Roscher <stefan.roscher@de.ibm.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      19f42821
  2. 21 Sep, 2008 1 commit
    • Alexander Schmidt's avatar
      IB/ehca: Generate flush status CQ entries · b9012e0a
      Alexander Schmidt authored
      When a QP goes into error state, it is required that CQ entries with a
      flush error status are delivered to the application for any
      outstanding work requests.  eHCA does not do this in hardware, so this
      patch adds software flush CQE generation to the ehca driver.
      
      Whenever a QP gets into error state, it is added to the QP error list
      of its respective CQ.  If the error QP list of a CQ is not empty,
      poll_cq() generates flush CQEs before polling the actual CQ.
      Signed-off-by: default avatarAlexander Schmidt <alexs@linux.vnet.ibm.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      b9012e0a
  3. 29 Apr, 2008 1 commit
  4. 17 Apr, 2008 1 commit
  5. 25 Jan, 2008 1 commit
  6. 10 Oct, 2007 3 commits
  7. 21 Jul, 2007 1 commit
    • Stefan Roscher's avatar
      IB/ehca: Support small QP queues · e2f81daf
      Stefan Roscher authored
      eHCA2 supports QP queues that can be as small as 512 bytes. This
      greatly reduces memory overhead for consumers that use lots of QPs
      with small queues (e.g. RDMA-only QPs). Apart from dealing with
      firmware, this code needs to manage bite-sized chunks of kernel pages,
      making sure that no kernel page is shared between different protection
      domains.
      Signed-off-by: default avatarHoang-Nam Nguyen <hnguyen@de.ibm.com>
      e2f81daf
  8. 20 Jul, 2007 1 commit
    • Paul Mundt's avatar
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt authored
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      20c2df83
  9. 18 Jul, 2007 1 commit
  10. 10 Jul, 2007 3 commits
  11. 07 May, 2007 1 commit
    • Michael S. Tsirkin's avatar
      IB: Add CQ comp_vector support · f4fd0b22
      Michael S. Tsirkin authored
      Add a num_comp_vectors member to struct ib_device and extend
      ib_create_cq() to pass in a comp_vector parameter -- this parallels
      the userspace libibverbs API.  Update all hardware drivers to set
      num_comp_vectors to 1 and have all ULPs pass 0 for the comp_vector
      value.  Pass the value of num_comp_vectors to userspace rather than
      hard-coding a value of 1.
      
      We want multiple CQ event vector support (via MSI-X or similar for
      adapters that can generate multiple interrupts), but it's not clear
      how many vectors we want, or how we want to deal with policy issues
      such as how to decide which vector to use or how to set up interrupt
      affinity.  This patch is useful for experimenting, since no core
      changes will be necessary when updating a driver to support multiple
      vectors, and we know that we want to make at least these changes
      anyway.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      f4fd0b22
  12. 01 Mar, 2007 1 commit
    • Hoang-Nam Nguyen's avatar
      IB/ehca: Fix sync between completion handler and destroy cq · 31726798
      Hoang-Nam Nguyen authored
      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: default avatarHoang-Nam Nguyen <hnguyen@de.ibm.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      31726798
  13. 11 Feb, 2007 1 commit
  14. 04 Feb, 2007 1 commit
  15. 23 Jan, 2007 1 commit
  16. 07 Dec, 2006 1 commit
  17. 22 Sep, 2006 1 commit