summaryrefslogtreecommitdiff
path: root/rust/kernel/workqueue.rs
diff options
context:
space:
mode:
authorZhiwei Zhang <202275009@qq.com>2026-06-26 09:59:20 +0800
committerLeon Romanovsky <leon@kernel.org>2026-07-05 09:45:02 -0400
commitfbbe1d5cd7d400a98afcf337969cfdb808cb198f (patch)
tree887c394e3deff9a4bbdb5e5962f3cd6f525bc555 /rust/kernel/workqueue.rs
parent4dc9c884c0aafac1e8d37536d88d485135e26883 (diff)
RDMA/rxe: Check PDs for memory window binds
The IBTA Software Transport Verbs specification requires the QP, Memory Window and Memory Region for a Bind Memory Window operation to belong to the same HCA and protection domain. rxe only checked the QP and MW protection domain for type 2 MWs. Move the QP/MW PD check to the common bind path and also reject binding an MW to an MR from a different PD. Invalid bind requests continue to fail with IB_WC_MW_BIND_ERR. Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Zhiwei Zhang <202275009@qq.com> Link: https://patch.msgid.link/tencent_FD4FB25AA4FFA845E63F5AC36CF4A46CDC0A@qq.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions