This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to perform Air ciphering in fast path

Hi,

I'm using TCIEVMK2X evaluation board for design analysis and using ARM for configuring the various rules in PA/SA.

Can you please provide pointers on how to perform AIR ciphering in fast path?

 

Current I'm able to achieve following in fast path:

a. External IPSec in Tunnel mode is received on eth0 -> PDSP0 processing for L2 -> PDSP1 processing for outer IP -> SA processing for decrypting ESP packet -> PDSP2 processing for inner IP processing -> PDSP3 processing for UDP/GTPU processing.

Using command set I'm able to strip off all the head/tail headers once GTP-U rule matches and I can add additional 2 bytes for PDCP sequence number.

 

Question:

Before sending the data out (TO-AIR interface or another core DSP for RLC/MAC processing), how do I perform the DPCP air ciphering in fast path? Ideally I need to send the packet to TF_PA_TX_QUEUE_INDEX_SA0 queue, but before that how do I indicate that air ciphering needs to be performed?

I have referred SA examples test1.c to test7.c, but all these examples send packet from host (slow path). Any idea how this can be archived in fast path?

Currently I'm sending the packet to host, and then sending back to SA for air ciphering which involves slow path? How to archive this avoiding sending packet to host?

Looking forward for your inputs.

 

Thanks'n Regards,

Ashish.