> -----Original Message-----
> From: Mingjin Ye <[email protected]>
> Sent: Thursday, October 19, 2023 5:04 PM
> To: [email protected]
> Cc: Yang, Qiming <[email protected]>; Zhou, YidingX
> <[email protected]>; Ye, MingjinX <[email protected]>; Su, Simei
> <[email protected]>; Wu, Wenjun1 <[email protected]>; Zhang,
> Yuying <[email protected]>; Xing, Beilei <[email protected]>; Wu,
> Jingjing <[email protected]>
> Subject: [PATCH v5] net/iavf: data paths support no-polling mode
> 
> In a scenario involving a hot firmware upgrade, the network device on the
> host side need to be reset, potentially causing the hardware queues to
> become unreachable. In a VM, continuing to run VF PMD Rx/Tx during this
> process can lead to application crash.
> 
> The solution is to implement a 'no-polling' Rx and Tx wrapper. This wrapper
> will check the link status and return immediately if the link is down. This is
> especially important because the link down events will continue to be sent
> from the PF to the VF during firmware hot upgrades, and the event will
> always occur before the RESET IMPENDING event.
> 
> The no-polling rx/tx mechanism will only be active when the devarg "no-poll-
> on-link-down" is enabled. This devarg is typically recommended for use in
> this specific hot upgrade scenario.
> Ideally, "no-poll-on-link-down" should be used in conjunction with the
> devarg "auto-reset" to provide a seamless and user-friendly experience
> within the VM.
> 
> Signed-off-by: Mingjin Ye <[email protected]>

Acked-by: Qi Zhang <[email protected]>

Applied to dpdk-next-net-intel after minor refine on commit log and description 
in ice.rst.

Thanks
Qi

Reply via email to