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

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

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

1,374 次查看
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?

标签 (2)
0 项奖励
回复
1 回复

1,135 次查看
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 项奖励
回复