[dpdk-dev] [PATCH v2] net/igc: remove some useless log
alvinx.zhang at intel.com
alvinx.zhang at intel.com
Thu May 7 11:36:36 CEST 2020
From: Alvin Zhang <alvinx.zhang at intel.com>
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 at dpdk.org
Signed-off-by: Alvin Zhang <alvinx.zhang at intel.com>
---
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
More information about the dev
mailing list