From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by dpdk.org (Postfix) with ESMTP id CEB365955 for ; Fri, 10 Jul 2015 01:01:01 +0200 (CEST) Received: by pactm7 with SMTP id tm7so157592473pac.2 for ; Thu, 09 Jul 2015 16:01:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Nrfpka0UArO+tNIIN+AbthW0L8SeplTTysbvna63HTk=; b=ELhMFQ1kfF3JojAWq00FlA48DfFfmJcKFNktMQpmtDxIN1QGd9CVOFh0Ej1rHvcLvF B0QsxczZ7pYhrgfMa8aZAPvUnMMQD0BWhHcGBgSFOJ/1nVtfzGm9ukqkcJ1f2kW/vk50 D+QPw304hl5Ydoeb8vz6rk50eZQrdRaSzBPWsI7uLE6NIcmTQWBFSCZmIqfl7gvzwD+i 9UZu9Fe+PAnDG8nXobVB5g8rMsOP3Fg9INvgnvKSqk6KTrwJwoHf9Cs51ksEN2855tme XleI5mFuSz9Lya2HJHevt45bYEIYWRLnVHkBy+ABv3jIxySFH+CgiYBD85NoT7mEM810 UqRQ== X-Gm-Message-State: ALoCoQmICHNqzi5CFFxXjPqiyj/L4hZODi8tRy0rh3g0Abw2VMKwCqzAiZtLuf/7HvHZ8tyIxyOF X-Received: by 10.68.209.136 with SMTP id mm8mr25389253pbc.64.1436482861228; Thu, 09 Jul 2015 16:01:01 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id hl6sm7146976pdb.28.2015.07.09.16.01.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 16:01:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 9 Jul 2015 16:01:04 -0700 Message-Id: <1436482868-7400-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436482868-7400-1-git-send-email-stephen@networkplumber.org> References: <1436482868-7400-1-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH v3 2/6] ixgbe: raise priority of significant log events X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 23:01:02 -0000 From: Stephen Hemminger Customers often screen off info level messages, so raise log level of significant events Signed-off-by: Stephen Hemminger --- drivers/net/ixgbe/ixgbe_ethdev.c | 12 ++++++------ drivers/net/ixgbe/ixgbe_fdir.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 0ff9583..ba98dd7 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -759,8 +759,8 @@ eth_ixgbe_dev_init(struct rte_eth_dev *eth_dev) ixgbe_set_tx_function(eth_dev, txq); } else { /* Use default TX function if we get here */ - PMD_INIT_LOG(INFO, "No TX queues configured yet. " - "Using default TX function."); + PMD_INIT_LOG(NOTICE, "No TX queues configured yet. " + "Using default TX function."); } ixgbe_set_rx_function(eth_dev); @@ -1256,7 +1256,7 @@ ixgbe_vlan_hw_strip_disable(struct rte_eth_dev *dev, uint16_t queue) if (hw->mac.type == ixgbe_mac_82598EB) { /* No queue level support */ - PMD_INIT_LOG(INFO, "82598EB not support queue level hw strip"); + PMD_INIT_LOG(NOTICE, "82598EB not support queue level hw strip"); return; } else { @@ -1280,7 +1280,7 @@ ixgbe_vlan_hw_strip_enable(struct rte_eth_dev *dev, uint16_t queue) if (hw->mac.type == ixgbe_mac_82598EB) { /* No queue level supported */ - PMD_INIT_LOG(INFO, "82598EB not support queue level hw strip"); + PMD_INIT_LOG(NOTICE, "82598EB not support queue level hw strip"); return; } else { @@ -2981,12 +2981,12 @@ ixgbevf_dev_configure(struct rte_eth_dev *dev) */ #ifndef RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC if (!conf->rxmode.hw_strip_crc) { - PMD_INIT_LOG(INFO, "VF can't disable HW CRC Strip"); + PMD_INIT_LOG(NOTICE, "VF can't disable HW CRC Strip"); conf->rxmode.hw_strip_crc = 1; } #else if (conf->rxmode.hw_strip_crc) { - PMD_INIT_LOG(INFO, "VF can't enable HW CRC Strip"); + PMD_INIT_LOG(NOTICE, "VF can't enable HW CRC Strip"); conf->rxmode.hw_strip_crc = 0; } #endif diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c index d294f85..5c8b833 100644 --- a/drivers/net/ixgbe/ixgbe_fdir.c +++ b/drivers/net/ixgbe/ixgbe_fdir.c @@ -377,7 +377,7 @@ ixgbe_set_fdir_flex_conf(struct rte_eth_dev *dev, fdirm = IXGBE_READ_REG(hw, IXGBE_FDIRM); if (conf == NULL) { - PMD_DRV_LOG(INFO, "NULL pointer."); + PMD_DRV_LOG(ERR, "NULL pointer."); return -EINVAL; } -- 2.1.4