On Mon, Apr 24, 2017 at 02:58:57PM +0300, Vasiliy Tolstov wrote: > 2017-04-24 14:47 GMT+03:00 Leon Romanovsky <leon@xxxxxxxxxx>: > > On Mon, Apr 24, 2017 at 02:07:14PM +0300, Vasiliy Tolstov wrote: > >> 2017-04-24 13:42 GMT+03:00 Leon Romanovsky <leon@xxxxxxxxxx>: > >> > There are number of char devices exported by infiniband subsystem > >> > (/dev/infiniband/*) and the communication is performed with read/write > >> > interfaces to uverbs file [1]. > >> > > >> > Right now, we are in process of migration from these interfaces to ioctl > >> > based, see Matan's latest RFC [2]. > >> > >> > >> Where i can find tree with commits from [2] ? > > > > https://github.com/matanb10/linux tag: abi-devel-latest > > Thanks! > > > > >> And how much work needs to be done to get this work upstream? (1 > >> month, 6 months, years...) ? > > > > At least one kernel cycle, and after transition read/write will be > > obsolete and will be dropped. > > > > So 4.12-4.13 ? 4.12 is almost closed. We are in rc8 now and merge window will be next week, so it will be 4.13-4.14 (optimistic). > > >> If i want to try working with uverbs without C librarary, where i can > >> find some info about format of messages reader and writed to uverbs > >> device? > > > > Did you see Documentation/infiniband/user_verbs.txt? > > > https://www.kernel.org/doc/Documentation/infiniband/user_verbs.txt as > i see this nothing says about format of data writed/readed... > See in include/uapi/rdma/ib_user_verbs.h, User fills struct from that file, and kernel performs copy_from_user to extract the data. That's all. Thanks > -- > Vasiliy Tolstov, > e-mail: v.tolstov@xxxxxxxxx > -- > 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
Attachment:
signature.asc
Description: PGP signature