commit | 18b0362e87dfa09e355093b897b9db854e360d28 | [log] [tgz] |
---|---|---|
author | Yishai Hadas <yishaih@mellanox.com> | Mon May 07 10:20:01 2018 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed May 09 10:39:50 2018 -0400 |
tree | 07777976c5309485da157c7801206314e2c48f05 | |
parent | f9e76ca3771bf23d2142a81a88ddd8f31f5c4c03 [diff] |
RDMA/mlx5: Don't assume that medium blueFlame register exists User can leave system without medium BlueFlames registers, however the code assumed that at least one such register exists. This patch fixes that assumption. Fixes: c1be5232d21d ("IB/mlx5: Fix micro UAR allocator") Reported-by: Rohit Zambre <rzambre@uci.edu> Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>