diff options
author | Li Zhijian <[email protected]> | 2022-12-06 21:01:53 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-12-09 19:36:01 -0400 |
commit | 208e3a134b50d95ea3962d7a37b4d8a8f5368376 (patch) | |
tree | 55b30ae528c78cca8bef1562de55cc378d75283a /lib/mpi/mpi-mod.c | |
parent | 0c17da492dc6c33cc5b99633adb4bd7b2587153c (diff) |
RDMA: Extend RDMA kernel verbs ABI to support flush
This commit extends the RDMA kernel verbs ABI to support the flush
operation defined in IBA A19.4.1. These changes are
backward compatible with the existing RDMA kernel verbs ABI.
It makes device/HCA support new FLUSH attributes/capabilities, and it
also makes memory region support new FLUSH access flags.
Users can use ibv_reg_mr(3) to register flush access flags. Only the
access flags also supported by device's capabilities can be registered
successfully.
Once registered successfully, it means the MR is flushable. Similarly,
A flushable MR should also have one or both of GLOBAL_VISIBILITY and
PERSISTENT attributes/capabilities like device/HCA.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Zhu Yanjun <[email protected]>
Signed-off-by: Li Zhijian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions