> -----Original Message----- > From: Mandal, Anurag <[email protected]> > Sent: 17 August 2026 07:49 > To: [email protected] > Cc: Richardson, Bruce <[email protected]>; Medvedkin, Vladimir > <[email protected]>; Loftus, Ciara <[email protected]>; > Mandal, Anurag <[email protected]> > Subject: [PATCH v3 2/7] net/iavf: defer device start when PF VSI not ready > > During reset recovery iavf_dev_start() might fail (typically -EIO > from VIRTCHNL_OP_CONFIG_VSI_QUEUES) because the PF VSI is not yet > active, leaving the VF down and requiring manual intervention > to recover. > > Added a start_pending flag: when device start fails during recovery, > defer it instead of erroring out and resume it from newly added > iavf_resume_pending_start() on the next link-up event, so the > VF comes back automatically. > > Fixes: 3e6a5d2d310a ("net/iavf: add devargs to enable VF auto-reset") > > Signed-off-by: Anurag Mandal <[email protected]> Acked-by: Ciara Loftus <[email protected]> > --- > drivers/net/intel/iavf/iavf.h | 2 + > drivers/net/intel/iavf/iavf_ethdev.c | 61 ++++++++++++++++++++++++++-- > drivers/net/intel/iavf/iavf_vchnl.c | 3 ++ > 3 files changed, 62 insertions(+), 4 deletions(-) >
- RE: [PATCH v2 5/7] net/iavf: improve VF reset de... Loftus, Ciara
- [PATCH v2 4/7] net/iavf: change no_poll flag to atom... Anurag Mandal
- [PATCH v2 6/7] net/iavf: keep watchdog armed for the... Anurag Mandal
- RE: [PATCH v2 6/7] net/iavf: keep watchdog armed... Loftus, Ciara
- [PATCH v2 7/7] net/iavf: skip flow flush during PF-i... Anurag Mandal
- RE: [PATCH v2 7/7] net/iavf: skip flow flush dur... Loftus, Ciara
- [PATCH v3 0/7] net/iavf: harden reset recovery and data p... Anurag Mandal
- [PATCH v3 1/7] net/iavf: discard empty AdminQ descri... Anurag Mandal
- RE: [PATCH v3 1/7] net/iavf: discard empty Admin... Mandal, Anurag
- [PATCH v3 2/7] net/iavf: defer device start when PF ... Anurag Mandal
- RE: [PATCH v3 2/7] net/iavf: defer device start ... Loftus, Ciara
- [PATCH v3 3/7] net/iavf: drain in-flight Tx before r... Anurag Mandal
- Re: [PATCH v3 3/7] net/iavf: drain in-flight Tx ... Bruce Richardson
- [PATCH v3 4/7] net/iavf: change no_poll flag to atom... Anurag Mandal
- [PATCH v3 5/7] net/iavf: improve VF reset detection ... Anurag Mandal
- [PATCH v3 6/7] net/iavf: keep watchdog armed for the... Anurag Mandal
- RE: [PATCH v3 6/7] net/iavf: keep watchdog armed... Loftus, Ciara
- [PATCH v3 7/7] net/iavf: skip flow flush during PF-i... Anurag Mandal

