]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Update mlx5_ib to use new cmd interface
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 6 May 2020 06:55:11 +0000 (09:55 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 20:42:45 +0000 (17:42 -0300)
commit5f6541f54dce8a341f211ef52e0c6c43aaa855b5
tree73ba9696b6c1f305a2f4da60f139bfe990a98169
parent144e4a405fe5d21ef263ae716d4b70fe585734b8
RDMA/mlx5: Update mlx5_ib to use new cmd interface

Reuse newly introduced mlx5_cmd_exec_in() and mlx5_cmd_exec_inout() to
reduce code duplication in mlx5_ib module.

Link: https://lore.kernel.org/r/20200506065513.4668-2-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/cmd.c
drivers/infiniband/hw/mlx5/cmd.h
drivers/infiniband/hw/mlx5/cong.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/odp.c
drivers/infiniband/hw/mlx5/srq_cmd.c