[LS1043a]DPDK's port id goes wrong with my application.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[LS1043a]DPDK's port id goes wrong with my application.

跳至解决方案
696 次查看
neolee
Contributor I

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.

标记 (2)
0 项奖励
回复
1 解答
677 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please boot the target board based on the dts file fsl-ls1043a-rdb-usdpaa.dts

在原帖中查看解决方案

0 项奖励
回复
2 回复数
678 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please boot the target board based on the dts file fsl-ls1043a-rdb-usdpaa.dts

0 项奖励
回复
665 次查看
neolee
Contributor I

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.

0 项奖励
回复