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
File | Mode | Size |
---|---|---|
api | ||
bpf | ||
lockdep | ||
subcmd | ||
symbol | ||
traceevent | ||
argv_split.c | -rw-r--r-- | 1.7 KB |
bitmap.c | -rw-r--r-- | 1.6 KB |
ctype.c | -rw-r--r-- | 1.3 KB |
find_bit.c | -rw-r--r-- | 3.0 KB |
hweight.c | -rw-r--r-- | 1.8 KB |
rbtree.c | -rw-r--r-- | 16.9 KB |
str_error_r.c | -rw-r--r-- | 1.0 KB |
string.c | -rw-r--r-- | 3.2 KB |
vsprintf.c | -rw-r--r-- | 900 bytes |
zalloc.c | -rw-r--r-- | 197 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...