1. 14 12月, 2016 1 次提交
  2. 17 11月, 2016 4 次提交
  3. 08 10月, 2016 5 次提交
  4. 03 9月, 2016 3 次提交
  5. 17 8月, 2016 3 次提交
    • S
      net/mlx5: Unify and improve command interface · c4f287c4
      Saeed Mahameed 提交于
      Now as all commands use mlx5 ifc interface, instead of doing two calls
      for executing a command we embed command status checking into
      mlx5_cmd_exec to simplify the interface.
      
      Also we do here some cleanup for redundant software structures
      (inbox/outbox) and functions and improved command failure output.
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leon@kernel.org>
      c4f287c4
    • S
      {net,IB}/mlx5: Modify QP commands via mlx5 ifc · 1a412fb1
      Saeed Mahameed 提交于
      Prior to this patch we assumed that modify QP commands have the
      same layout.
      
      In ConnectX-4 for each QP transition there is a specific command
      and their layout can vary.
      
      e.g: 2err/2rst commands don't have QP context in their layout and before
      this patch we posted the QP context in those commands.
      
      Fortunately the FW only checks the suffix of the commands and executes
      them, while ignoring all invalid data sent after the valid command
      layout.
      
      This patch removes mlx5_modify_qp_mbox_in and changes
      mlx5_core_qp_modify to receive the required transition and QP context
      with opt_param_mask if needed.  This way the caller is not required to
      provide the command inbox layout and it will be generated automatically.
      
      mlx5_core_qp_modify will generate the command inbox/outbox layouts
      according to the requested transition and will fill the requested
      parameters.
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leon@kernel.org>
      1a412fb1
    • S
      {net,IB}/mlx5: QP/XRCD commands via mlx5 ifc · 09a7d9ec
      Saeed Mahameed 提交于
      Remove old representation of manually created QP/XRCD commands layout
      amd use mlx5_ifc canonical structures and defines.
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leon@kernel.org>
      09a7d9ec
  6. 14 8月, 2016 1 次提交
  7. 03 8月, 2016 1 次提交
  8. 23 6月, 2016 6 次提交
  9. 07 6月, 2016 3 次提交
  10. 14 5月, 2016 1 次提交
  11. 05 3月, 2016 1 次提交
    • S
      mlx5: Add arbitrary sg list support · b005d316
      Sagi Grimberg 提交于
      Allocate proper context for arbitrary scatterlist registration
      If ib_alloc_mr is called with IB_MR_MAP_ARB_SG, the driver
      allocate a private klm list instead of a private page list.
      Set the UMR wqe correctly when posting the fast registration.
      
      Also, expose device cap IB_DEVICE_MAP_ARB_SG according to the
      device id (until we have a FW bit that correctly exposes it).
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      b005d316
  12. 02 3月, 2016 4 次提交
  13. 01 3月, 2016 1 次提交
  14. 13 2月, 2016 1 次提交
  15. 03 2月, 2016 2 次提交
  16. 22 1月, 2016 3 次提交