diff options
| author | Edward Srouji <[email protected]> | 2023-06-05 10:33:24 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2023-06-11 08:26:06 +0000 |
| commit | 0cadb4db79e1d9eea66711c4031e435c2191907e (patch) | |
| tree | 658f8f6a44515a20058a8bfc8f73daa596bfb5f4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | |
| parent | RDMA/cma: Always set static rate to 0 for RoCE (diff) | |
| download | kernel-0cadb4db79e1d9eea66711c4031e435c2191907e.tar.gz kernel-0cadb4db79e1d9eea66711c4031e435c2191907e.zip | |
RDMA/uverbs: Restrict usage of privileged QKEYs
According to the IB specification rel-1.6, section 3.5.3:
"QKEYs with the most significant bit set are considered controlled
QKEYs, and a HCA does not allow a consumer to arbitrarily specify a
controlled QKEY."
Thus, block non-privileged users from setting such a QKEY.
Cc: [email protected]
Fixes: bc38a6abdd5a ("[PATCH] IB uverbs: core implementation")
Signed-off-by: Edward Srouji <[email protected]>
Link: https://lore.kernel.org/r/c00c809ddafaaf87d6f6cb827978670989a511b3.1685960567.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions
