Due to a problem in the Intel® Quartus® Prime Pro Edition Software v21.3 and earlier, you might see the RX timestamps are shifted by 4 clock cycles for packets with SOP asserted near RS-FEC alignment marker.
As a result, the generated timestamps will have accuracy error of approximately 10 ns.
This problem occurs when both IEEE 1588 and RS-FEC are enabled in the 25G Ethernet Intel® Stratix® 10 FPGA intellectual property (IP).
There is no workaround for this problem in the Intel® Quartus® Prime Pro Edition Software v21.3 and earlier.
This problem is fixed starting from the Intel® Quartus® Prime Pro Edition Software v21.4.