diff options
author | 2011-03-22 22:38:45 +0000 | |
---|---|---|
committer | 2011-03-23 12:24:24 -0700 | |
commit | 42d1e017e2f040c3e3d62b6cfa3a26351a865d04 (patch) | |
tree | 67adabb8516a4a027377039fdb7ea49b4215a8b3 /tools/perf/scripts/python | |
parent | mlx4: Add blue flame support for kernel consumers (diff) | |
download | linux-dev-42d1e017e2f040c3e3d62b6cfa3a26351a865d04.tar.xz linux-dev-42d1e017e2f040c3e3d62b6cfa3a26351a865d04.zip |
mlx4_core: maintain available field in bitmap allocator
Add mlx4_bitmap_avail() to give the number of available resources. We want to
use this as a hint to whether to allocate a resources or not. This patch is
introduced to be used with allocation blue flame registers.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions