Acked-by: Kai Ji <kai...@intel.com>
> -----Original Message-----
> From: O'Sullivan, Kevin <kevin.osulli...@intel.com>
> Sent: Monday, March 13, 2023 2:26 PM
> To: dev@dpdk.org
> Cc: Ji, Kai <kai...@intel.com>; O'Sullivan, Kevin
> <kevin.osulli...@intel.com>; Coyle, David <david.co...@intel.com>
> 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 <kevin.osulli...@intel.com>
> Signed-off-by: David Coyle <david.co...@intel.com>
> ---
> 2.34.1