|
| | Server (const std::string &deviceName, uint8_t ibPort, uint8_t gidIndex, uint32_t maxPayload, uint32_t rxQueueDepth) |
| |
| | ~Server () |
| |
| void | stop () |
| |
| void | setFpgaGid (const std::string &gidBytes) |
| |
| void | completeConnection (uint32_t fpgaQpn, uint32_t fpgaRqPsn, uint32_t pmtu=5, uint32_t minRnrTimer=1) |
| |
| uint32_t | getQpn () const |
| |
| std::string | getGid () const |
| |
| uint32_t | getRqPsn () const |
| |
| uint32_t | getSqPsn () const |
| |
| uint64_t | getMrAddr () const |
| |
| uint32_t | getMrRkey () const |
| |
| uint64_t | getFrameCount () const |
| |
| uint64_t | getByteCount () const |
| |
| void | acceptFrame (rogue::interfaces::stream::FramePtr frame) override |
| |
| | Core (const std::string &deviceName, uint8_t ibPort, uint8_t gidIndex, uint32_t maxPayload=DefaultMaxPayload) |
| | Creator.
|
| |
| virtual | ~Core () |
| | Destructor - releases the protection domain and closes the ibverbs context.
|
| |
| uint32_t | maxPayload () const |
| |
| | Master () |
| | Constructs a stream master.
|
| |
| virtual | ~Master () |
| | Destroys the stream master.
|
| |
| uint32_t | slaveCount () |
| | Returns the number of attached slaves.
|
| |
| void | addSlave (std::shared_ptr< rogue::interfaces::stream::Slave > slave) |
| | Attaches a downstream slave.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Frame > | reqFrame (uint32_t size, bool zeroCopyEn) |
| | Requests allocation of a new frame from the primary slave.
|
| |
| void | sendFrame (std::shared_ptr< rogue::interfaces::stream::Frame > frame) |
| | Sends a frame to all attached slaves.
|
| |
| bool | ensureSingleBuffer (std::shared_ptr< rogue::interfaces::stream::Frame > &frame, bool reqEn) |
| | Ensures a frame is represented by a single buffer.
|
| |
| void | equalsPy (boost::python::object p) |
| | Supports == operator usage from Python.
|
| |
| boost::python::object | rshiftPy (boost::python::object p) |
| | Supports >> operator usage from Python.
|
| |
| void | operator== (std::shared_ptr< rogue::interfaces::stream::Slave > &other) |
| | Supports == operator usage in C++.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Slave > & | operator>> (std::shared_ptr< rogue::interfaces::stream::Slave > &other) |
| | Connects this master to a slave via stream chaining operator.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Master > | shared_from_this () |
| | Returns a shared_ptr<T> for this instance.
|
| |
| virtual | ~EnableSharedFromThisBase () |
| | Virtual destructor for polymorphic base usage.
|
| |
| | Slave () |
| | Constructs a stream slave.
|
| |
| virtual | ~Slave () |
| | Destroys the stream slave.
|
| |
| void | setDebug (uint32_t debug, std::string name) |
| | Sets debug message verbosity and logger name.
|
| |
| uint64_t | getFrameCount () |
| | Returns frame counter.
|
| |
| uint64_t | getByteCount () |
| | Returns byte counter.
|
| |
| bool | ensureSingleBuffer (std::shared_ptr< rogue::interfaces::stream::Frame > &frame, bool reqEn) |
| | Ensures frame is backed by a single buffer.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Frame > | reqLocalFrame (uint32_t size, bool zeroCopyEn) |
| | Services a local frame allocation request through this object's pool interface.
|
| |
| boost::python::object | lshiftPy (boost::python::object p) |
| | Supports << operator usage from Python.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Master > & | operator<< (std::shared_ptr< rogue::interfaces::stream::Master > &other) |
| | Connects this slave to a master via stream chaining operator.
|
| |
| | Pool () |
| | Constructs a pool with default allocation behavior enabled.
|
| |
| virtual | ~Pool () |
| | Destroys the pool and releases any cached buffer storage.
|
| |
| uint32_t | getAllocBytes () |
| | Returns total currently allocated bytes.
|
| |
| uint32_t | getAllocCount () |
| | Returns total currently allocated buffer count.
|
| |
| virtual std::shared_ptr< rogue::interfaces::stream::Frame > | acceptReq (uint32_t size, bool zeroCopyEn) |
| | Services a frame allocation request from a master.
|
| |
| void | setFixedSize (uint32_t size) |
| | Sets fixed-size mode.
|
| |
| uint32_t | getFixedSize () |
| | Returns fixed-size allocation setting.
|
| |
| void | setPoolSize (uint32_t size) |
| | Sets buffer pool size.
|
| |
| uint32_t | getPoolSize () |
| | Returns configured maximum number of cached pool entries.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Pool > | shared_from_this () |
| | Returns a shared_ptr<T> for this instance.
|
| |
| std::shared_ptr< rogue::interfaces::stream::Slave > | shared_from_this () |
| | Returns a shared_ptr<T> for this instance.
|
| |
Definition at line 41 of file Server.h.