From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2C98A00C5; Thu, 7 May 2020 11:38:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BDA281DB23; Thu, 7 May 2020 11:38:27 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C15DE1DB21 for ; Thu, 7 May 2020 11:38:25 +0200 (CEST) IronPort-SDR: sCK2YzzG4mq58sDV+wdqbQ8d7fzmRj+t28Bx7mAwxk2d48IdVowNVr9oD+tmyslg7yoYFq8wJC Kl9+rteFZyFg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 02:38:24 -0700 IronPort-SDR: ZhjQDJzpYSbHtNMzBxL2lCA6z52lhxgDrma64EaPqJajgNdIteAxGHp/4aL5Kys57Bj5ZyODrP hyiew+bM+yfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,363,1583222400"; d="scan'208";a="295661484" Received: from shwdenpg235.ccr.corp.intel.com ([10.240.182.60]) by fmsmga002.fm.intel.com with ESMTP; 07 May 2020 02:38:22 -0700 From: alvinx.zhang@intel.com To: dev@dpdk.org Cc: wei.zhao1@intel.com, jia.guo@intel.com, xiaolong.ye@intel.com Date: Thu, 7 May 2020 17:36:36 +0800 Message-Id: <20200507093636.19008-1-alvinx.zhang@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20200430062326.20676-1-alvinx.zhang@intel.com> References: <20200430062326.20676-1-alvinx.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2] net/igc: remove some useless log 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: Alvin Zhang Some log will always be printed when the device is initialized and shut down, which will mislead users and should be removed. Fixes: 746664d546fb (net/igc: implement flow API) Cc: stable@dpdk.org Signed-off-by: Alvin Zhang --- V2: update git log drivers/net/igc/igc_txrx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/igc/igc_txrx.c b/drivers/net/igc/igc_txrx.c index 5b269b6..4654ec4 100644 --- a/drivers/net/igc/igc_txrx.c +++ b/drivers/net/igc/igc_txrx.c @@ -1035,10 +1035,8 @@ int eth_igc_rx_descriptor_status(void *rx_queue, uint16_t offset) { struct igc_rss_filter *rss_filter = IGC_DEV_PRIVATE_RSS_FILTER(dev); - if (!rss_filter->enable) { - PMD_DRV_LOG(WARNING, "RSS filter not enabled!"); + if (!rss_filter->enable) return; - } /* recover default RSS configuration */ igc_rss_configure(dev); -- 1.8.3.1