aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2022-03-03 18:07:58 -0600
committerJason Gunthorpe <[email protected]>2022-03-15 20:49:56 -0300
commit8a1a0be894da0d06bfbb496cc2dc3057fa83e103 (patch)
tree112aff7f000b12507aa7f66bf522b703a2aca4fd /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent63221acb0c63141cc7650f8eefb148337061e6db (diff)
RDMA/rxe: Replace mr by rkey in responder resources
Currently rxe saves a copy of MR in responder resources for RDMA reads. Since the responder resources are never freed just over written if more are needed this MR may not have a reference freed until the QP is destroyed. This patch uses the rkey instead of the MR and on subsequent packets of a multipacket read reply message it looks up the MR from the rkey for each packet. This makes it possible for a user to deregister an MR or unbind a MW on the fly and get correct behaviour. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions