Skip to content

net/iavf: improve VF reset resilience

Ciara Loftus dpdk-dev 1 version Applied

Status from this message: Applied to dpdk-next-net-intel.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4net/iavf: fix disabling of promiscuous modes on device closedrivers/net/intel/iavf/iavf_ethdev.c+6 -80 replies
2/4net/iavf: enable auto reset by defaultdoc/guides/nics/intel_vf.rst drivers/net/intel/iavf/iavf_ethdev.c+14 -50 replies
3/4net/iavf: enable post-reset restoration of VF settingsdoc/guides/nics/intel_vf.rst drivers/net/intel/iavf/iavf.h drivers/net/intel/iavf/iavf_ethdev.c+56 -00 replies
4/4net/iavf: fix reset handling error logdrivers/net/intel/iavf/iavf_ethdev.c+1 -11 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid MarchandBruce Richardson
SeriesSeries-Acked-by
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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