Re: [PATCH rdma-core 1/1] mlx5: Fix bug in disabling lock on extended CQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 10, 2018 at 12:48:41PM +0000, Rohit Zambre wrote:
> Currently, the lock on an extended CQ is still taken even if the user sets
> the IBV_CREATE_CQ_ATTR_SINGLE_THREADED flag. This is because the
> MLX5_CQ_FLAGS_SINGLE_THREADED flag is not set before mlx5_cq_fill_pfns.
> 
> This patch sets the MLX5_CQ_FLAGS_SINGLE_THREADED flag after allocating
> the extended CQ and before calling mlx5_cq_fill_pfns, allowing correct
> control on the lock in mlx5_start_poll and mlx5_end_poll.
> 
> Thanks,
> Signed-off-by: Rohit Zambre <rzambre@xxxxxxx>
> ---
>  providers/mlx5/verbs.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Sure looks right to me, Yishai?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux