talitos.c file where talitos_submit() function is defined has a
brief description of the function in comments above the function body.
The driver uses this function internally to enqueue descriptors for
processing, so the same file offers some invocation examples.
The most important parameter of this function is the SEC descriptor
(struct talitos_desc) which is recognized and processed directly in
SEC hardware. This structure is discussed in full detail in AN3645:
https://www.nxp.com/webapp/Download?colCode=AN3645
For a plain CRC32, use descriptor type 0001_0 with CRCU as the
primary EU. For iSCSI-type double CRC use descriptor type 1100_1.
This operation is discussed in detail in Section 3.14 of AN3645.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------