On Mon, Feb 28, 2022 at 12:36:50PM -0600, Shiraz Saleem wrote: > From: Mustafa Ismail <mustafa.ismail@xxxxxxxxx> > > Address handles (AH) are a limited HW resource and some > user applications may create large numbers of identical AH's. > Avoid running out of AH's by reusing existing identical ones. > > Signed-off-by: Mustafa Ismail <mustafa.ismail@xxxxxxxxx> > Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx> > --- > v0->v1: > *Use a hash table instead of linear list for storing AH's > *Remove limit on number of cached AH's > *Remove check for RDMA_CREATE_AH_SLEEPABLE in create_user_ah > > drivers/infiniband/hw/irdma/main.c | 2 +- > drivers/infiniband/hw/irdma/main.h | 2 + > drivers/infiniband/hw/irdma/verbs.c | 217 ++++++++++++++++++++++++++---------- > drivers/infiniband/hw/irdma/verbs.h | 3 + > 4 files changed, 164 insertions(+), 60 deletions(-) Applied to for-next Thanks, Jason