[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rdma
Subject:    Re: Infiniband Shared Memory Segment
From:       Roland Dreier <roland () purestorage ! com>
Date:       2011-01-28 0:57:47
Message-ID: AANLkTinFgShQG3BjWqE=8QcSgNo+Q=kdiATTqJ5K4dBd () mail ! gmail ! com
[Download RAW message or body]

> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic