OSDN Git Service

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)
commit31578defe4eb816439d5e3351923e90f6321b3c8
tree73ba9696b6c1f305a2f4da60f139bfe990a98169
parente4faa478c6b8af5fc4afe20de693417354a57e4d
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