net/iavf: improve VF reset resilience
Status from this message: Applied to dpdk-next-net-intel.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net/iavf: fix disabling of promiscuous modes on device closedrivers/ | +6 | 0 replies | |
| 2/4 | net/iavf: enable auto reset by defaultdoc/ drivers/ | +14 | 0 replies | |
| 3/4 | net/iavf: enable post-reset restoration of VF settingsdoc/ drivers/ drivers/ | +56 | 0 replies | |
| 4/4 | net/iavf: fix reset handling error logdrivers/ | +1 | 1 reply |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | David Marchand | Bruce Richardson |
|---|---|---|
| Series | Series-Acked-by | |
| 1/4 | ||
| 2/4 | ||
| 3/4 | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] net/iavf: improve VF reset resilience
Previously, VF recovery from PF-initiated resets required explicit opt-in via auto_reset, leaving VFs non-functional by default after a reset unless the application handled it. This series makes transparent recovery including the restoration of settings the default, and implements some fixes related to the reset path as well.
Patch 1 fixes a regression which prevented promiscuous mode from being disabled before sending the RESET_VF message to the PF during device close.
Patch 2 enables the auto_reset and no-poll-on-link-down devargs by default so VFs recover from resets without the need to introduce any reset handling in the application.
Patch 3 introduces a new auto_reconfig devarg (on by default) which extends the recovery path to restore unicast and multicast promiscuous state after a reset. Restoration of additional settings such as VLAN filters could be added under the same mechanism in a follow-up series.
Patch 4 fixes a minor logging issue.
Ciara Loftus (4):
net/iavf: fix disabling of promiscuous modes on device close net/iavf: enable auto reset by default
net/iavf: enable post-reset restoration of VF settings net/iavf: fix reset handling error log
doc/guides/nics/intel_vf.rst | 15 ++++-- drivers/net/intel/iavf/iavf.h | 1 + drivers/net/intel/iavf/iavf_ethdev.c | 75 ++++++++++++++++++++++++---- 3 files changed, 77 insertions(+), 14 deletions(-)
Signature · 1 line
2.43.0