From: Rao Shoaib <rao.shoaib@xxxxxxxxxx> I have incorportaed suggestions from Jason. There are two patches. Patch #1 introduces max WQE size as suggested by Jason Patch #2 allocates resources requested and makes sure that the buffer size is same for SG entries and inline data, maximum of the two values requested is used. Rao Shoaib (2): Introduce maximum WQE size to check limits SGE buffer and max_inline data must have same size drivers/infiniband/sw/rxe/rxe_param.h | 7 ++++++- drivers/infiniband/sw/rxe/rxe_qp.c | 23 +++++++++++------------ 2 files changed, 17 insertions(+), 13 deletions(-) -- 1.8.3.1