> What kind of data might be located within the memory pointed to by the > FD? I.e. Could there be configuration information for the connection > and/or HCA? Could there be the data waiting to be sent (although I > don't believe the HCA buffers)? Would it just be the command sent to > the HCA?
I'm not sure what you mean by "memory pointed to by the FD". File descriptors don't point to memory, do they? /dev/infiniband/uverbs0 is used for two things: userspace does write() on it to tell the kernel to do various control path things like creating QPs, modifying QPs, etc. Also userpace does mmap() on it to get access to a device-specific region; on many adapters it is used to map PCI BAR space directly into the userspace process for kernel bypass on data path operations. The event file is used for the kernel to return async events to userspace. - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
