Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/rxe: Extend rxe user ABI to support flush

This commit extends the rxe user ABI to support the flush
operation defined in IBA A19.4.1. These changes are
backward compatible with the existing rxe user ABI.

The user API request a flush by filling this structure.

Link: https://lore.kernel.org/r/20221206130201.30986-4-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>

authored by

Li Zhijian and committed by
Jason Gunthorpe
668ce52d 208e3a13

+7
+7
include/uapi/rdma/rdma_user_rxe.h
··· 84 84 union { 85 85 struct { 86 86 __aligned_u64 remote_addr; 87 + __u32 length; 88 + __u32 rkey; 89 + __u8 type; 90 + __u8 level; 91 + } flush; 92 + struct { 93 + __aligned_u64 remote_addr; 87 94 __u32 rkey; 88 95 __u32 reserved; 89 96 } rdma;