IB/mlx5: Add delay drop configuration and statistics
authorMaor Gottlieb <maorg@mellanox.com>
Tue, 30 May 2017 07:29:14 +0000 (10:29 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:40:22 +0000 (10:40 -0400)
commitfe248c3a5837848717ed566fb4aefe66f43a5e53
treea130f4950fb15723de97cd5938c992ea840a1ba6
parent03404e8ae652e02a5e3388224836cef53d7a0988
IB/mlx5: Add delay drop configuration and statistics

Add debugfs interface for monitor the number of delay drop timeout
events and the number of existing dropless RQs in the system.

In addition add debugfs interface for configuring the global timeout value
which is used in the SET_DELAY_DROP command.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c