Ask about sw - rdma_service
Hi all, I have question about sw_app (rdma_service)
- How wback works ? - (used in function bThread::checkCompleted)
- How to get ctid ? - (used in function Constructor bThread)
@maximilianheer can you help with this?
Writeback is a memory mapped region. It's a set of control registers for each vFPGA that gets incremented every time a data transfer is completed (there are dedicated registers for local writes, local reads, remote writes and remote reads). The host software (bThread) memory maps these registers into its own memory space and polls on this values to check for completion.
The ctid (Coyote thread ID) can be obtained through the getter, getCtid(). However, when first initialising the thread, user do not need to pass the thread ID --- instead the Coyote driver generates a unique. The thread IDs start from zero and are incremented by 1 every time a coyote thread is created.