On Thu, Aug 01, 2019 at 01:43:54PM +0300, Gal Pressman wrote: > 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@xxxxxxxxxx> > --- > v3: > * Reword commit message > * Change the commit in Fixes: line > > v2: > * Improve commit message > --- > drivers/infiniband/core/core_priv.h | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > Please don't forget rdmatool patch. Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>