> -----Original Message----- > From: Zhang, Yuying <yuying.zh...@intel.com> > Sent: Monday, October 19, 2020 10:20 AM > To: dev@dpdk.org; Zhang, Qi Z <qi.z.zh...@intel.com>; Xing, Beilei > <beilei.x...@intel.com> > Cc: Zhang, Yuying <yuying.zh...@intel.com>; sta...@dpdk.org > Subject: [PATCH v2] net/i40e: fix virtual channel confiliction issue > > 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. > > Fixes: 4861cde46116 ("i40e: new poll mode driver") > Cc: sta...@dpdk.org > > Signed-off-by: Yuying Zhang <yuying.zh...@intel.com> Acked-by: Qi Zhang <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel. Thanks Qi