Re: [dpdk-dev] [PATCH] crypto/octeontx: fix global variable multiple definitions

2019-10-09 Thread Akhil Goyal
> > '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 associate

[dpdk-dev] [PATCH] crypto/octeontx: fix global variable multiple definitions

2019-10-04 Thread Anoob Joseph
'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.