crypto/qat: check for service type
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 13 Jun 2018 12:14:20 +0000 (14:14 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 27 Jun 2018 23:25:33 +0000 (01:25 +0200)
commit00502929258e09014c7027e2088c5ae85d04f201
tree54b1a20aa33a22f5c0b4dfb9c4ca26e60ccbb1bc
parent91614c73b67cad33750b04b9904dd99666b9a91e
crypto/qat: check for service type

Other services, apart from symmetric crypto,
such as compression, will be added in future patches.
Therefore, the assumption that only symmetric crypto
operations are processed will not be valid anymore,
and service type needs to be checked.

Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_qp.c
drivers/crypto/qat/qat_qp.h