1. 04 10月, 2012 2 次提交
  2. 01 10月, 2012 1 次提交
  3. 31 1月, 2012 1 次提交
  4. 11 10月, 2011 1 次提交
  5. 17 1月, 2011 1 次提交
  6. 29 7月, 2010 1 次提交
  7. 26 2月, 2010 1 次提交
  8. 20 2月, 2010 1 次提交
  9. 10 12月, 2009 1 次提交
  10. 06 9月, 2009 1 次提交
  11. 28 4月, 2009 1 次提交
  12. 09 4月, 2009 1 次提交
  13. 07 3月, 2009 1 次提交
  14. 06 12月, 2008 1 次提交
  15. 01 10月, 2008 1 次提交
  16. 24 8月, 2008 1 次提交
  17. 15 7月, 2008 2 次提交
    • 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
  18. 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
  19. 30 4月, 2008 2 次提交
  20. 19 4月, 2008 1 次提交
  21. 17 4月, 2008 4 次提交
  22. 27 2月, 2008 1 次提交
  23. 05 2月, 2008 1 次提交