1. 10 12月, 2009 3 次提交
  2. 06 9月, 2009 3 次提交
  3. 03 9月, 2009 1 次提交
  4. 16 5月, 2009 1 次提交
  5. 28 4月, 2009 4 次提交
  6. 09 4月, 2009 3 次提交
  7. 07 3月, 2009 4 次提交
  8. 22 1月, 2009 1 次提交
  9. 23 12月, 2008 1 次提交
  10. 06 12月, 2008 1 次提交
  11. 09 10月, 2008 1 次提交
  12. 04 10月, 2008 1 次提交
  13. 01 10月, 2008 7 次提交
  14. 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
  15. 15 7月, 2008 3 次提交
    • S
      RDMA/core: Add local DMA L_Key support · 96f15c03
      Steve Wise 提交于
      - Change the IB_DEVICE_ZERO_STAG flag to the transport-neutral name
        IB_DEVICE_LOCAL_DMA_LKEY, which is used by iWARP RNICs to indicate 0
        STag support and IB HCAs to indicate reserved L_Key support.
      
      - Add a u32 local_dma_lkey member to struct ib_device.  Drivers fill
        this in with the appropriate local DMA L_Key (if they support it).
      
      - Fix up the drivers using this flag.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      96f15c03
    • R
      RDMA/nes: Get rid of ring_doorbell parameter of nes_post_cqp_request() · 8294f297
      Roland Dreier 提交于
      Every caller of nes_post_cqp_request() passed it NES_CQP_REQUEST_RING_DOORBELL,
      so just remove that parameter and always ring the doorbell.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      Acked-by: NFaisal Latif <flatif@neteffect.com>
      8294f297
    • R
      RDMA/nes: Encapsulate logic nes_put_cqp_request() · 1ff66e8c
      Roland Dreier 提交于
      The iw_nes driver repeats the logic
      
      	if (atomic_dec_and_test(&cqp_request->refcount)) {
      		if (cqp_request->dynamic) {
      			kfree(cqp_request);
      		} else {
      			spin_lock_irqsave(&nesdev->cqp.lock, flags);
      			list_add_tail(&cqp_request->list, &nesdev->cqp_avail_reqs);
      			spin_unlock_irqrestore(&nesdev->cqp.lock, flags);
      		}
      	}
      
      over and over.  Wrap this up in functions nes_free_cqp_request() and
      nes_put_cqp_request() to simplify such code.
      
      In addition to making the source smaller and more readable, this shrinks
      the compiled code quite a bit:
      
      add/remove: 2/0 grow/shrink: 0/13 up/down: 164/-1692 (-1528)
      function                                     old     new   delta
      nes_free_cqp_request                           -     147    +147
      nes_put_cqp_request                            -      17     +17
      nes_modify_qp                               2316    2293     -23
      nes_hw_modify_qp                             737     657     -80
      nes_dereg_mr                                 945     860     -85
      flush_wqes                                   501     416     -85
      nes_manage_apbvt                             648     560     -88
      nes_reg_mr                                  1117    1026     -91
      nes_cqp_ce_handler                           927     769    -158
      nes_alloc_mw                                1052     884    -168
      nes_create_qp                               5314    5141    -173
      nes_alloc_fmr                               2212    2035    -177
      nes_destroy_cq                              1097     918    -179
      nes_create_cq                               2787    2598    -189
      nes_dealloc_mw                               762     566    -196
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      Acked-by: NFaisal Latif <flatif@neteffect.com>
      1ff66e8c
  16. 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
  17. 30 4月, 2008 3 次提交
  18. 24 4月, 2008 1 次提交
    • C
      RDMA/nes: Fix adapter reset after PXE boot · bc5698f3
      Chien Tung 提交于
      After PXE boot, the iw_nes driver does a full reset to ensure the card
      is in a clean state.  However, it doesn't wait for firmware to
      complete its work before issuing a port reset to enable the ports,
      which leads to problems bringing up the ports.
      
      The solution is to wait for firmware to complete its work before
      proceeding with port reset.
      
      This bug was flagged by Roland Dreier <rolandd@cisco.com>.
      
      Cc: <stable@kernel.org>
      Signed-off-by: NChien Tung <ctung@neteffect.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bc5698f3