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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
460 Views
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.

Tags (2)
0 Kudos
1 Solution
441 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
2 Replies
442 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
429 Views
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 Kudos