patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Steven Webster <steven.webster@windriver.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>,
	dev@dpdk.org, Matt Peters <matt.peters@windriver.com>,
	Vincent Jardin <vincent.jardin@6wind.com>,
	Allain Legacy <allain.legacy@windriver.com>
Cc: stable@dpdk.org
Subject: Re: [dpdk-stable] [v21.02 v3 10/10] net/avp: remove always true condition
Date: Fri, 20 Nov 2020 12:40:49 -0500
Message-ID: <082a2601-8a65-1e77-bbb9-714ce45419a0@windriver.com> (raw)
In-Reply-To: <20201119115900.4095566-11-ferruh.yigit@intel.com>

On 2020-11-19 6:59 a.m., Ferruh Yigit wrote:

> There is already a break above for the case "count >= 1", so at this
> stage 'count' should be always '0'.
> 
> Fixes: 1a85922369c4 ("net/avp: add device configuration")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
>   drivers/net/avp/avp_ethdev.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
> index 5f8187b905..f531e03c02 100644
> --- a/drivers/net/avp/avp_ethdev.c
> +++ b/drivers/net/avp/avp_ethdev.c
> @@ -267,7 +267,7 @@ avp_dev_process_request(struct avp_dev *avp, struct rte_avp_request *request)
>                          break;
>                  }
> 
> -               if ((count < 1) && (retry == 0)) {
> +               if (retry == 0) {
>                          PMD_DRV_LOG(ERR, "Timeout while waiting for a response for %u\n",
>                                      request->req_id);
>                          ret = -ETIME;
> --
> 2.26.2
> 
Acked-by: Steven Webster <steven.webster@windriver.com>

      reply	other threads:[~2020-11-20 17:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200824094021.2323605-1-ferruh.yigit@intel.com>
2020-08-24  9:40 ` [dpdk-stable] [PATCH 6/7] ethdev: remove invalid symbols from map file Ferruh Yigit
2020-08-29 12:14   ` Andrew Rybchenko
     [not found] ` <20200903211000.244931-1-ferruh.yigit@intel.com>
2020-09-03 21:09   ` [dpdk-stable] [PATCH v2 " Ferruh Yigit
     [not found] ` <20200909111220.1195759-1-ferruh.yigit@intel.com>
2020-09-09 11:12   ` [dpdk-stable] [PATCH v3 " Ferruh Yigit
     [not found] ` <20200909130148.1756518-1-ferruh.yigit@intel.com>
2020-09-09 13:01   ` [dpdk-stable] [PATCH v4 " Ferruh Yigit
     [not found] ` <20201119115900.4095566-1-ferruh.yigit@intel.com>
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 01/10] app/procinfo: fix redundant condition Ferruh Yigit
2021-01-08 10:36     ` [dpdk-stable] [dpdk-dev] " David Marchand
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 02/10] app/procinfo: fix negative check on unsigned variable Ferruh Yigit
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 03/10] app/procinfo: remove suspicious sizeof Ferruh Yigit
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 04/10] app/procinfo: remove useless assignment Ferruh Yigit
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 05/10] net/pcap: remove local variable shadowing outer one Ferruh Yigit
2021-01-08 10:31     ` David Marchand
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 06/10] net/bonding: " Ferruh Yigit
2021-01-08 10:34     ` [dpdk-stable] [dpdk-dev] " David Marchand
2021-01-11  1:03     ` [dpdk-stable] " Min Hu (Connor)
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 07/10] net/af_xdp: remove useless assignment Ferruh Yigit
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 08/10] net/bnxt: fix redundant return Ferruh Yigit
2020-11-19 11:58   ` [dpdk-stable] [v21.02 v3 09/10] app/crypto-perf: remove always true condition Ferruh Yigit
2020-11-23 15:25     ` [dpdk-stable] [dpdk-dev] " Zhang, Roy Fan
2020-11-19 11:59   ` [dpdk-stable] [v21.02 v3 10/10] net/avp: " Ferruh Yigit
2020-11-20 17:40     ` Steven Webster [this message]

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=082a2601-8a65-1e77-bbb9-714ce45419a0@windriver.com \
    --to=steven.webster@windriver.com \
    --cc=allain.legacy@windriver.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=matt.peters@windriver.com \
    --cc=stable@dpdk.org \
    --cc=vincent.jardin@6wind.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

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git