summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/cmd.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-04-03 12:31:18 +0200
committerLeon Romanovsky <leonro@mellanox.com>2020-04-19 14:53:20 +0200
commitbfd745f8f327c40d74c8207ca62db05a264b5b7c (patch)
tree90d1367fa1597f3c3817eae94e0d0975a46fd4d5 /drivers/infiniband/hw/mlx5/cmd.h
parentnet/mlx5: Remove Q counter low level helper APIs (diff)
downloadlinux-bfd745f8f327c40d74c8207ca62db05a264b5b7c.tar.xz
linux-bfd745f8f327c40d74c8207ca62db05a264b5b7c.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/cmd.h')
-rw-r--r--drivers/infiniband/hw/mlx5/cmd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx5/cmd.h b/drivers/infiniband/hw/mlx5/cmd.h
index 945ebce73613..43079b18d9b4 100644
--- a/drivers/infiniband/hw/mlx5/cmd.h
+++ b/drivers/infiniband/hw/mlx5/cmd.h
@@ -61,8 +61,6 @@ int mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid,
u32 qpn, u16 uid);
int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid);
int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid);
-int mlx5_cmd_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id,
- u16 uid);
int mlx5_cmd_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb,
u16 opmod, u8 port);
#endif /* MLX5_IB_CMD_H */