1. 06 12月, 2008 4 次提交
  2. 03 11月, 2008 4 次提交
  3. 10 10月, 2008 1 次提交
  4. 09 10月, 2008 1 次提交
  5. 04 10月, 2008 2 次提交
  6. 01 10月, 2008 14 次提交
  7. 21 9月, 2008 1 次提交
  8. 17 9月, 2008 1 次提交
  9. 24 8月, 2008 1 次提交
  10. 25 7月, 2008 1 次提交
    • F
      RDMA/nes: CM connection setup/teardown rework · 6492cdf3
      Faisal Latif 提交于
      Major rework of CM connection setup/teardown.  We had a number of issues
      with MPI applications not starting/terminating properly over time.
      With these changes we were able to run longer on larger clusters.
      
      * Remove memory allocation from nes_connect() and nes_cm_connect().
      * Fix mini_cm_dec_refcnt_listen() when destroying listener.
      * Remove unnecessary code from schedule_nes_timer() and nes_cm_timer_tick().
      * Functionalize mini_cm_recv_pkt() and process_packet().
      * Clean up cm_node->ref_count usage.
      * Reuse skbs if available.
      Signed-off-by: NFaisal Latif <flatif@neteffect.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      6492cdf3
  11. 15 7月, 2008 4 次提交
  12. 11 6月, 2008 1 次提交
    • R
      RDMA/nes: Fix off-by-one in nes_reg_user_mr() error path · 24797a34
      Roland Dreier 提交于
      nes_reg_user_mr() should fail if page_count becomes >= 1024 * 512
      rather than just testing for strict >, because page_count is
      essentially used as an index into an array with 1024 * 512 entries, so
      allowing the loop to continue with page_count == 1024 * 512 means that
      memory after the end of the array is corrupted.  This leads to a crash
      triggerable by a userspace application that requests registration of a
      too-big region.
      
      Also get rid of the call to pci_free_consistent() here to avoid
      corrupting state with a double free, since the same memory will be
      freed in the code jumped to at reg_user_mr_err.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      24797a34
  13. 14 5月, 2008 1 次提交
    • R
      RDMA/nes: Fix up nes_lro_max_aggr module parameter · dd37818d
      Roland Dreier 提交于
      Fix some bugs with the max_aggr module parameter added with LRO support:
      
       - The module parameter value ignored and not actually used to set
         lro_mgr.max_aggr.
       - MODULE_PARM_DESC had a typo "_mro_" instead of "_lro_" so it didn't
         end up describing the actual module parameter.
       - The nes_lro_max_aggr variable was declared as unsigned, but the
         module_param line said "int" instead of "uint" for the type.
       - The default value for the parameter was stuck in the permissions
         field of module_param, which led to nonsensical permissions for the
         file under /sys/module/iw_nes/param.
       - The parameter was used in only one file but defined in another, which
         led to the variable being global for no good reason.  Move everything
         related to the parameter to the file nes_hw.c where it is actually
         used.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      dd37818d
  14. 30 4月, 2008 3 次提交
  15. 29 4月, 2008 1 次提交
    • A
      IB: expand ib_umem_get() prototype · cb9fbc5c
      Arthur Kepner 提交于
      Add a new parameter, dmasync, to the ib_umem_get() prototype.  Use dmasync = 1
      when mapping user-allocated CQs with ib_umem_get().
      Signed-off-by: NArthur Kepner <akepner@sgi.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Jes Sorensen <jes@sgi.com>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Roland Dreier <rdreier@cisco.com>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Grant Grundler <grundler@parisc-linux.org>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cb9fbc5c