]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Delete Q counter allocations command
authorLeon Romanovsky <leonro@mellanox.com>
Fri, 3 Apr 2020 10:31:18 +0000 (13:31 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 12:53:20 +0000 (15:53 +0300)
commiteeb8b83cb08940e6ba886ffca897133bcf3c6f33
tree90d1367fa1597f3c3817eae94e0d0975a46fd4d5
parent2a2d56d59dd7e0df66506cd5299ac26d28760d86
RDMA/mlx5: Delete Q counter allocations command

Remove mlx5_ib implementation of Q counter allocation logic
together with cleaning boolean which controlled validity of the
counter. It is not needed, because counter_id == 0 means that
counter is not valid.

Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/cmd.c
drivers/infiniband/hw/mlx5/cmd.h
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h