numam-dpdk/drivers/common/cpt
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
..
cpt_common.h crypto/octeontx: use distinct metabuf pool for each queue 2019-05-01 15:52:55 +02:00
cpt_hw_types.h common/cpt: remove redundant bit swaps 2019-07-14 15:55:57 +02:00
cpt_mcode_defines.h common/cpt: support new firmware 2019-10-09 11:50:12 +02:00
cpt_pmd_logs.h crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
cpt_pmd_ops_helper.c common/cpt: add PMD ops helper functions 2018-10-17 12:20:06 +02:00
cpt_pmd_ops_helper.h common/cpt: add PMD ops helper functions 2018-10-17 12:20:06 +02:00
cpt_ucode.h common/cpt: support new firmware 2019-10-09 11:50:12 +02:00
Makefile common/cpt: add PMD ops helper functions 2018-10-17 12:20:06 +02:00
meson.build common/cpt: add PMD ops helper functions 2018-10-17 12:20:06 +02:00
rte_common_cpt_version.map common/cpt: add PMD ops helper functions 2018-10-17 12:20:06 +02:00