Page MenuHomeFreeBSD

ice: Report SR-IOV VF status
Needs ReviewPublic

Authored by kbowling on Aug 9 2026, 6:56 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Wed, Sep 2, 9:39 PM
Unknown Object (File)
Wed, Sep 2, 12:48 AM
Unknown Object (File)
Tue, Sep 1, 11:21 PM
Unknown Object (File)
Mon, Aug 31, 11:32 PM

Details

Reviewers
ziaee
Group Reviewers
Intel Networking
Restricted Owners Package(Owns No Changed Paths)
manpages
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