RE: Further thoughts on uAPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> API wise, yes it is an event channel, however, there must always be an
> FD, so if you want to do something to an event channel, it should be
> done via ioctl on that fd, not through the common fd. So 'get_fd' is
> another form of 'create_object' except that the returned object_handle
> is a fd number not an object id.
> 
> Perhaps 'create_fd_object' instead ?

I think we're pretty much in agreement, just differences in details.

I was thinking that create event channel would return an fd and implicitly define its ioctl format.  Create_fd_object is more generic, but how were you thinking of defining the ioctl format?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux