1. 17 8月, 2016 2 次提交
    • 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
  2. 14 8月, 2016 1 次提交
  3. 03 8月, 2016 1 次提交
  4. 23 6月, 2016 6 次提交
  5. 07 6月, 2016 3 次提交
  6. 14 5月, 2016 1 次提交
  7. 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
  8. 02 3月, 2016 4 次提交
  9. 01 3月, 2016 1 次提交
  10. 13 2月, 2016 1 次提交
  11. 03 2月, 2016 2 次提交
  12. 22 1月, 2016 7 次提交
  13. 24 12月, 2015 2 次提交
  14. 29 10月, 2015 2 次提交
  15. 08 10月, 2015 2 次提交
  16. 25 9月, 2015 1 次提交
  17. 04 9月, 2015 1 次提交
  18. 05 6月, 2015 1 次提交
    • H
      mlx5: Enable mutual support for IB and Ethernet · 4aa17b28
      Haggai Abramonvsky 提交于
      Ethernet functionality is only available when working in ISSI > 0 mode.
      
      Previously, the IB driver wasn't ready to work on that mode, and hence
      building both the IB driver and the Ethernet functionality in the core
      driver were disallowed by Kconfigs.
      
      Now, once we have all the pre-steps in place, we can remove this limitation.
      
      The last steps in the IB driver for getting that setup to work are:
      create dummy SRQ for the driver's use (until now we could use XRC_SRQ
      as SRQ and XRC_SRQ, after moving to ISSI > 0, we separate XRC SRQs from
      basic SRQs) and adapt the create QP function to be compatible with ISSI > 0.
      Signed-off-by: NHaggai Abramovsky <hagaya@mellanox.com>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4aa17b28
  19. 31 5月, 2015 1 次提交