> +/* > + * DP logs, toggled out at compile time if level lower than current level. > + * DP logs would be logged under 'PMD' type. So for dynamic logging, the > + * level of 'pmd' has to be used. > + */ > +#define CPT_LOG_DP(level, fmt, args...) RTE_LOG_DP(level, PMD, fmt "\n", > ##args) > + > +#define CPT_LOG_DP_DEBUG(fmt, args...) CPT_LOG_DP(DEBUG, fmt, > ##args) > +#define CPT_LOG_DP_INFO(fmt, args...) CPT_LOG_DP(INFO, fmt, ##args) > +#define CPT_LOG_DP_WARN(fmt, args...) CPT_LOG_DP(WARNING, fmt, > ##args) > +#define CPT_LOG_DP_ERR(fmt, args...) CPT_LOG_DP(ERR, fmt, ##args) > + There are two types of formatting for logging used in this PMD. Can you make it common. I believe these can be moved to common/cnxk/ and have plt_cpt_dp_log() Or something like that.
- [dpdk-dev] [PATCH 00/20] Add Marvell CNXK crypto PMDs Anoob Joseph
- [dpdk-dev] [PATCH 01/20] crypto/cnxk: add driver skeleto... Anoob Joseph
- Re: [dpdk-dev] [PATCH 01/20] crypto/cnxk: add driver... Akhil Goyal
- Re: [dpdk-dev] [PATCH 01/20] crypto/cnxk: add dr... Anoob Joseph
- Re: [dpdk-dev] [PATCH 01/20] crypto/cnxk: ad... Akhil Goyal
- Re: [dpdk-dev] [PATCH 01/20] crypto/cnxk: add driver... Akhil Goyal
- [dpdk-dev] [PATCH 02/20] crypto/cnxk: add probe and remo... Anoob Joseph
- Re: [dpdk-dev] [PATCH 02/20] crypto/cnxk: add probe ... Akhil Goyal
- [dpdk-dev] [PATCH 03/20] crypto/cnxk: add device control... Anoob Joseph
- [dpdk-dev] [PATCH 04/20] crypto/cnxk: add symmetric cryp... Anoob Joseph
- [dpdk-dev] [PATCH 05/20] crypto/cnxk: add queue pair ops Anoob Joseph
- [dpdk-dev] [PATCH 06/20] crypto/cnxk: add session ops fr... Anoob Joseph
- [dpdk-dev] [PATCH 07/20] crypto/cnxk: add enqueue burst ... Anoob Joseph
- [dpdk-dev] [PATCH 08/20] crypto/cnxk: add dequeue burst ... Anoob Joseph
- [dpdk-dev] [PATCH 09/20] crypto/cnxk: add cipher operati... Anoob Joseph