Re: [PATCH v3 rdma-next 1/3] qedr: Add wrapping generic structure for qpidr and adjust idr routines.

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

 



On Mon, Jul 23, 2018 at 04:30:01PM +0300, Yuval Bason wrote:
> Today, we are using idr mechanism for QP's only.
> This patch prepares the qedr_idr stuctures and the idr routines for
> both QP's and SRQ's.
>
> Signed-off-by: Yuval Bason <yuval.bason@xxxxxxxxxx>
> Signed-off-by: Michal Kalderon <michal.kalderon@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/qedr/main.c       |  4 ++--
>  drivers/infiniband/hw/qedr/qedr.h       |  8 ++++++--
>  drivers/infiniband/hw/qedr/qedr_iw_cm.c | 12 +++++------
>  drivers/infiniband/hw/qedr/verbs.c      | 35 +++++++++++++++------------------
>  4 files changed, 30 insertions(+), 29 deletions(-)
>

I afraid that all calls to "idr_find" in this patch are not correct.
They should be protected with RCU.

Thanks

Attachment: signature.asc
Description: PGP signature


[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