Coyote icon indicating copy to clipboard operation
Coyote copied to clipboard

Ask about sw - rdma_service

Open LongHai1852 opened this issue 1 year ago • 1 comments

Hi all, I have question about sw_app (rdma_service)

  1. How wback works ? - (used in function bThread::checkCompleted)
  2. How to get ctid ? - (used in function Constructor bThread)

LongHai1852 avatar Oct 09 '24 04:10 LongHai1852

@maximilianheer can you help with this?

bo3z avatar Oct 22 '24 16:10 bo3z

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.

bo3z avatar Jul 02 '25 14:07 bo3z