From patchwork Tue Sep 18 13:31:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 146898 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp5050619ljw; Tue, 18 Sep 2018 06:34:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbbohmdtWPvohlP2fH/MzaRR9C+b9Gk8M8bBQKAs8996jH5uOZR8Vty8ph1uiQ9Wullf8hb X-Received: by 2002:a5d:608b:: with SMTP id w11-v6mr24633607wrt.193.1537277678578; Tue, 18 Sep 2018 06:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537277678; cv=none; d=google.com; s=arc-20160816; b=ESblB/RxuYtnjOzRTvmoS20s/NBynwW/vt/tnroS3kZ6MdVitlONT9UNzjHCD4+lQZ 8n7OWU7h0WTKw1kpULY4YXJjPp2GlTpgrb3QPentxijABmnroUrBBmyu3UbWltC76nex 7QtqBBbl4I6wp07rytDf8pAuiDmZu2d7etl0EIKIfDNauxw20PYl9EQG+Rgy7mIMuHqq OLh0tj2w8IZISqKPGw3JlrOVC2O+n5Ksx9sONeAbH1eulqXXfQ/bR5CrvGanAPRyXJD5 a1k+Z6fhMGrNIpBKll4OPkbkM3SIVoj+wHvyheY7TW3CfYKV7And7fWYR46mjfhzSjQ6 yysg== 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=rtu/qjP3EduxzhMatwAaU9K4E+Xz3mUMyyLun9uin2s=; b=n6soeJEVz6CmWzQR6/2Bb8sGLC69MHeZilf7RxE2BViBNp/XlkP2DX4HzFUL98QAFm /lKav1JTW2zsHMv8FccnmzsnaMKVQ4vZZtRVO14krwcJr7/iecpQsKXE+HNYI+0cp0vn 57STkhkly8iz6DSuDtuS5uwgiaIw71Tkwz4HyOX846qbBApcQOTLjwTOs9+9P3HUxlFM zIr3N5OWAnQ6YKqKphVEj2CUPgYhsAnlyXphbn399/8JuaNUZZ2wM0RknK6OP/9PLlkl X5ryXA6lAX1UIUlyN6zBdT1gcf2fB1Et/zeiodxb65KajMbMTaOcJa+BXQU1a/rYhlrw ELvQ== 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 g18-v6si18556691wrc.41.2018.09.18.06.34.38; Tue, 18 Sep 2018 06:34:38 -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 233DB5592; Tue, 18 Sep 2018 15:34:07 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id CA1794CA1 for ; Tue, 18 Sep 2018 15:34:02 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AF7C320000D; Tue, 18 Sep 2018 15:34:02 +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 94B81200040; Tue, 18 Sep 2018 15:34:00 +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 0DC8B40302; Tue, 18 Sep 2018 21:33:55 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@intel.com Date: Tue, 18 Sep 2018 19:01:48 +0530 Message-Id: <1537277516-8876-6-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com> References: <1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com> <1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 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 fa63afc..c2d6f44 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -613,9 +613,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), @@ -693,7 +693,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);