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?
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
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.
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
The issue is When using the dpaa encryption engine to encrypt data by dpdk application, not for the bootup
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