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

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

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

1,365 Views
wulichang
Contributor I

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?

Labels (2)
0 Kudos
Reply
1 Reply

1,126 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Lichang Wu,

dpni.2 belonging  to dprc.2 is assigned to DPDK, so Linux cannot see it(no interface). dprc.1 is assigned to Linux.

Thanks,

Yiping

0 Kudos
Reply