]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add Raw Packet QP query functionality
authormajd@mellanox.com <majd@mellanox.com>
Thu, 14 Jan 2016 17:13:05 +0000 (19:13 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 21 Jan 2016 17:01:09 +0000 (12:01 -0500)
commita1981e194cc1b6c6b6fb60c3aeb0bfbefa57b9a1
tree4e46f16bddb50a93de0328b4cf8c82ad0864ac29
parent81553e4248b167d25df62d47aa3a2928de4ec85f
IB/mlx5: Add Raw Packet QP query functionality

Since Raw Packet QP is composed of RQ and SQ, the IB QP's
state is derived from the sub-objects. Therefore we need
to query each one of the sub-objects, and decide on the
IB QP's state.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/mellanox/mlx5/core/transobj.c
include/linux/mlx5/qp.h
include/linux/mlx5/transobj.h