Skip to content

Implementing dix_xmit and updating dix_recv.

Jonathan Hanks requested to merge jonathan-hanks/advligorts:dix_xmit into master
  • 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 -s - sending/server side test ix_test -g -c - recieving/client side test ix_test -g [-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.

Merge request reports

Loading