]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RDMA/mlx5: Assign profile before calling stages
authorMark Bloch <markb@mellanox.com>
Wed, 6 May 2020 07:16:01 +0000 (10:16 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 20:52:01 +0000 (17:52 -0300)
commit8d93efb8c5e07706651a992fc07f37a2fb69baca
tree5aefc7c318414b1288b97192f2c49a988c24495c
parent029e88fd1e6142ded73f07e2baef3e8a2a87e0ed
RDMA/mlx5: Assign profile before calling stages

Assign the profile to the IB device before executing stages. This will
allow to check which profile is being used from within a stage.

Link: https://lore.kernel.org/r/20200506071602.7177-2-leon@kernel.org
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/ib_rep.h
drivers/infiniband/hw/mlx5/main.c