Re: [PATCH rdma-next v1] RDMA/irdma: Add support for address handle re-use

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

 



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



[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