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>
Showing
- drivers/infiniband/hw/mlx5/cmd.c 35 additions, 79 deletionsdrivers/infiniband/hw/mlx5/cmd.c
- drivers/infiniband/hw/mlx5/cmd.h 1 addition, 3 deletionsdrivers/infiniband/hw/mlx5/cmd.h
- drivers/infiniband/hw/mlx5/cong.c 2 additions, 2 deletionsdrivers/infiniband/hw/mlx5/cong.c
- drivers/infiniband/hw/mlx5/main.c 2 additions, 3 deletionsdrivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/hw/mlx5/odp.c 2 additions, 3 deletionsdrivers/infiniband/hw/mlx5/odp.c
- drivers/infiniband/hw/mlx5/srq_cmd.c 49 additions, 66 deletionsdrivers/infiniband/hw/mlx5/srq_cmd.c
Loading
Please register or sign in to comment