If I develop software that uses the SEC via the 4 JobRings (bypassing QMan), will that interfere with protocol acceleration whereby the DPAA uses the SEC to decrypt or test signature of ethernet packets.

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

If I develop software that uses the SEC via the 4 JobRings (bypassing QMan), will that interfere with protocol acceleration whereby the DPAA uses the SEC to decrypt or test signature of ethernet packets.

564 Views
bruce_mcdonald
Contributor I

This is on a T2080 SOC.

0 Kudos
3 Replies

491 Views
bpe
NXP Employee
NXP Employee

Job Ring and Qman Queues are served by the same SEC hardware.
Subsequently, any crypto protocol processing done by DPAA will share
SEC bandwidth with tasks submitted through JR. See T2080SECRM,
Section 5.4 for more details on Job Scheduling.


Have a great day,
Platon

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

491 Views
bruce_mcdonald
Contributor I

Thank you for the response.

I understand that there is just 1 SEC and it can only handle one "job" at a time. But does the DPAA use the Job Ring to submit work to the SEC ?   If so, this seems like it would be an issue if we are manipulating the job rings at the same time via the cores.  Or does the DPAA have another method (like a private job ring) to submit work to the SEC ? 

Bruce

0 Kudos

491 Views
bpe
NXP Employee
NXP Employee


There is a terminology confusion. When you say "DPAA uses SEC", it means
the job is submitted via QI. QMAN  does _not_ transfer cryptographic
jobs to JR, it has another internal mechanism for that called Hardware
Portal. QI and JR are served in parallel, review the Manual/Section
mentioned in my previous post, it provides lots of details on how
cryptographic jobs coming from different interfaces are handled.
There is one SEC, but it has a high level of internal parallelism which
allows it to perform multiple cryptographic operations concurrently. Again,
details can be found in the same Manual/Section.


Have a great day,
Platon

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos