diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2022-12-06 21:02:01 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-12-09 19:36:02 -0400 |
commit | 124011e6e933bead5852c3f69b32dec43919fe1a (patch) | |
tree | 2505f823774cb13bfcfb7a77008868d75d4f2c2d /drivers | |
parent | 8b4d379b399d19f4c803e565bfe13f07b66b5ad7 (diff) | |
download | linux-stable-124011e6e933bead5852c3f69b32dec43919fe1a.tar.gz linux-stable-124011e6e933bead5852c3f69b32dec43919fe1a.tar.bz2 linux-stable-124011e6e933bead5852c3f69b32dec43919fe1a.zip |
RDMA/rxe: Enable RDMA FLUSH capability for rxe device
Now we are ready to enable RDMA FLUSH capability for RXE.
It can support Global Visibility and Persistence placement types.
Link: https://lore.kernel.org/r/20221206130201.30986-11-lizhijian@fujitsu.com
Reviewed-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_param.h b/drivers/infiniband/sw/rxe/rxe_param.h index bbc88cd71d95..a754fc902e3d 100644 --- a/drivers/infiniband/sw/rxe/rxe_param.h +++ b/drivers/infiniband/sw/rxe/rxe_param.h @@ -51,6 +51,8 @@ enum rxe_device_param { | IB_DEVICE_SRQ_RESIZE | IB_DEVICE_MEM_MGT_EXTENSIONS | IB_DEVICE_MEM_WINDOW + | IB_DEVICE_FLUSH_GLOBAL + | IB_DEVICE_FLUSH_PERSISTENT #ifdef CONFIG_64BIT | IB_DEVICE_MEM_WINDOW_TYPE_2B | IB_DEVICE_ATOMIC_WRITE, |