From patchwork Fri Sep 21 11:05:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 147233 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp671570ljw; Fri, 21 Sep 2018 04:08:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaHXQii186cbPrfvhFvzCQnOXE+QhNdv7pzBF2+qjLZ/NbJk1OmwD5FjB2zJmFSMOcw/+Xp X-Received: by 2002:a1c:f703:: with SMTP id v3-v6mr6399811wmh.48.1537528120996; Fri, 21 Sep 2018 04:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537528120; cv=none; d=google.com; s=arc-20160816; b=fLMD6ZnT2P5XgHSfbh5D/Cb+TOssjRR88sn6mxkayFgvFrQpP3MO3KIOJtbfwqqRft UX1ve7Hv3a84sWOw+oeq3FBycwN8/xfY3YuGhm3g40yoiBCG+YddXsL1+hVEiYbSTeRv qDAjfOYqPIBc2W6tmDbV/liZZlVdW8gql5AoasFXny+wuw0wZIlmhSI/2clhb/85bOoS ETb5nEQQEhCO0IuA0QqpkPkivIz7llUwmXj4MQjUj6LIWXiWS5QaIghzSjEebvjKTOqc zVixxcVnlmtS8icDO3u9dIlJMTc+U5toGxyWdBZ40N03Xl/H2OBFioW4/5B+Dv+/FzCX dCOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from; bh=L04NWI0zqJVZSXDw1R/t3O5RvsfmVZBVRExzP4RuMkI=; b=drV01hOtdIG4oYbnR1S+5MhOjHeLpDxglq4d1R2B0lsynCkGFCoNTY0SPYQdaQf9ov sP87f4wsSnnPjcwWSpfXqdxSw4tIOstmhHb+8udRYsEm/j/MZn2eviN7O0UHIxtfHYbP M+Oe4N1FNL65GZxm5xGDKaZKaOxOB6r+2zXOX46xsE9GUqeana2IVbUGo6dECqUtqg3Y Cf3roOHz3YnFrjFC4ZyfGduIGDZkoyGjvY1ZHOlUHTpGDCGA4f9rfzQ75tPoRaZ7A3yP oVL0vXAYJkEphUsJNC526cPusqIlF0GWB1Mgyms9oLnCdiQtb+P/TSVzJMmrW4x9INpj LxSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id e12si526542wrx.359.2018.09.21.04.08.40; Fri, 21 Sep 2018 04:08:40 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F5CB4CC3; Fri, 21 Sep 2018 13:08:17 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id B57044F94 for ; Fri, 21 Sep 2018 13:08:10 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 76960200262; Fri, 21 Sep 2018 13:08:10 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 95FA5200015; Fri, 21 Sep 2018 13:08:08 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 542274030E; Fri, 21 Sep 2018 19:08:04 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@intel.com Date: Fri, 21 Sep 2018 16:35:54 +0530 Message-Id: <1537527962-25757-6-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537527962-25757-1-git-send-email-hemant.agrawal@nxp.com> References: <1537277516-8876-2-git-send-email-hemant.agrawal@nxp.com> <1537527962-25757-1-git-send-email-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 05/13] net/dpaa: minor debug log enhancements 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Improving the debug message for event mode and reducing the log level for less important log Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 53dc317..fc536a6 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -617,9 +617,9 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx, fman_if_set_bp(dpaa_intf->fif, mp->size, dpaa_intf->bp_info->bpid, bp_size); dpaa_intf->valid = 1; - DPAA_PMD_INFO("if =%s - fd_offset = %d offset = %d", - dpaa_intf->name, fd_offset, - fman_if_get_fdoff(dpaa_intf->fif)); + DPAA_PMD_DEBUG("if:%s fd_offset = %d offset = %d", + dpaa_intf->name, fd_offset, + fman_if_get_fdoff(dpaa_intf->fif)); } DPAA_PMD_DEBUG("if:%s sg_on = %d, max_frm =%d", dpaa_intf->name, fman_if_get_sg_enable(dpaa_intf->fif), @@ -697,7 +697,8 @@ dpaa_eth_eventq_attach(const struct rte_eth_dev *dev, struct qm_mcc_initfq opts = {0}; if (dpaa_push_mode_max_queue) - DPAA_PMD_WARN("PUSH mode already enabled for first %d queues.\n" + DPAA_PMD_WARN("PUSH mode q and EVENTDEV are not compatible\n" + "PUSH mode already enabled for first %d queues.\n" "To disable set DPAA_PUSH_QUEUES_NUMBER to 0\n", dpaa_push_mode_max_queue);