SEC engine report error 0x200011aa when using DPDK cryptodev APIs

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

SEC engine report error 0x200011aa when using DPDK cryptodev APIs

101 Views
BrylianYu
Contributor I

Hi NXP Team,

We found a issue that happens sometimes when using DPDK cryptodev APIs on dpdk-LSDK20.04-isc-14.


The calling of function rte_cryptodev_dequeue_burst will trigger many error reports of SEC, they are:

PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
PMD: SEC return err:0x200011aa
malloc(): smallbin double linked list corrupted

 

What is the meaning of the return err 0x200011aa?
And what problem could lead to these SEC error reports along with the malloc error?
Could you please supply us some assistance or advice?

0 Kudos
2 Replies

46 Views
hemantagrawal
NXP Employee
NXP Employee

Hi,

The Error means: 200011AA: CCB: IDX=17, SIHA: ICV check failed

There may be various reasons for it, corrupted packet is one of them.

Please confirm following

1. which platform ?

2. What is the use-case, which algorithm and which protocol?

3. Can you try it with LSDK20.04-isc-20 tag and enable following dumps to get more info:

When running the binary, please export following env variables. This will generate error dump on error condition.

export DPAA_SEC_DP_DUMP_LEVEL=2

export DPAA2_SEC_DP_DUMP_LEVEL=2

 

0 Kudos

67 Views
yipingwang
NXP TechSupport
NXP TechSupport

The API rte_cryptodev_dequeue_burst is also invoked in examples/l2fwd-crypto/main.c.

Please run l2fwd-crypto in your environment to check whether there is problem.

If there is no problem with l2fwd-crypto application, please check whether your parameters specified to function rte_cryptodev_dequeue_burst are correct.

Please refer to doc/guides/prog_guide/cryptodev_lib.rst in DPDK source code.

0 Kudos