projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4d379
)
RDMA/rxe: Enable RDMA FLUSH capability for rxe device
author
Li Zhijian
<lizhijian@fujitsu.com>
Tue, 6 Dec 2022 13:02:01 +0000
(21:02 +0800)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Fri, 9 Dec 2022 23:36:02 +0000
(19:36 -0400)
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>
drivers/infiniband/sw/rxe/rxe_param.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_param.h
b/drivers/infiniband/sw/rxe/rxe_param.h
index
bbc88cd
..
a754fc9
100644
(file)
--- 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,