crypto/qat: remove atomics
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 12 Sep 2017 09:31:16 +0000 (10:31 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:11:35 +0000 (15:11 +0100)
commit0a081a5fd26fbdae00a34541924d798b6dd4a63e
treed6cb0db60cc2ce1adb9df3aec6f03532bb6a2c46
parent6fcd9fdf379b8218202e7213623da9b7359bb518
crypto/qat: remove atomics

Replacing atomics in the QAT driver with simple 16-bit integers for
number of inflight packets.

This adds a new limitation to the QAT driver: each queue pair is
now explicitly single-threaded.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
doc/guides/cryptodevs/qat.rst
doc/guides/rel_notes/release_17_11.rst
drivers/crypto/qat/qat_crypto.c
drivers/crypto/qat/qat_crypto.h
drivers/crypto/qat/qat_qp.c