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

Kevin Traynor ktraynor at redhat.com
Tue Nov 29 12:52:23 CET 2022


On 24/11/2022 13:41, Yiding Zhou wrote:
> [upstream commit cb5c1b91f76f436724cd09f26c7432b2775b519c]
> 
> 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")
> 
> Signed-off-by: Yiding Zhou<yidingx.zhou at intel.com>
> ---

Thanks for backporting this. Applied to 21.11 branch.



More information about the stable mailing list