Remove the limitation whereby enqueue and dequeue must be done in same thread. The inflight calculation is reworked to be thread-safe for 2 threads - note this is not general multi-thread support, i.e all enqueues to a qp must still be done in one thread and all dequeues must be done in one thread, but enqueues and dequeues may be in separate threads. As the tail-coalescing feature is not threadsafe it is removed first.
v2 changes: - clarified wording in docs Fiona Trahe (3): common/qat: remove tail write coalescing feature common/qat: move max inflights param into qp common/qat: add dual thread support doc/guides/compressdevs/qat_comp.rst | 5 ++- doc/guides/cryptodevs/qat.rst | 11 +++++- drivers/common/qat/qat_qp.c | 77 ++++++++++++++++++------------------ drivers/common/qat/qat_qp.h | 11 ++---- 4 files changed, 54 insertions(+), 50 deletions(-) -- 2.13.6