diff options
author | Gal Pressman <[email protected]> | 2019-08-01 13:43:54 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2019-08-01 11:54:13 -0400 |
commit | 52e0a118a20308dd6aa531e20a5ab5907d2264c8 (patch) | |
tree | a0060ecd4a527e68e7f9f16fa52c32b3f361274a /lib/mpi/mpi-internal.h | |
parent | e5366d309a772fef264ec85e858f9ea46f939848 (diff) |
RDMA/restrack: Track driver QP types in resource tracker
The check for QP type different than XRC has excluded driver QP
types from the resource tracker.
As a result, "rdma resource show" user command would not show opened
driver QPs which does not reflect the real state of the system.
Check QP type explicitly instead of assuming enum values/ordering.
Fixes: 40909f664d27 ("RDMA/efa: Add EFA verbs implementation")
Signed-off-by: Gal Pressman <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions