Revision 52e0a118a20308dd6aa531e20a5ab5907d2264c8 authored by Gal Pressman on 01 August 2019, 10:43:54 UTC, committed by Doug Ledford on 01 August 2019, 15:54:13 UTC
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>
1 parent e5366d3
History
File Mode Size
.gitignore -rw-r--r-- 55 bytes
Build -rw-r--r-- 128 bytes
Makefile -rw-r--r-- 1.8 KB
gpio-event-mon.c -rw-r--r-- 4.2 KB
gpio-hammer.c -rw-r--r-- 3.2 KB
gpio-utils.c -rw-r--r-- 7.0 KB
gpio-utils.h -rw-r--r-- 1.4 KB
lsgpio.c -rw-r--r-- 3.6 KB

back to top