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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
600件の閲覧回数
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 解決策
581件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
582件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
569件の閲覧回数
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 件の賞賛
返信