[PATCH v5] net/iavf: add thread for event callbacks

Zhang, Qi Z qi.z.zhang at intel.com
Thu Oct 20 07:40:08 CEST 2022



> -----Original Message-----
> From: Yiding Zhou <yidingx.zhou at intel.com>
> Sent: Thursday, October 20, 2022 1:00 PM
> To: dev at dpdk.org
> Cc: Zhou, YidingX <yidingx.zhou at intel.com>; stable at dpdk.org
> Subject: [PATCH v5] net/iavf: add thread for event callbacks
>
> All callbacks registered for ethdev events are called in eal-intr-thread, and
> some of them execute virtchnl commands. Because interrupts are disabled in
> the intr thread, there will be no response received for these commands.
> So all callbacks should be called in a new context.
>
> When the device is bonded, the bond pmd registers callback for LSC event to
> execute virtchnl commands to reinitialize the device, it would also raise the
> above issue.
>
> This commit add a new thread to call all event callbacks.
>
> Fixes: 48de41ca11f0 ("net/avf: enable link status update")
> Fixes: 84108425054a ("net/iavf: support asynchronous virtual channel
> message")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yiding Zhou <yidingx.zhou at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel after fix some typo

Thanks
Qi



More information about the stable mailing list