aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/siw/siw_mem.h
diff options
context:
space:
mode:
authorRao Shoaib <rao.shoaib@oracle.com>2020-01-13 16:41:20 -0800
committerJason Gunthorpe <jgg@mellanox.com>2020-01-15 16:36:41 -0400
commit363824f92a9259b025f05ab038eb47224377f9e9 (patch)
tree6f6c67951e10e687ab545e22f91dd97b2bd1d425 /drivers/infiniband/sw/siw/siw_mem.h
parentIntroduce maximum WQE size to check limits (diff)
downloadlinux-dev-363824f92a9259b025f05ab038eb47224377f9e9.tar.xz
linux-dev-363824f92a9259b025f05ab038eb47224377f9e9.zip
RDMA/rxe: Compute the maximum sges and inline size based on the WQE size
The SGE buffer size and max_inline data should be derived from the size of the WQE. Each value individually sets the WQE size, so compute the actual sizes based on the actual WQE size and configure the QP with the maximums. Also fix the missing return of the actual maximum capability to the caller. Link: https://lore.kernel.org/r/1578962480-17814-3-git-send-email-rao.shoaib@oracle.com Signed-off-by: Rao Shoaib <rao.shoaib@oracle.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/siw/siw_mem.h')
0 files changed, 0 insertions, 0 deletions