Acked-by: Kai Ji <[email protected]>

> -----Original Message-----
> From: O'Sullivan, Kevin <[email protected]>
> Sent: Monday, March 13, 2023 2:26 PM
> To: [email protected]
> Cc: Ji, Kai <[email protected]>; O'Sullivan, Kevin
> <[email protected]>; Coyle, David <[email protected]>
> Subject: [PATCH v3 2/2] crypto/qat: add cipher-crc offload support
> 
> This patch adds support to the QAT symmetric crypto PMD for combined
> cipher-crc offload feature, primarily for DOCSIS, on gen2/gen3/gen4 QAT
> devices.
> 
> A new parameter called qat_sym_cipher_crc_enable has been added to the PMD,
> which can be set on process start as follows:
> 
> -a <qat pci bdf>,qat_sym_cipher_crc_enable=1
> 
> When enabled, a capability check for the combined cipher-crc offload
> feature is triggered to the QAT firmware during queue pair initialization.
> If supported by the firmware, any subsequent runtime DOCSIS cipher-crc
> requests handled by the QAT PMD are offloaded to the QAT device by setting
> up the content descriptor and request accordingly.
> 
> If the combined DOCSIS cipher-crc feature is not supported by the firmware,
> the CRC continues to be calculated within the PMD, with just the cipher
> portion of the request being offloaded to the QAT device.
> 
> Signed-off-by: Kevin O'Sullivan <[email protected]>
> Signed-off-by: David Coyle <[email protected]>
> ---
> 2.34.1

Reply via email to