1. 24 4月, 2008 2 次提交
  2. 17 4月, 2008 2 次提交
  3. 26 1月, 2008 4 次提交
    • J
      IB/ehca: Prevent RDMA-related connection failures on some eHCA2 hardware · 2ec8e662
      Joachim Fenkes 提交于
      Some HW revisions of eHCA2 may cause an RC connection to break if they
      received RDMA Reads over that connection before.  This can be
      prevented by assuring that, after the first RDMA Read, the QP receives
      a new RDMA Read every few million link packets.
      
      Include code into the driver that inserts an empty (size 0) RDMA Read
      into the message stream every now and then if the consumer doesn't
      post them frequently enough.
      Signed-off-by: NJoachim Fenkes <fenkes@de.ibm.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      2ec8e662
    • H
      IB/ehca: Add "port connection autodetect mode" · bbdd267e
      Hoang-Nam Nguyen 提交于
      This patch enhances ehca with a capability to "autodetect" the ports
      being connected physically. In order to utilize that function the
      module option nr_ports must be set to -1 (default is 2 - two
      ports). This feature is experimental and will made the default later.
      
      More detail:
      
      If the user connects only one port to the switch, current code requires
        1) port one to be connected and
        2) module option nr_ports=1 to be given.
      
      If autodetect is enabled, ehca will not wait at creation of the GSI QP
      for the respective port to become active. Since firmware does not
      accept modify_qp() while the port is down at initialization, we need
      to cache all calls to modify_qp() for the SMI/GSI QP and just return a
      good return code.
      
      When a port is activated and we get a PORT_ACTIVE event, we replay the
      cached modify-qp() parms and re-trigger any posted recv WRs. Only then
      do we forward the PORT_ACTIVE event to registered clients.
      
      The result of this autodetect patch is that all ports will be
      accessible by the users. Depending on their respective cabling only
      those ports that are connected properly will become operable. If a
      user tries to modify a regular QP of a non-connected port, modify_qp()
      will fail. Furthermore, ibv_devinfo should show the port state
      accordingly.
      
      Note that this patch primarily improves the loading behaviour of
      ehca. If the cable is removed while the driver is operating and
      plugged in again, firmware will handle that properly by sending an
      appropriate async event.
      Signed-off-by: NHoang-Nam Nguyen <hnguyen@de.ibm.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bbdd267e
    • H
    • J
      drivers/infiniband: Add missing "space" · 908cf9a5
      Joe Perches 提交于
      Add missing spaces in the middle of format strings.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      908cf9a5
  4. 13 12月, 2007 1 次提交
  5. 25 11月, 2007 1 次提交
  6. 14 11月, 2007 1 次提交
  7. 18 10月, 2007 1 次提交
  8. 10 10月, 2007 9 次提交
  9. 01 9月, 2007 1 次提交
  10. 21 7月, 2007 2 次提交
  11. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  12. 18 7月, 2007 1 次提交
  13. 10 7月, 2007 7 次提交
  14. 15 5月, 2007 2 次提交
  15. 12 2月, 2007 1 次提交
  16. 05 2月, 2007 1 次提交
  17. 10 1月, 2007 1 次提交
    • H
      IB/ehca: Use proper GFP_ flags for get_zeroed_page() · f2d91361
      Hoang-Nam Nguyen 提交于
      Here is a patch for ehca to use proper flag, ie. GFP_ATOMIC
      resp. GFP_KERNEL, when calling get_zeroed_page() to prevent "Bug:
      scheduling while atomic...". This error does not cause a kernel panic
      but makes ipoib un-usable afterwards.  It is reproducible on
      2.6.20-rc4 if one does ifconfig down during a flood ping test.  I have
      not observed this error in earlier releases incl. 2.6.20-rc1.
      
      This error occurs when a qp event/irq is received and ehca event
      handler allocates a control block/page to obtain HCA error data block.
      Use of GFP_ATOMIC when in interrupt context prevents this issue.
      
      Signed-off-by Hoang-Nam Nguyen <hnguyen@de.ibm.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f2d91361
  18. 08 12月, 2006 1 次提交
  19. 30 11月, 2006 1 次提交