summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMichal Kalderon <michal.kalderon@marvell.com>2020-07-07 09:31:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-19 09:26:36 +0300
commitbdb550b1e4205881f7598e32d2fab9133ef0a694 (patch)
treecb908d8df8291379ed56e85f8ef94c7a7bcc2740 /security
parent06e28eb3bcef5eefe3500feefd05b9b559cebbf3 (diff)
downloadlinux-bdb550b1e4205881f7598e32d2fab9133ef0a694.tar.xz
RDMA/qedr: Add EDPM max size to alloc ucontext response
[ Upstream commit eb7f84e379daad69b4c92538baeaf93bbf493c14 ] User space should receive the maximum edpm size from kernel driver, similar to other edpm/ldpm related limits. Add an additional parameter to the alloc_ucontext_resp structure for the edpm maximum size. In addition, pass an indication from user-space to kernel (and not just kernel to user) that the DPM sizes are supported. This is for supporting backward-forward compatibility between driver and lib for everything related to DPM transaction and limit sizes. This should have been part of commit mentioned in Fixes tag. Link: https://lore.kernel.org/r/20200707063100.3811-3-michal.kalderon@marvell.com Fixes: 93a3d05f9d68 ("RDMA/qedr: Add kernel capability flags for dpm enabled mode") Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions