Page MenuHomeFreeBSD

ice: Add malformed virtchnl injection points
Needs ReviewPublic

Authored by kbowling on Thu, Aug 20, 1:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 24, 9:50 AM
Unknown Object (File)
Sun, Aug 23, 7:25 PM
Unknown Object (File)
Sat, Aug 22, 3:51 PM
Unknown Object (File)
Thu, Aug 20, 8:42 PM
Unknown Object (File)
Thu, Aug 20, 2:25 PM
Unknown Object (File)
Thu, Aug 20, 12:57 PM
Unknown Object (File)
Thu, Aug 20, 12:54 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 semantic
corruption points for queue configuration, RSS keys and tables, and
interrupt mappings.

Each point mutates an otherwise valid request after the common
virtchnl length check.  This exercises the PF semantic validators with a
real VF while preserving the normal wire format and mailbox path.

The queue point selects unaligned Tx or Rx bases, an unaligned or
unrepresentable receive buffer, an invalid frame size, duplicate queue
IDs, or a bad VSI.  The RSS points select short advertised data or an
out-of-range LUT entry.  The interrupt point selects an invalid ITR,
traffic on vector zero, duplicate vectors, or a bad VSI.

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