mbox

[0/3] Add dual threading in QAT PMD

Message ID 1567784675-1401-1-git-send-email-fiona.trahe@intel.com (mailing list archive)
Headers

Message

Fiona Trahe Sept. 6, 2019, 3:44 p.m. UTC
  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.

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(-)