Page MenuHomeFreeBSD

ice: Report SR-IOV VF status
ClosedPublic

Authored by kbowling on Aug 9 2026, 6:56 AM.
Tags
None
Referenced Files
F173286391: D58739.diff
Fri, Sep 25, 12:03 AM
Unknown Object (File)
Thu, Sep 24, 7:24 AM
Unknown Object (File)
Thu, Sep 24, 6:00 AM
Unknown Object (File)
Thu, Sep 24, 5:06 AM
Unknown Object (File)
Sun, Sep 6, 11:56 AM
Unknown Object (File)
Fri, Sep 4, 12:57 AM
Unknown Object (File)
Thu, Sep 3, 2:58 PM
Unknown Object (File)
Thu, Sep 3, 2:34 PM

Details

Reviewers
ziaee
Group Reviewers
Intel Networking
Restricted Owners Package(Owns No Changed Paths)
manpages
Commits
rG31a77c113507: ice: Report SR-IOV VF status
Summary
Report the VF MAC, allocated transmit and receive queues, exact trunk
VLAN membership and capacity, negotiated virtchnl API, configured MAC,
VLAN, spoof-check, and promiscuous-mode policy, PF traffic permission,
and fault containment through iflib.

Expose mirror configuration and active hardware rules, precise
malicious-driver isolation and counters, and software mailbox-overflow
isolation and counters through a versioned driver.ice extension.  Keep
the namespace schema local to the driver so future extensions need no
changes to common network headers or the formatter.

The iflib context lock serializes VF and VSI lifetime while policy
flags remain safe for the mailbox path to read atomically.  The query
uses only cached state and does not issue AdminQ commands or read device
registers.

Validated on E810 with host-attached iavf VFs.  ifconfig -v and
direct Netlink queries reported the expected handshake, queue, VLAN,
policy, MDD, and mailbox state across VF and PF resets.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Owners added a reviewer: Restricted Owners Package.Aug 9 2026, 6:56 AM
ziaee added a reviewer: manpages.
kbowling edited the summary of this revision. (Show Details)

Update against committed netlink interface, reorder after ice bug fixes and features in series

Only set IFVF_F_VLAN_LIMIT when configured

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Sep 18, 2:15 AM
This revision was automatically updated to reflect the committed changes.