DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Yuying Zhang <yuying.zhang@intel.com>,
	dev@dpdk.org, qi.z.zhang@intel.com, beilei.xing@intel.com
Cc: stable@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix virtual channel confiliction issue
Date: Fri, 23 Oct 2020 11:41:36 +0100
Message-ID: <1b5954fa-aff1-2694-c205-551b00a7773a@intel.com> (raw)
In-Reply-To: <20201019022025.1748497-1-yuying.zhang@intel.com>

On 10/19/2020 3:20 AM, Yuying Zhang wrote:
> i40evf_execute_vf_cmd() uses _atomic_set_cmd() to execute virtual
> channel commands safely in multi-process mode and multi-thread mode.
> However, it returns -1 when one process or thread is pending. Add
> rte_spinlock_trylock() to handle this issue in concurrent scenarios.

Should '_atomic_set_cmd()' removed, since spinlock it added?

> Fixes: 4861cde46116 ("i40e: new poll mode driver")
> Cc: stable@dpdk.org
> Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>


  parent reply	other threads:[~2020-10-23 10:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 15:28 [dpdk-dev] [PATCH v1] " Yuying Zhang
2020-10-19  2:20 ` [dpdk-dev] [PATCH v2] " Yuying Zhang
2020-10-22  8:54   ` Zhang, Qi Z
2020-10-23 10:41   ` Ferruh Yigit [this message]
2020-10-30  5:32     ` Zhang, Yuying
2020-10-30  8:30       ` Ferruh Yigit

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:

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

  git send-email \
    --in-reply-to=1b5954fa-aff1-2694-c205-551b00a7773a@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    --cc=stable@dpdk.org \
    --cc=yuying.zhang@intel.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/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 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

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