On Fri, Jun 11, 2021 at 02:10:31PM +0200, Jack Wang wrote: > From: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxx> > > We use device limit max_send_sge, which is suboptimal for memory usage. > We don't need that much for User Con, 1 is enough. And for IO con, > sess->max_segments + 1 is enough > > Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxx> > Signed-off-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxxxxxxxx> > --- > drivers/infiniband/ulp/rtrs/rtrs-clt.c | 14 ++++++++------ > drivers/infiniband/ulp/rtrs/rtrs-clt.h | 1 - > 2 files changed, 8 insertions(+), 7 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>