From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id F1F8C375B for ; Tue, 26 Feb 2019 22:34:30 +0100 (CET) Received: by mail-pf1-f195.google.com with SMTP id n22so6865756pfa.3 for ; Tue, 26 Feb 2019 13:34:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dNlop5KUwlB6GYaCd3xVhG6XJXKJWcHk2SHjtFZkMsQ=; b=xw9yWx9WQ1mSrkqvpiAD6lhDiAbygt9czhF3cGdEGn1jRlmTx40By/NMLa9QAOOG+g RmMk5e8ZyJsFbCIxhl3FgJc5TWMvc25WqzkrZah1ltu4qo5SBBY+8DBWt2YNfMqIDI21 30pkgfs7K6KvtGJ7vKNQLywkniUtLAkUnmWrfFFp0I/T3/Txb5bC8mXvfPnkG+uKGft7 SDiOQMkHjwP907SDBGxKmzGr3WblKhPSoC3F54EdNdQTlykWrv8iix/jF7nDZkzFUUDf FhCP1XUm+FfV/+QEFkig4REX8GPG92odImLghlOypUnrwvdycXoVvdYxYmXj8SXKanea NSrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dNlop5KUwlB6GYaCd3xVhG6XJXKJWcHk2SHjtFZkMsQ=; b=RuD5dNcJCyxa+66DF8DJwNlHKl2PvEgyl2m2g6Q8b5/iuMtcI8g27OI2pIhNGtbM3N N0daJNv5EHx4mX6Slqcxhg1Z4iMDqI/FslB5k6aiIjRr761C5/Hq23n6YgT/upd66vMU HbmNdq9rq764p+XWcZ7JAQDNAM7Wn3YysyIiHLxrYTbiDvsjoPRUHqH2/qehOisCzDZw XmHJaa0djqxRoVgHL9en/DaQLedhL1QxO6/Sb2DE8M6td59me2+hXFO0hGjJojQ0qC6C izvZr19NjlTDqydXtHx2fZh0ISLugzpLly/HjQa9L4CGV8Ln//rLt/nxwKfJHYOuc7ZQ dghA== X-Gm-Message-State: AHQUAubU+ziI8Iu1JoKvlieHPz1ZQbI4NbSxpiCKDL/7MpSQpL397ynB kGjcSMHi+g/JT9khIpFHu1K8rw9AY04= X-Google-Smtp-Source: AHgI3IaJX6TJGjS/sDQDtmPDTAu9gQi7swdmLYAlZWGR2OB2eS++t+7gPb7PbAAeEHxMoIJ5qSZHkg== X-Received: by 2002:a62:53c7:: with SMTP id h190mr28692472pfb.204.1551216869771; Tue, 26 Feb 2019 13:34:29 -0800 (PST) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h75sm22191108pfd.150.2019.02.26.13.34.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 13:34:28 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 26 Feb 2019 13:34:21 -0800 Message-Id: <20190226213424.10567-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190226213424.10567-1-stephen@networkplumber.org> References: <20190226213424.10567-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 2/5] crypto/virtio: use local log type X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 21:34:31 -0000 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") Signed-off-by: Stephen Hemminger --- drivers/crypto/virtio/virtio_logs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/virtio/virtio_logs.h b/drivers/crypto/virtio/virtio_logs.h index 26a286cf81ec..1ee3819309f7 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, " >>") -- 2.17.1