diff options
author | Eli Cohen <eli@mellanox.com> | 2017-01-03 23:55:24 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-01-09 20:24:55 +0200 |
commit | 0118717583cda6f4f36092853ad0345e8150b286 (patch) | |
tree | 2abb26bf5a267973ebe6b2d48af0faa5ce340cd7 /fs/nfs/mount_clnt.c | |
parent | a6d51b68611e98f05042ada662aed5dbe3279c1e (diff) |
net/mlx5: Add interface to get reference to a UAR
A reference to a UAR is required to generate CQ or EQ doorbells. Since
CQ or EQ doorbells can all be generated using the same UAR area without
any effect on performance, we are just getting a reference to any
available UAR, If one is not available we allocate it but we don't waste
the blue flame registers it can provide and we will use them for
subsequent allocations.
We get a reference to such UAR and put in mlx5_priv so any kernel
consumer can make use of it.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions