aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb/(developers-only)
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-09-06 16:17:40 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-09-18 02:12:51 +0000
commit31a77c113507d5e7689996976679a972a11ff5f7 (patch)
tree408c7da74aa5b12258d9a85673a34f17d57534a8 /sbin/fsdb/(developers-only)
parentcef57e81ce906bcceb0bd3097021be4110f192c5 (diff)
ice: Report SR-IOV VF statusHEADmain
Report the VF MAC, allocated transmit and receive queues, exact trunk VLAN-filter count and capacity, negotiated virtchnl API, configured MAC, VLAN, spoof-check, and promiscuous-mode policy, automatic link-state policy, PF traffic permission, and fault containment through iflib. Expose mirror configuration and active hardware rules, precise malicious-driver isolation and counters, software mailbox-overflow isolation and counters, VF-owned MAC-filter count and limit, and reset diagnostics through a versioned driver.ice extension. Distinguish a failed VF reset from a required VSI rebuild, which may still be pending rather than failed. Keep the namespace schema local to the driver so future extensions need no changes to common network headers or the formatter. Invalidate cached VF handshakes during preparation for an externally initiated device reset, before releasing the context lock to wait for hardware. Mark the VFs as requiring rebuild even if an early PF rebuild failure prevents reaching their VSIs. Software-initiated resets retain their advance notification before invalidating the handshake. The iflib context lock protects VF state and VSI lifetime while constructing the snapshot. The query uses only cached state and does not issue AdminQ commands or read device registers. Validation on E810 with host-attached iavf VFs used ifconfig -v and direct Netlink queries to check handshake, queue, VLAN, policy, MDD, and mailbox state across VF and PF resets. Reviewed by: Pawel Sobczyk <pawel.sobczyk@intel.com>, ziaee Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D58739
Diffstat (limited to 'sbin/fsdb/(developers-only)')
0 files changed, 0 insertions, 0 deletions