[dpdk-stable] [PATCH v2] net/i40e: fix virtual channel confiliction issue
Zhang, Qi Z
qi.z.zhang at intel.com
Thu Oct 22 10:54:05 CEST 2020
> -----Original Message-----
> From: Zhang, Yuying <yuying.zhang at intel.com>
> Sent: Monday, October 19, 2020 10:20 AM
> To: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>
> Cc: Zhang, Yuying <yuying.zhang at intel.com>; stable at 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: stable at dpdk.org
>
> Signed-off-by: Yuying Zhang <yuying.zhang at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the stable
mailing list