Re: [PATCH net-next v3 3/6] enic: recover V2 VF mailbox after request failure

From: Satish Kharat

Date: Thu Nov 26 2026 - 00:12:19 EST


CMD_SOFT_RESET is in the V2 VF allowed-devcmd list (enic_vf_v2_allowed_devcmds[])
and the firmware scopes it to the VF's own LIF, so on the PF this series targets
it is authorized and VF-local: a reset through enic_reset() takes the soft-reset
path and recovers the VF (verified on hardware).

Soft reset is deliberately preferred over hang reset in this path - it is
LIF-local and DMA-safe (the datapath is stopped by __enic_stop() before the
reset), whereas CMD_HANG_RESET has cross-VF blast radius. A soft reset rejected
with ERR_EBADSTATE is already contained directly rather than treated as fatal,
and a genuine reset failure uses the common detach path shared by all enic
functions.

The series does not target soft-reset-denying PFs; the comment and commit-message
wording that implied an async-PF interop claim has been reworded in v4 to state
only the technical reason the V2 VF recovery path issues CMD_HANG_RESET directly.

Thanks,
Satish