I want to use above method for verify my pcie bus. but I have only one sambasd board. So I use a fpga as EP.
sambasd board(RC mode)<------>fpga(EP mode)
but I find pcie.c have define EP_SELF_IO_TEST, this is only used for EP mode.
Now I want to use EP_SELF_IO_TEST in RC mode ,Can you tell me how to change? thanks!