1. 24 12月, 2015 1 次提交
  2. 09 12月, 2015 1 次提交
    • L
      IB/mlx5: Postpone remove_keys under knowledge of coming preemption · ab5cdc31
      Leon Romanovsky 提交于
      The remove_keys() logic is performed as garbage collection task. Such
      task is intended to be run when no other active processes are running.
      
      The need_resched() will return TRUE if there are user tasks to be
      activated in near future.
      
      In such case, we don't execute remove_keys() and postpone
      the garbage collection work to try to run in next cycle,
      in order to free CPU resources to other tasks.
      
      The possible pseudo-code to trigger such scenario:
      1. Allocate a lot of MR to fill the cache above the limit.
      2. Wait a small amount of time "to calm" the system.
      3. Start CPU extensive operations on multi-node cluster.
      4. Expect performance degradation during MR cache shrink operation.
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NEli Cohen <eli@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      ab5cdc31
  3. 29 10月, 2015 3 次提交
  4. 15 10月, 2015 1 次提交
  5. 08 10月, 2015 2 次提交
  6. 25 9月, 2015 2 次提交
    • S
      IB/mlx5: Remove pa_lkey usages · 81fb5e26
      Sagi Grimberg 提交于
      Since mlx5 driver cannot rely on registration using the
      reserved lkey (global_dma_lkey) it used to allocate a private
      physical address lkey for each allocated pd.
      Commit 96249d70 ("IB/core: Guarantee that a local_dma_lkey
      is available") just does it in the core layer so we can go ahead
      and use that.
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      81fb5e26
    • S
      IB/mlx5: Remove support for IB_DEVICE_LOCAL_DMA_LKEY · c6790aa9
      Sagi Grimberg 提交于
      Commit 96249d70 ("IB/core: Guarantee that a local_dma_lkey
      is available") allows ULPs that make use of the local dma key to keep
      working as before by allocating a DMA MR with local permissions and
      converted these consumers to use the MR associated with the PD
      rather then device->local_dma_lkey.
      
      ConnectIB has some known issues with memory registration
      using the local_dma_lkey (SEND, RDMA, RECV seems to work ok).
      
      Thus don't expose support for it (remove device->local_dma_lkey
      setting), and take advantage of the above commit such that no regression
      is introduced to working systems.
      
      The local_dma_lkey support will be restored in CX4 depending on FW
      capability query.
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      c6790aa9
  7. 04 9月, 2015 2 次提交
  8. 31 8月, 2015 4 次提交
  9. 29 8月, 2015 4 次提交
  10. 15 7月, 2015 1 次提交
  11. 13 6月, 2015 5 次提交
  12. 12 6月, 2015 1 次提交
  13. 05 6月, 2015 4 次提交
  14. 02 6月, 2015 1 次提交
  15. 31 5月, 2015 3 次提交
  16. 21 5月, 2015 2 次提交
  17. 19 5月, 2015 1 次提交
  18. 13 5月, 2015 1 次提交
  19. 03 4月, 2015 1 次提交