crypto/qat: register appropriately named device
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 13 Jun 2018 12:14:15 +0000 (14:14 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 27 Jun 2018 23:25:33 +0000 (01:25 +0200)
commit878a24bdd105f6b4c45f099315405f66dd41c827
treec9ded5ae8d46cf0544716adfb80a7cc5573dffe1
parentc2a8f3b79dc64ea8cc26cacd013cc54889f44768
crypto/qat: register appropriately named device

For every QAT PCI device probed, populate a local rte_device
containing an rte_driver. The rte_driver was created in a previous
patch to provide a crypto-specific driver name: "crypto_qat".
This was previously only used for driver registration, now it's also
used in device creation.
This allows applications to find devices driven by "crypto_qat".

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_device.h
drivers/crypto/qat/qat_sym_pmd.c