On Sun, Nov 15, 2015 at 01:30:56PM +0200, Hagay Abramovsky wrote:
> From: Haggai Abramonvsky
>
> +
> +int32_t mlx5_store_uidx(struct mlx5_context *ctx, void *rsc)
> +{
> + int32_t tind;
> + int32_t ret = -1;
You don't need this variable. Just initialize uidx and return uidx
always.
> +
From: Haggai Abramonvsky
Add new database that stores all the QPs and XSRQs context. Insertions
and deletions to the database are done using the object's user-index.
This database will allow us to retrieve the objects; QPs and XSRQs; by
their user-index in the poll_one.
Change-Id: I3b87e79be35c