Reducing XFI ports

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

Reducing XFI ports

Jump to solution
1,590 Views
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

Labels (1)
Tags (2)
1 Solution
1,262 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
1,263 Views
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,262 Views
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 Kudos
1,261 Views
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!
-----------------------------------------------------------------------------------------------------------------------