[dpdk-dev] [PATCH v3 00/38] crypto/qat: refactor to support multiple services
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Thu Jun 14 12:59:59 CEST 2018
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tomasz Jozwiak
> Sent: Wednesday, June 13, 2018 1:14 PM
> To: Trahe, Fiona <fiona.trahe at intel.com>; Jozwiak, TomaszX
> <tomaszx.jozwiak at intel.com>; dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 00/38] crypto/qat: refactor to support multiple
> services
>
> From: Pablo de Lara <pablo.de.lara.guarch at intel.com>
>
> The QAT crypto PMD was peppered with references to rte_cryptodev artefacts.
> Also the pci device it presented to the API layer was entirely owned by the one
> cryptodev device instance created by the probe.
> This patchset refactors the PMD so one pci device can present out multiple
> different device instances to implement different APIs, specifically cryptodev
> and compressdev instances.
> The code is refactored into
> - common code which handles the pci device discovery, configuration,
> queue-pair setup, stats gathering and data-path enqueue and dequeue.
> - service-specific code for symmetric crypto, which is a thin layer
> implementing the cryptodev API and using the common code.
> - place-holder files for service-specific code to support asymmetric
> crypto and compression services in future.
> The code is all still in the crypto/qat directory as it is functionally unchanged, still
> only supporting a symmetric crypto service. The code will move to
> drivers/common, /crypto and /compress in a future patch when this is needed
> for a compression PMD.
>
> Changes for v3:
> - fixed some commit messages
> - fixed compilation issue in one of the patches
> - split two commits into multiple commits
>
> Changes for v2:
> - fixed some bugs compiled in when debug enabled
> - added patch to remove MAX_NB_SESSIONS from config file
> - removed SPDX license patch as already applied
> - documented device name formats
>
Applied to dpdk-next-crypto.
Thanks,
Pablo
More information about the dev
mailing list