On Thu, 2019-08-01 at 15:12 +0300, Leon Romanovsky wrote: > 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> Thanks, applied to for-rc. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part