On Thu, Nov 08, 2018 at 05:59:59PM -0600, Tatyana Nikolova wrote: > From: "Sindhu, Devale" <sindhu.devale@xxxxxxxxx> > > The max_send_wr and max_recv_wr attributes returned in create QP do not > account for the internally reserved quantas (minimum sized WQE) used in > sizing the WQ. Thus the values reported exceed what can actually be fit > in the WQ. > > Fix this accounting for the reserve quantas when returning > max_send_wr/max_recv_wr. > > Reported-by: Stefan Assmann <sassmann@xxxxxxxxxx> > Signed-off-by: Sindhu, Devale <sindhu.devale@xxxxxxxxx> > Reviewed-by: Shiraz, Saleem <shiraz.saleem@xxxxxxxxx> > Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@xxxxxxxxx> > --- > providers/i40iw/i40iw_uverbs.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Applied to rdma-core Thanks, Jason