Implementing dix_xmit and updating dix_recv.
* Renamed the cmake target ix_xmit to dix_xmit. Copied in code from mx2ix.c, removed the mx specific bits. * Reformatted local_dc.c, explicitly checking for 64bit alignment in tests * fe_stream_check requires that the dataCycleSize is 8 byte aligned. * Adding a simple test program to the ix_stream area. ix_test -g <num> -s - sending/server side test ix_test -g <num> -c - recieving/client side test ix_test -g <num> [-c] -d - recieving side, dump first 64 bytes of data * dix_xmit waits for the input buffer to be valid before checking buffers. If you read the input mbuf before it is ready you will likely have invalid input and will make bad assumptions about buffer lengths and data strides. So wait until data is ready and then start up. * Moved ix_fb_rcv.c to dix_recv.c. Ran clang-format on the code. Reviewed the program arguments.
parent
71eefa68
No related branches found
No related tags found
Showing
- src/fe_stream_test/fe_stream_check.cc 6 additions, 0 deletionssrc/fe_stream_test/fe_stream_check.cc
- src/ix_stream/CMakeLists.txt 6 additions, 3 deletionssrc/ix_stream/CMakeLists.txt
- src/ix_stream/Makefile 46 additions, 46 deletionssrc/ix_stream/Makefile
- src/ix_stream/dix_recv.c 237 additions, 0 deletionssrc/ix_stream/dix_recv.c
- src/ix_stream/dix_xmit.c 653 additions, 0 deletionssrc/ix_stream/dix_xmit.c
- src/ix_stream/ix_fb_rcv.c 0 additions, 224 deletionssrc/ix_stream/ix_fb_rcv.c
- src/ix_stream/ix_test.c 196 additions, 0 deletionssrc/ix_stream/ix_test.c
- src/ix_stream/ix_xmit.c 0 additions, 7 deletionssrc/ix_stream/ix_xmit.c
- src/local_dc/local_dc.c 571 additions, 480 deletionssrc/local_dc/local_dc.c
Loading
Please register or sign in to comment