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