From patchwork Tue Aug 27 07:07:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Saxena X-Patchwork-Id: 172257 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5397433ily; Tue, 27 Aug 2019 00:10:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhzIjj13CD19rKQtQL5BV5PI7vfpe4Q/LFfnbi3ICfNuI92Uf+pDd427jONzXGccinsdEq X-Received: by 2002:aa7:c81a:: with SMTP id a26mr22620654edt.26.1566889841262; Tue, 27 Aug 2019 00:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566889841; cv=none; d=google.com; s=arc-20160816; b=QfAtGUtU2+93ey77jbcy2OdJ7GPhMtDnsvzC56ny3GcD7BrWqiGOA7d3o7FaVMNDKf u4bKufcrQuOSsh7d1fvEQ0z8r+vYdr8kIxXm9tNx1KOh29JacgzgslCrlx0LvXWrK/I4 15ij5YAY6AtPryJy6qDcx8Zfwe+CkC0ii84GU1AcG5EV4D6qhC6qMTNwBeeFBtw9yfQu P7g7WNgpBMJq2pK5Vbugd+CE3k7cOlIzqlKtpbHvRFgTKnnWWcDwUXblfRMBCwyBlHwe t/LqqocOlt7qDIuUtmTNvtSn6EZSESPzfuDJBqDNQNSIS9e6Hi8v8er3W5vfRgcgaBL2 ScuQ== 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:cc:to:from; bh=kh2On7sBlljzffwt6fmdEYXA5VAJ3OXfxDrgTvsGa8s=; b=IH+60YzTx/mHJFQeYO5TmQNjfFWI1ReRHPLI2TuChhVA02t9xMajoaqJ7lRA61Kg0O kzTF5PMOt1rH8uqr3TGnVgnGlX9Hj1bDmpZGWmXXfMq31hwGDZpQL1cjGQkns1W9tLFs N41JVZGyF63JHua51Bp6lFmyvkTpyjvH5zBXeC1Y9KoE34UpbBSnKg8WCxKIVd9Eib+8 TzAKtqcFz6ngxexITvBbUUSZnfBsqKt7sRY3Cg75lfgw/TETVoPcp7xl8hTqLm9d2upu jF1bGqGyjb0nd8T3Wp8/vuXBRpPEYS96qVF1ARPC5EtEcP6+mQ3jaNDKenzkErU9zjLr B5ZQ== 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 r24si6786861eji.339.2019.08.27.00.10.41; Tue, 27 Aug 2019 00:10:41 -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 1AC851C0AA; Tue, 27 Aug 2019 09:09:40 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 604761BFB4 for ; Tue, 27 Aug 2019 09:09:20 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 426FB2005CA; Tue, 27 Aug 2019 09:09:20 +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 3F13F2005C6; Tue, 27 Aug 2019 09:09:18 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B422A4031F; Tue, 27 Aug 2019 15:09:14 +0800 (SGT) From: Sachin Saxena To: dev@dpdk.org Cc: thomas@monjalon.net, Hemant Agrawal Date: Tue, 27 Aug 2019 12:37:09 +0530 Message-Id: <20190827070730.11206-10-sachin.saxena@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190827070730.11206-1-sachin.saxena@nxp.com> References: <20190827070730.11206-1-sachin.saxena@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v1 09/30] net/dpaa2: improve the Rx offload debug message 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" From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) -- 2.17.1 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index dd6a78f9f..bbebb66fe 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -395,20 +395,20 @@ dpaa2_eth_dev_configure(struct rte_eth_dev *dev) PMD_INIT_FUNC_TRACE(); - /* Rx offloads validation */ + /* Rx offloads which are enabled by default */ if (dev_rx_offloads_nodis & ~rx_offloads) { - DPAA2_PMD_WARN( - "Rx offloads non configurable - requested 0x%" PRIx64 - " ignored 0x%" PRIx64, - rx_offloads, dev_rx_offloads_nodis); + DPAA2_PMD_INFO( + "Some of rx offloads enabled by default - requested 0x%" PRIx64 + " fixed are 0x%" PRIx64, + rx_offloads, dev_rx_offloads_nodis); } - /* Tx offloads validation */ + /* Tx offloads which are enabled by default */ if (dev_tx_offloads_nodis & ~tx_offloads) { - DPAA2_PMD_WARN( - "Tx offloads non configurable - requested 0x%" PRIx64 - " ignored 0x%" PRIx64, - tx_offloads, dev_tx_offloads_nodis); + DPAA2_PMD_INFO( + "Some of tx offloads enabled by default - requested 0x%" PRIx64 + " fixed are 0x%" PRIx64, + tx_offloads, dev_tx_offloads_nodis); } if (rx_offloads & DEV_RX_OFFLOAD_JUMBO_FRAME) {