linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] RDMA/rxe: rxe should use same buffer size for SGE's and inline data
@ 2020-01-16 18:30 rao Shoaib
  2020-01-16 18:30 ` [PATCH v4 1/2] RDMA/rxe: use RXE_MAX_WQE_SIZE to enforce limits rao Shoaib
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rao Shoaib @ 2020-01-16 18:30 UTC (permalink / raw)
  To: linux-rdma
  Cc: jgg, monis, dledford, sean.hefty, hal.rosenstock, linux-kernel,
	Rao Shoaib

From: Rao Shoaib <rao.shoaib@oracle.com>

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-16 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 18:30 [PATCH v4 0/2] RDMA/rxe: rxe should use same buffer size for SGE's and inline data rao Shoaib
2020-01-16 18:30 ` [PATCH v4 1/2] RDMA/rxe: use RXE_MAX_WQE_SIZE to enforce limits rao Shoaib
2020-01-16 18:30 ` [PATCH v4 2/2] RDMA/rxe: SGE buffer and max_inline data must have same size rao Shoaib
2020-01-16 19:20 ` [PATCH v4 0/2] RDMA/rxe: rxe should use same buffer size for SGE's and inline data Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).