On 2021/1/29 上午2:32, Elena Afanasova wrote:
+/* Wire protocol */ +struct ioregionfd_cmd { + __u32 info; + __u32 padding; + __u64 user_data; + __u64 offset; + __u64 data; +};
So I'm still don't understand how the kernel and userspace is synchonrized when the fd is being used simultaneously by multiple devices/regions.
It might be helpful to document the protocol in api.rst. Thanks