summaryrefslogtreecommitdiff
path: root/lib/strnlen_user.c
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2019-08-01 13:43:54 +0300
committerDoug Ledford <dledford@redhat.com>2019-08-01 11:54:13 -0400
commit52e0a118a20308dd6aa531e20a5ab5907d2264c8 (patch)
treea0060ecd4a527e68e7f9f16fa52c32b3f361274a /lib/strnlen_user.c
parente5366d309a772fef264ec85e858f9ea46f939848 (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 <galpress@amazon.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Link: https://lore.kernel.org/r/20190801104354.11417-1-galpress@amazon.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/strnlen_user.c')
0 files changed, 0 insertions, 0 deletions