crypto/qat: move to dynamic logging for data-path trace
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Thu, 14 Jun 2018 11:03:05 +0000 (13:03 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 27 Jun 2018 23:25:33 +0000 (01:25 +0200)
commitab8a58fec59df465e882d00fd73993f11df5d111
treea96d39846d6d4d87f30d40db7776bed0969d536d
parentbe24b0d9e1cb47004f49e32b3b0db1a993c8f88f
crypto/qat: move to dynamic logging for data-path trace

For all trace on the data-path move to dynamic logging.
Add new QAT_DP_LOG macro to separate from non-dp trace.
Use the overall RTE_LOG_DP_LEVEL to override and compile out
debug data-path trace.
Add "unlikely" in two appropriate error checks.

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