LS1046A DPAA Sec with Hugepage Size 2M Issue

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

LS1046A DPAA Sec with Hugepage Size 2M Issue

1,161 Views
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?

Tags (1)
0 Kudos
5 Replies

1,116 Views
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 Kudos

1,113 Views
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 Kudos

1,110 Views
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 Kudos

1,081 Views
Brand
Contributor I

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

0 Kudos

1,066 Views
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 Kudos