mlx5_{ib,core}: Add query SQ state helper function
authorEran Ben Elisha <eranbe@mellanox.com>
Tue, 26 Dec 2017 13:17:05 +0000 (15:17 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Mar 2018 00:17:28 +0000 (17:17 -0700)
commit2816077127230ef52cc7497903e71def45747611
treeb96121aab436892a5e47c93ef81bd6fd9b4c94c3
parentbfc647d52e67dc756c605e9a50d45b71054c2533
mlx5_{ib,core}: Add query SQ state helper function

Move query SQ state function from mlx5_ib to mlx5_core in order to
have it in shared code.

It will be used in a downstream patch from mlx5e.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/mellanox/mlx5/core/transobj.c
include/linux/mlx5/transobj.h