We test on 20230323.npcbuf
For testing, download the data in issue and extract the data to the directory /local_transfile_rdma/npcbuf
.
sudo rdma link add rxe_name type rxe netdev xxx
xxx
is your netdev's name
- ibverbs
mkdir build
cd build
cmake ..
make
cd ..
In one terminal:
./server_test 2333
In another terminal:
./client_test 172.31.50.173 2333
server_ip
is your RoCE device ip
Success info:
client receive imm_data
3875312
写入文件成功
then you can use diff
to judge whether 20230323.npcbuf
is the same as 20230323-recv.npcbuf
.