Reducing XFI ports

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

Reducing XFI ports

跳至解决方案
1,995 次查看
naveennvn
Contributor III

Hi all,

     I'm using ls2085aqds board. It contains 8 xfi ports. while booting u-boot and kernel it shows 12 interfaces.

  

     1.may i know what are all the remaining four interfaces?

     2.And how to remove those interfaces?  Because those interfaces took more time consumption. So i need to reduce that.

     3.my requirement is only 4 xfi ports, remaining ports i need to disable, for that what are all the changes need to do ?

Logs :

1.U-Boot :

      DPNI1 [PRIME], DPNI2, DPNI3, DPNI4, DPNI5, DPNI6, DPNI7, DPNI8, DPNI9, DPNI10, DPNI11, DPNI12

2. Kernel :

[    9.914707] fsl_ldpaa_eth dpni.1: ldpaa ethernet: Probed interface ni1

[   10.984891] fsl_ldpaa_eth dpni.2: ldpaa ethernet: Probed interface ni2

[   12.057551] fsl_ldpaa_eth dpni.3: ldpaa ethernet: Probed interface ni3

[   13.130733] fsl_ldpaa_eth dpni.4: ldpaa ethernet: Probed interface ni4

[   14.203885] fsl_ldpaa_eth dpni.5: ldpaa ethernet: Probed interface ni5

[   15.277054] fsl_ldpaa_eth dpni.6: ldpaa ethernet: Probed interface ni6

[   16.350270] fsl_ldpaa_eth dpni.7: ldpaa ethernet: Probed interface ni7

[   17.422924] fsl_ldpaa_eth dpni.8: ldpaa ethernet: Probed interface ni8

[   18.495092] fsl_ldpaa_eth dpni.9: ldpaa ethernet: Probed interface ni9

[   19.573250] fsl_ldpaa_eth dpni.10: ldpaa ethernet: Probed interface ni10

[   20.651592] fsl_ldpaa_eth dpni.11: ldpaa ethernet: Probed interface ni11

[   21.729916] fsl_ldpaa_eth dpni.12: ldpaa ethernet: Probed interface ni12

Thanks,

-Naveen

标签 (1)
标记 (2)
1 解答
1,667 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Naveen,

You could modify DPL configuration to implement your purpose.

The data path layout file(DPL) defines the containers crated during MC initialization, DPL source is provided in the package dpl-examples. Please use the following procedure to modify and rebuild it.

1. bitbake dpl-examples -c patch -f

2. Get dpl source in tmp/work/aarch64-fsl-linux/dpl-examples/git-r0/git/ls2085a/QDS, delete unused DPNI interfaces in dpl-eth.0x2A_0x49.dts.

3. Rebuild dpl image.

bitbake dpl-examples -c compile -f

bitbake dpl-examples


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

3 回复数
1,668 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Naveen,

You could modify DPL configuration to implement your purpose.

The data path layout file(DPL) defines the containers crated during MC initialization, DPL source is provided in the package dpl-examples. Please use the following procedure to modify and rebuild it.

1. bitbake dpl-examples -c patch -f

2. Get dpl source in tmp/work/aarch64-fsl-linux/dpl-examples/git-r0/git/ls2085a/QDS, delete unused DPNI interfaces in dpl-eth.0x2A_0x49.dts.

3. Rebuild dpl image.

bitbake dpl-examples -c compile -f

bitbake dpl-examples


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,667 次查看
naveennvn
Contributor III

Hi Yiping,

     Thanks for your great support,

     Now i could able to reduce the xfi ports and time also reduced.

     But my doubt is here we are having only 8 ports then why its showing 12 interfaces while booting? what are all the remaining interfaces?

     In dpl file 20 dpmcp are there. what it DPMCP? what it does?

Thanks,

-Naveen

0 项奖励
回复
1,666 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello naveennvn,

DPNI(Datapath Network Interfaces) maps the physical DPMAC(XFI, SGMII as fixed links).

DPMCP means DPAA MC Portal.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------