My board is LS1043a which has 6 dpaa ports, my application calls rte_eth_rx_burst() on port 0 and port 1, but it returns packets that port 2 and port 3 receives respectively, but dpdk-testpmd works well.
The problem disappears with line 90-101 commented in dtb file.
89 &fsldpaa {
90 ethernet@0 {
91 fsl,fman-mac = <&enet2>;
92 };
93 ethernet@1 {
94 fsl,fman-mac = <&enet3>;
95 };
96 ethernet@2 {
97 fsl,fman-mac = <&enet0>;
98 };
99 ethernet@3 {
100 fsl,fman-mac = <&enet1>;
101 };
102 ethernet@8 {
103 status = "disabled";
104 };
105 };
DPDK's version is 20.11.7, can anybody figure out what probably causes this problem.
Solved! Go to Solution.
Please boot the target board based on the dts file fsl-ls1043a-rdb-usdpaa.dts
Please boot the target board based on the dts file fsl-ls1043a-rdb-usdpaa.dts
Thanks for replying.
I use the specific dts file for the hardware integrator's board.
Compared with the dpdk-testpmd, my application's operations of port configuration are quite simple.
Since dpdk-testpmd works well all the way and my application works well on other architectures, it must be some compatible problems of my application which I want to fix, but I just can't figure out.