AnsweredAssumed Answered

[LX2160ARDB] dpni.2 belonging to dprc.2 have no ethernet interface?

Question asked by Lichang Wu on Aug 19, 2019
Latest reply on Aug 20, 2019 by Yiping Wang

I'm a new user for NXP LX2160ARDB, also for DPDK programming, my project is using LX2160.

 

1. current environment already exists dprc.1

When I execute the command, "/usr/local/dpdk/dpaa2/dynamic_dpl.sh dpmac.3"

The result is,

root@localhost:~# ls-listni

dprc.1/dpni.1 (interface: eth0, end point: dpmac.2)
dprc.1/dpni.0 (interface: eth1, end point: dpmac.17)
dprc.1/dprc.2/dpni.2 (end point: dpmac.3)

But I find there's no interface for dpmac.3.

 

2.If I execute the command after reboot, "ls-addni dpmac.3", not the above command.

root@localhost:~# ls-listni
dprc.1/dpni.1 (interface: eth0, end point: dpmac.2)
dprc.1/dpni.0 (interface: eth1, end point: dpmac.17)
root@localhost:~# ls-addni dpmac.3
Created interface: eth2 (object:dpni.2, endpoint: dpmac.3)
root@localhost:~# ls-listni      
dprc.1/dpni.2 (interface: eth2, end point: dpmac.3)
dprc.1/dpni.1 (interface: eth0, end point: dpmac.2)
dprc.1/dpni.0 (interface: eth1, end point: dpmac.17)

 

I know there's a difference about dprc, How can do dpni.2 belonging to dprc.2 have a ethernet interface?

Outcomes