From: Stephen Hemminger Date: Tue, 26 Feb 2019 21:34:21 +0000 (-0800) Subject: crypto/virtio: use local log type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=85016c7735d9b328fddd296ea3a473d6a242b847;p=dpdk.git crypto/virtio: use local log type The virtio crypto driver was using PMD log type and it should be using the local log type. Fixes: 25500d4b8076 ("crypto/virtio: support device init") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- diff --git a/drivers/crypto/virtio/virtio_logs.h b/drivers/crypto/virtio/virtio_logs.h index 26a286cf81..1ee3819309 100644 --- a/drivers/crypto/virtio/virtio_logs.h +++ b/drivers/crypto/virtio/virtio_logs.h @@ -7,8 +7,10 @@ #include +extern int virtio_crypto_logtype_init; + #define PMD_INIT_LOG(level, fmt, args...) \ - rte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \ + rte_log(RTE_LOG_ ## level, virtio_crypto_logtype_init, \ "PMD: %s(): " fmt "\n", __func__, ##args) #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, " >>")