1. 02 4月, 2019 4 次提交
  2. 28 3月, 2019 4 次提交
  3. 26 3月, 2019 1 次提交
  4. 18 3月, 2019 2 次提交
  5. 04 3月, 2019 1 次提交
  6. 23 2月, 2019 1 次提交
  7. 22 2月, 2019 2 次提交
  8. 16 2月, 2019 2 次提交
    • B
      net/mlx5: E-Switch, Centralize repersentor reg/unreg to eswitch driver · f8e8fa02
      Bodong Wang 提交于
      Eswitch has two users: IB and ETH. They both register repersentors
      when mlx5 interface is added, and unregister the repersentors when
      mlx5 interface is removed. Ideally, each driver should only deal with
      the entities which are unique to itself. However, current IB and ETH
      drivers have to perform the following eswitch operations:
      
      1. When registering, specify how many vports to register. This number
         is the same for both drivers which is the total available vport
         numbers.
      2. When unregistering, specify the number of registered vports to do
         unregister. Also, unload the repersentors which are already loaded.
      
      It's unnecessary for eswitch driver to hands out the control of above
      operations to individual driver users, as they're not unique to each
      driver. Instead, such operations should be centralized to eswitch
      driver. This consolidates eswitch control flow, and simplified IB and
      ETH driver.
      
      This patch doesn't change any functionality.
      Signed-off-by: NBodong Wang <bodong@mellanox.com>
      Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      f8e8fa02
    • S
      IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs · 89944450
      Shamir Rabinovitch 提交于
      Now when we have the udata passed to all the ib_xxx object creation APIs
      and the additional macro 'rdma_udata_to_drv_context' to get the
      ib_ucontext from ib_udata stored in uverbs_attr_bundle, we can finally
      start to remove the dependency of the drivers in the
      ib_xxx->uobject->context.
      Signed-off-by: NShamir Rabinovitch <shamir.rabinovitch@oracle.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      89944450
  9. 15 2月, 2019 5 次提交
  10. 12 2月, 2019 2 次提交
  11. 09 2月, 2019 1 次提交
  12. 08 2月, 2019 1 次提交
  13. 06 2月, 2019 1 次提交
    • B
      IB/mlx5: Do not use hw_access_flags for be and CPU data · bf3b4f06
      Bart Van Assche 提交于
      Avoid that sparse reports the following for the mlx5 driver:
      
      drivers/infiniband/hw/mlx5/qp.c:2671:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2671:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2671:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2679:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2679:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2679:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2680:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2680:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2680:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2684:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2684:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2684:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: incorrect type in argument 1 (different base types)
      drivers/infiniband/hw/mlx5/qp.c:2686:28:    expected unsigned int [usertype] val
      drivers/infiniband/hw/mlx5/qp.c:2686:28:    got restricted __be32 [usertype]
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      
      This patch does not change any functionality.
      
      Fixes: a60109dc ("IB/mlx5: Add support for extended atomic operations")
      Signed-off-by: NBart Van Assche <bvanassche@acm.org>
      Acked-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      bf3b4f06
  14. 05 2月, 2019 8 次提交
  15. 31 1月, 2019 4 次提交
  16. 30 1月, 2019 1 次提交