I successfully enabled FEC and I am not using AN/LT (its disabled). I am basically including "-kr.dtsi" files for mac9 and mac10 to be able to access registers to write FEC_ENAB. When I say throughput in the next lines for example 4gbps I mean on 2x 4gbps is generated from network tester to board. BERT test is running (L2 traffic test termination). And when I start VPP so that mac9 and mac10 are bridged I see that errors are smaller, on one port there is 0 errors and on other port there is no errors when throughput is smaller (<4gbps) and when there is throughput >4gbps errors are around BER ratio 2E-08 and smaller (E-09). But those measurements are when the system is idle (not using console at all). But when I do something, for example start top program, press Enter multiple times, errors are increasing (BER ratio E-07, E-06). So I made a script that is doing memcpy fast (to put pressure on ddr) and I saw that I got a lot of bit errors (BER ratio is going up to E-04 for throughputs bigger than 7gbps) on MTS5800 network tester. My setup is like this:
DPDK + VPP (main core 1, workers 2 and 3), isolcpus=1-3, nohz_full=1-3, rcu_nocbs=1-3, iommu_passthrough=1, hugepagessz=2m, number of hugepages 512.
Is there maybe DDR bandwidth bottleneck in higher network throughputs?