On Fri, Feb 25, 2022 at 07:25:58PM +0800, Wenpeng Liang wrote: > From: Chengchang Tang <tangchengchang@xxxxxxxxxx> > > Abstract the alloc_srqc() into several parts and separate the alloc_srqn() > from the alloc_srqc(). > > Signed-off-by: Chengchang Tang <tangchengchang@xxxxxxxxxx> > Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_srq.c | 80 +++++++++++++++--------- > 1 file changed, 52 insertions(+), 28 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>