[PATCH v2 0/5] net/failsafe: fixes for sub-device removal and configuration
Sandeep Penigalapati
sandeep.penigalapati at intel.com
Thu Oct 15 00:15:59 CEST 2026
This series collects fixes for the fail-safe PMD found while testing
live migration of a VF-backed sub-device (iavf) paired with a virtio-net
standby sub-device.
- double release of the sub-device port on hot-unplug;
- NULL queue-release op on sub-devices that do not implement it;
- MAC address pool size off-by-one and replay of zeroed MAC slots;
- unsupported link-status control (-ENOTSUP) treated as fatal;
- sub-device removal not detected without the RMV interrupt (e.g. VFIO
device release), now handled through a bus device-event callback.
v2:
- patch 2/5: add an explicit ETH(sdev) != NULL check before dereferencing
in fs_rx_queue_release()/fs_tx_queue_release().
- patch 5/5: clarify in a comment that a secondary process detects the
removal via the shared sub_device state checked by fs_rx_unsafe()/
fs_tx_unsafe() in the burst path.
Sandeep Penigalapati (5):
net/failsafe: fix double release of sub-device port
net/failsafe: fix queue release without sub-device op
net/failsafe: fix MAC address pool size and replay
net/failsafe: ignore unsupported link status update
net/failsafe: detect sub-device removal via device event
drivers/net/failsafe/failsafe_ether.c | 40 ++++++++++--
drivers/net/failsafe/failsafe_ops.c | 29 ++++++++-
drivers/net/failsafe/failsafe_private.h | 13 ++--
drivers/net/failsafe/failsafe_rxtx.c | 83 +------------------------
4 files changed, 67 insertions(+), 98 deletions(-)
--
2.34.1
More information about the dev
mailing list