1. 07 3月, 2018 1 次提交
    • S
      i40iw: Improve CM node lookup time on connection setup · 7de8b357
      Shiraz Saleem 提交于
      Currently all CM nodes involved in a connection are
      maintained in a connected_node list per dev. During
      connection setup, we need to search this every time
      we receive a packet on the iWARP LAN Queue (ILQ) and
      this can be pretty inefficient for large number of
      connections.
      
      Fix this by organizing the CM nodes in two lists -
      accelerated list and non-accelerated list. The search
      on ILQ receive would be limited to only non accelerated
      nodes. When a node moves to RTS, it is added to the
      accelerated list.
      
      Benchmarking ucmatose 16k connections shows a 20%
      improvement in test completion time.
      Signed-off-by: NShiraz Saleem <shiraz.saleem@intel.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      7de8b357
  2. 28 12月, 2017 1 次提交
  3. 23 12月, 2017 4 次提交
  4. 02 12月, 2017 3 次提交
  5. 19 10月, 2017 1 次提交
  6. 18 10月, 2017 1 次提交
    • K
      RDMA/i40iw: Convert timers to use timer_setup() (part 2) · 2ec46d68
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      This includes the remaining timers missed in the earlier i40iw patch.
      
      Cc: Faisal Latif <faisal.latif@intel.com>
      Cc: Shiraz Saleem <shiraz.saleem@intel.com>
      Cc: Doug Ledford <dledford@redhat.com>
      Cc: Sean Hefty <sean.hefty@intel.com>
      Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
      Cc: linux-rdma@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      2ec46d68
  7. 15 10月, 2017 2 次提交
  8. 05 10月, 2017 1 次提交
  9. 29 9月, 2017 1 次提交
  10. 23 9月, 2017 2 次提交
  11. 25 8月, 2017 1 次提交
  12. 19 8月, 2017 1 次提交
    • S
      i40iw: Fixes for static checker warnings · 83fb1c89
      Shiraz Saleem 提交于
      Remove NULL check for cm_node->listener in i40iw_accept
      as listener is always present at this point.
      
      Remove the check for cm_node->accept_pend and related code
      in i40iw_cm_event_connected as the cm_node in this context
      is only pertinent to active node and cm_node->accept_pend
      is always 0.
      
      This fixes the following smatch warnings,
      
      drivers/infiniband/hw/i40iw/i40iw_cm.c:3691 i40iw_accept()
      error: we previously assumed 'cm_node->listener' could be null
      
      drivers/infiniband/hw/i40iw/i40iw_cm.c:4061 i40iw_cm_event_connected()
      error: we previously assumed 'cm_node->listener' could be null
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NShiraz Saleem <shiraz.saleem@intel.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      83fb1c89
  13. 20 7月, 2017 1 次提交
  14. 02 6月, 2017 2 次提交
  15. 29 4月, 2017 1 次提交
  16. 13 12月, 2016 3 次提交
  17. 06 12月, 2016 9 次提交
  18. 04 12月, 2016 3 次提交
  19. 08 10月, 2016 1 次提交
  20. 25 8月, 2016 1 次提交