DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, AlvinX" <alvinx.zhang@intel.com>
To: "Ye, Xiaolong" <xiaolong.ye@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "Guo, Jia" <jia.guo@intel.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/igc: remove some useless log
Date: Thu, 7 May 2020 07:22:57 +0000	[thread overview]
Message-ID: <6CE17E955B70FA409286764E3E0B36411648131E@CDSMSX102.ccr.corp.intel.com> (raw)
In-Reply-To: <20200507063155.GE49901@intel.com>

Hi Xiaolong,

The purpose of this function is to clear RSS related configuration, if the RSS filter not been enabled, this message will be printed.
The reason for printing this message is that this function will be called when the RSS flow was previously deleted and will prompt the user if RSS is not enabled. 
When rectifying later, deleting the RSS flow will not call this function, and this function is similar to another function but the other function does not print the log, 
so the other function is replaced by this function, but I forgot to delete the log.

Thanks,
Alvin


> -----Original Message-----
> From: Ye, Xiaolong
> Sent: Thursday, May 7, 2020 2:32 PM
> To: Zhang, AlvinX <alvinx.zhang@intel.com>
> Cc: dev@dpdk.org; Guo, Jia <jia.guo@intel.com>; stable@dpdk.org
> Subject: Re: [PATCH] net/igc: remove some useless log
> 
> On 04/30, alvinx.zhang@intel.com wrote:
> >From: Alvin Zhang <alvinx.zhang@intel.com>
> >
> >As title.
> >
> >Fixes: 746664d546fb (net/igc: implement flow API)
> >Cc: stable@dpdk.org
> >
> >Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
> >---
> > 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;
> 
> Why this log is useless?
> 
> >-	}
> >
> > 	/* recover default RSS configuration */
> > 	igc_rss_configure(dev);
> >--
> >1.8.3.1
> >

  reply	other threads:[~2020-05-07  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30  6:23 alvinx.zhang
2020-05-07  6:31 ` Ye Xiaolong
2020-05-07  7:22   ` Zhang, AlvinX [this message]
2020-05-07  9:36 ` [dpdk-dev] [PATCH v2] " alvinx.zhang
2020-05-11  2:57   ` Ye Xiaolong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6CE17E955B70FA409286764E3E0B36411648131E@CDSMSX102.ccr.corp.intel.com \
    --to=alvinx.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=jia.guo@intel.com \
    --cc=stable@dpdk.org \
    --cc=xiaolong.ye@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).