From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by dpdk.org (Postfix) with ESMTP id 7759A37B4 for ; Tue, 26 Feb 2019 22:34:32 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id g6so6840238pfh.13 for ; Tue, 26 Feb 2019 13:34:32 -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=vDZfU9Gvg+lYRoXnP/xAbY9pO4dlalmIX9dSpgDE6x4=; b=qa3mxxRw6fgVsLBZjWUDgSO+dZq95kaPYZTDL/zv9AxJTVbqZ2YqDogorOb3ajIpu7 eIBgIzJ985nPNuPcoWjhyPsavUK6/V7BfIPn5E8QVmVaLEzGhj6AwKfKcnafOfejhbyS TsHnQyG8cU+wQdy6FKcGsURCH41weSmhOFLSSBP+yg7cLnG6lycFy74quS1lCbbedQYE CkuCMqU62jsYcswlRP84BQxchj6AV1nQ/HBQFLroZe5urppweD5mH0v6GQZWw6pD6KgC C5CIskIE4ZBh3TG1utWFDx3C+P40Fev6zSj0ztqvNDSt1vmk0b455ckEFzsNPIHyx3Pq s9cw== 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=vDZfU9Gvg+lYRoXnP/xAbY9pO4dlalmIX9dSpgDE6x4=; b=OuT1dGMCz5wDzRxxuq9xixOBMczNp1pjRX9D8GXONWU/CwoNt9wQI6aBN41JX/Ou1Y BpmplGp5tx/cTjViwJhi0Ti6yveO1npBNVlmyGkJw+gK2awPTp70UzFN2oZW2XoXCG1l 7sw6OSyVROIccwMfncYha//kn9v4YeMVKyHmovnHOe1+liIHAEnSivbBHj0x3UyV8fHw Y0TW0ur/Dia9rkWaY1ebc8lcIKWpRZupwrXmTWiQ6PBMZklGR2xGqrLESXumeREM5o3U S5wAj6UzDIrcsUjf0mWvyppbCDOb3IuzJEtITtrO9nH1Ajyxg847puhR6zMXzZqFlJO1 9e2w== X-Gm-Message-State: AHQUAuYPZ9vgBx6AJsQKu4ZuuML6sfafU4lYUhEg1M/cvhZe7hoRx8MW 45AuxK0VXLWvHmQj6nrYknkKGFgD1Gg= X-Google-Smtp-Source: AHgI3IYbfbQd4hZrqs68amlpnI9OGo5gYUsC+Sl3hJoHmfI8aOJQPkfS/GcxLoz+3Mbg9ygMNgk8bw== X-Received: by 2002:a63:814a:: with SMTP id t71mr26698456pgd.257.1551216871225; Tue, 26 Feb 2019 13:34:31 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 13:34:30 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 26 Feb 2019 13:34:22 -0800 Message-Id: <20190226213424.10567-4-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 3/5] eventdev: use same log macro for all unsupported calls 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:32 -0000 The driver already hase RTE_EDEV_XXX log macros so use them in two more places. Signed-off-by: Stephen Hemminger --- lib/librte_eventdev/rte_eventdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c index ebaf3087d925..4d4f07919554 100644 --- a/lib/librte_eventdev/rte_eventdev.c +++ b/lib/librte_eventdev/rte_eventdev.c @@ -892,7 +892,7 @@ rte_event_port_link(uint8_t dev_id, uint8_t port_id, dev = &rte_eventdevs[dev_id]; if (*dev->dev_ops->port_link == NULL) { - RTE_PMD_DEBUG_TRACE("Function not supported\n"); + RTE_EDEV_LOG_ERR("Function not supported\n"); rte_errno = -ENOTSUP; return 0; } @@ -951,7 +951,7 @@ rte_event_port_unlink(uint8_t dev_id, uint8_t port_id, dev = &rte_eventdevs[dev_id]; if (*dev->dev_ops->port_unlink == NULL) { - RTE_PMD_DEBUG_TRACE("Function not supported\n"); + RTE_EDEV_LOG_ERR("Function not supported"); rte_errno = -ENOTSUP; return 0; } -- 2.17.1