[PATCH v4 0/2] RDMA/rxe: rxe should use same buffer size for SGE's and inline data

From: rao Shoaib
Date: Thu Jan 16 2020 - 13:30:52 EST


From: Rao Shoaib <rao.shoaib@xxxxxxxxxx>

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):
RDMA/rxe: use RXE_MAX_WQE_SIZE to enforce limits
RDMA/rxe: 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 | 28 ++++++++++++++++------------
2 files changed, 22 insertions(+), 13 deletions(-)

--
1.8.3.1