diff options
| author | 2014-01-14 17:45:12 +0200 | |
|---|---|---|
| committer | 2014-01-14 13:54:23 -0800 | |
| commit | c1be5232d21de68f46637e617225b9b7c586451a (patch) | |
| tree | ca552be072b1ec232a4ca7b1d3154fd6b5f4946f /include/linux/debugobjects.h | |
| parent | mlx5_core: Remove dead code (diff) | |
IB/mlx5: Fix micro UAR allocator
The micro UAR (uuar) allocator had a bug which resulted from the fact
that in each UAR we only have two micro UARs avaialable, those at
index 0 and 1. This patch defines iterators to aid in traversing the
list of available micro UARs when allocating a uuar.
In addition, change the logic in create_user_qp() so that if high
class allocation fails (high class means lower latency), we revert to
medium class and not to the low class.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
