Page MenuHomeFreeBSD

ice: Add VF reset and policy failure injection
Needs ReviewPublic

Authored by kbowling on Thu, Aug 20, 1:48 AM.
Tags
None
Referenced Files
F167389337: D59025.id184428.diff
Fri, Aug 21, 12:23 PM
F167386839: D59025.diff
Fri, Aug 21, 12:10 PM
Unknown Object (File)
Thu, Aug 20, 1:02 PM
Unknown Object (File)
Thu, Aug 20, 12:16 PM
Subscribers

Details

Reviewers
kgalazka
Group Reviewers
Intel Networking
Restricted Owners Package(Owns No Changed Paths)
Summary
Extend the optional ICE failure-injection facility with points for the
MAC anti-spoof firmware update and each mandatory VF reset stage.

The reset points report a failed Tx drain command, VFR timeout, receive
queue disable, or final PCIe transaction drain after the corresponding
hardware operation.  This permits fail-closed state and recovery tests
without deliberately leaving live DMA during teardown.

The points remain absent unless the kernel is built with
options DRIVER_FAILPOINTS and retain the existing PF and VF selectors.

MFC after:      2 weeks
Sponsored by:   BBOX.io

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Owners added a reviewer: Restricted Owners Package.Thu, Aug 20, 1:48 AM

Thanks a lot for all your fixes. I'm building an image for our validation team to run some regression tests. I'll get back to you as soon as I get any feedback.