1. 15 7月, 2008 1 次提交
  2. 30 4月, 2008 1 次提交
  3. 24 4月, 2008 4 次提交
  4. 17 4月, 2008 1 次提交
    • R
      IB/ehca: Make symbols used only in a single source file static · e8e91f6b
      Roland Dreier 提交于
      Allow the compiler to optimize better and generate smaller code:
      
      add/remove: 0/6 grow/shrink: 2/0 up/down: 1528/-1864 (-336)
      function                                     old     new   delta
      .ehca_set_pagebuf                           1344    2172    +828
      .ehca_probe                                 2312    3012    +700
      ehca_set_pagebuf_phys                         24       -     -24
      ehca_set_pagebuf_fmr                          24       -     -24
      ehca_init_device                              24       -     -24
      .ehca_set_pagebuf_fmr                        480       -    -480
      .ehca_set_pagebuf_phys                       512       -    -512
      .ehca_init_device                            800       -    -800
      
      Also this fixes warnings like:
      
          drivers/infiniband/hw/ehca/ehca_mrmw.c:2015:5: warning: symbol 'ehca_set_pagebuf_fmr' was not declared. Should it be static?
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      e8e91f6b
  5. 05 2月, 2008 1 次提交
  6. 26 1月, 2008 3 次提交
    • 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
      b8b50e35
    • A
      IB/ehca: Use round_jiffies() for EQ polling timer · 1a7d2dce
      Anton Blanchard 提交于
      Use round_jiffies() to align ehca's 1-second timer with other timers
      and potentially save power by sleeping cores for longer.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Acked-by: NHoang-Nam Nguyen <hnguyen@de.ibm.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      1a7d2dce
  7. 25 1月, 2008 1 次提交
    • G
      Infiniband: make ipath driver use default driver groups. · 23b9c1ab
      Greg Kroah-Hartman 提交于
      Make the ipath driver use the new driver functions so that it does not
      touch the sysfs portion of the driver structure.
      
      We also remove the redundant symlink from the device back to the driver,
      as it is already in the sysfs tree.  Any userspace tools should be using
      the standard symlink, not some driver specific one.
      
      Cc: Roland Dreier <rdreier@cisco.com>
      Cc: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
      Cc: Arthur Jones <arthur.jones@qlogic.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      23b9c1ab
  8. 14 12月, 2007 1 次提交
  9. 13 12月, 2007 1 次提交
  10. 14 11月, 2007 1 次提交
  11. 19 10月, 2007 1 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
  12. 18 10月, 2007 2 次提交
  13. 17 10月, 2007 1 次提交
  14. 10 10月, 2007 4 次提交
  15. 21 7月, 2007 3 次提交
  16. 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
  17. 18 7月, 2007 2 次提交
  18. 10 7月, 2007 5 次提交
  19. 15 5月, 2007 3 次提交
  20. 07 5月, 2007 1 次提交
    • M
      IB: Add CQ comp_vector support · f4fd0b22
      Michael S. Tsirkin 提交于
      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: NMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f4fd0b22
  21. 02 5月, 2007 1 次提交
  22. 26 4月, 2007 1 次提交