Please refer to the following update from the AE team.
Can I know which LSDK customer use?
- Good to know 'ib_ bytes_ decrypted' number consistently increase when in problematic setup, it indicates SEC hardware still work with ESP packet.
- ipsec in kernel, customer need confirm which mode is used for caam, JR mode or QI? Customer can check this with below command, root@localhost:~# cat /proc/interrupts | grep jr
76: 125 0 0 0 GICv2 103 Level 1710000.jr
77: 3113307 0 0 0 GICv2 104 Level 1720000.jr
78: 781273 0 0 0 GICv2 105 Level 1730000.jr
root@localhost:~#
root@localhost:~# cat /proc/interrupts | grep QMan
32: 0 0 0 0 GICv2 216 Level QMan portal 3
33: 0 0 0 0 GICv2 218 Level QMan portal 2
34: 0 0 0 0 GICv2 220 Level QMan portal 1
35: 50 0 0 0 GICv2 222 Level QMan portal 0
If customer use JR mode, they needn't query FQ status.
- Did customer find any error message when SEC finish ipsec decryption? For JR mode, they can check in this function,
caam_jr_dequeue() in driver/crypto/caam/jr.c userstatus = caam32_to_cpu(jr_outentry_jrstatus(jrp->outring,
hw_idx));
"userstatus" should be zero if SEC run successful. Please check this status when using JR mode.