[dpdk-stable] [dpdk-dev] [PATCH v2] net/i40e: fix virtual channel confiliction issue

Ferruh Yigit ferruh.yigit at intel.com
Fri Oct 23 12:41:36 CEST 2020


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 at dpdk.org
> 
> Signed-off-by: Yuying Zhang <yuying.zhang at intel.com>

<...>



More information about the stable mailing list