[PATCH] net/iavf: ensure no polling during VF initiated reset
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 16 16:32:03 CEST 2025
On Thu, Oct 16, 2025 at 11:32:24AM +0000, Ciara Loftus wrote:
> Ensure that the datapath functions will not poll during a vf initiated
> reset. Otherwise the datapath could access freed resources and cause a
> core dump. Achieve this by ensuring that the no-poll-on-link-down devarg
> is set when trying to reinit a started device. If it's not set, suggest
> stopping the port before the reinit.
>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
> drivers/net/intel/iavf/iavf_ethdev.c | 40 +++++++++++++++++++++-------
> 1 file changed, 30 insertions(+), 10 deletions(-)
>
After discussing offline with Ciara, this patch is mostly a fix to the
previous iavf reset patch, which is not yet pulled to main. Therefore patch
squashed to original commit on next-net-intel tree.
Thanks,
/Bruce
More information about the dev
mailing list