numam-dpdk/drivers/common
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 crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
dpaax drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
mvep drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
octeontx remove useless constructor headers 2018-07-12 00:00:35 +02:00
octeontx2 common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
qat common/qat: add GEN3 definitions 2019-10-09 11:50:12 +02:00
Makefile mempool/octeontx2: add build infra and device probe 2019-06-25 23:35:57 +02:00
meson.build common/octeontx2: add build infrastructure and HW definition 2019-06-25 23:35:57 +02:00