LS1046A DPAA Sec with Hugepage Size 2M Issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1046A DPAA Sec with Hugepage Size 2M Issue

1,245件の閲覧回数
Brand
Contributor I

Hi NXP, Since we are trying to use 2M huagepage size at LS1046A platform, but meet dpaa_sec rte_cryptodev_dequeue_burst fail issue, but if we used 1G hugepage size, it was worked, so is there any limiation for this part or some config we need modified for this case?

 

BTW, does LS1046A support 512M hugepage size?

タグ(1)
0 件の賞賛
5 返答(返信)

1,200件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Do you use DPDK application? 

According to LSDK 21.08 user manual, please boot up the target board with the following bootargs.

For LS1046ARDB
default_hugepagesz=1024m hugepagesz=1024m hugepages=4 isolcpus=1-3 bportals=s0 qportals=s0 iommu.passthrough=1

0 件の賞賛

1,197件の閲覧回数
Brand
Contributor I

Hi,

Yes, use the dpdk sec application, I know default it is 1024M hugepagesz, but we need to change hugepagesz to 2M due to some limiation memory, but after changed meet the issue, so we want to know is there any limiation if we used 2M hugepagesz.

0 件の賞賛

1,194件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

I used the following bootargs, didn't encounter any problem on LS1046ARDB.

setenv othbootargs      console=ttyS0,115200  earlycon=uart8250,mmio,0x21c0500  ramdisk_size=0x40000000  bportals=s0 qportals=s0  isolcpus=1-3 default_hugepagesz=2m hugepagesz=2m hugepages=448 nmi_watchdog=0 rcupdate.rcu_cpu_stall_suppress=1

0 件の賞賛

1,165件の閲覧回数
Brand
Contributor I

The issue is When using the dpaa encryption engine to encrypt data by dpdk application, not for the bootup

0 件の賞賛

1,150件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

After booting up the system with the following bootargs, I run dpdk-ipsec-secgw successfully.

setenv othbootargs      console=ttyS0,115200  earlycon=uart8250,mmio,0x21c0500  ramdisk_size=0x40000000  bportals=s0 qportals=s0  isolcpus=1-3 default_hugepagesz=2m hugepagesz=2m hugepages=448 nmi_watchdog=0 rcupdate.rcu_cpu_stall_suppress=1

0 件の賞賛