OSDN Git Service

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)
commitbfd745f8f327c40d74c8207ca62db05a264b5b7c
tree90d1367fa1597f3c3817eae94e0d0975a46fd4d5
parent66247fbb280c2a699a8621708c52dae6acd2e4bc
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