numam-dpdk/drivers/crypto/octeontx
Anoob Joseph 98c7b9c97e crypto/octeontx: fix global log variable definition
'cpt_logtype' & 'otx_cryptodev_driver_id' global variables are defined
in a header file which was causing multiple definitions of the
variables. Fixed it by moving the required vars to the .c file and
introducing a new macro so the CPT_LOG macros in common/cpt would use
the associated PMD log var.

Issue has been detected by '-fno-common' gcc flag.

Fixes: bfe2ae495e ("crypto/octeontx: add PMD skeleton")
Cc: stable@dpdk.org

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Reported-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-09 11:50:12 +02:00
..
Makefile crypto/octeontx: move device specific code to driver 2019-03-22 15:54:24 +01:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
otx_cryptodev_capabilities.c crypto/octeontx: remove unsupported capabilities 2019-07-05 15:28:14 +02:00
otx_cryptodev_capabilities.h crypto/octeontx: add symmetric capabilities 2018-10-17 12:16:54 +02:00
otx_cryptodev_hw_access.c crypto/octeontx: use distinct metabuf pool for each queue 2019-05-01 15:52:55 +02:00
otx_cryptodev_hw_access.h crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
otx_cryptodev_mbox.c crypto/octeontx: sync mbox changes from kernel driver 2019-07-05 14:52:25 +02:00
otx_cryptodev_mbox.h crypto/octeontx: sync mbox changes from kernel driver 2019-07-05 14:52:25 +02:00
otx_cryptodev_ops.c crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
otx_cryptodev_ops.h crypto/octeontx: use distinct metabuf pool for each queue 2019-05-01 15:52:55 +02:00
otx_cryptodev.c crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
otx_cryptodev.h crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
rte_pmd_octeontx_crypto_version.map crypto/octeontx: add PMD skeleton 2018-10-17 12:16:54 +02:00