]> 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)
commit874516aa52c1ef561a5b0a4ef805212e48a598ad
tree4e46f16bddb50a93de0328b4cf8c82ad0864ac29
parentcd82870d9e4565ea5fb2c0a3214d57fdf15f6765
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