Page MenuHomeFreeBSD

qlnx: Report SR-IOV VF status
Needs ReviewPublic

Authored by kbowling on Aug 9 2026, 7:01 AM.
Tags
None
Referenced Files
F171673195: D58742.id183851.diff
Sat, Sep 12, 2:25 PM
Unknown Object (File)
Fri, Sep 11, 6:06 PM
Unknown Object (File)
Thu, Sep 10, 5:59 AM
Unknown Object (File)
Tue, Sep 8, 1:50 PM
Unknown Object (File)
Mon, Sep 7, 11:27 PM
Unknown Object (File)
Mon, Sep 7, 12:15 AM
Unknown Object (File)
Sun, Sep 6, 5:00 PM
Unknown Object (File)
Sun, Sep 6, 1:12 PM
Subscribers

Details

Reviewers
zlei
Summary
Retain the PF-known MAC and allocated transmit and receive queue counts
for each VF and expose them through the PF ifnet.  Sum queues across all
hardware functions rather than reporting only the first one.

Publish and snapshot the VF cache under the existing hardware lock.
Unpublish it before hardware teardown, and invalidate queue-allocation
knowledge when error recovery releases the underlying VF resources.

Initialize the cache, release it on failed initialization, and reject an
out-of-range VF index instead of continuing into the array.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This is a basic implementation, someone more familiar with the driver may look at the nvlist schema and https://reviews.freebsd.org/D58739 which demonstrates driver extensions.

kbowling edited the summary of this revision. (Show Details)

Update to committed netlink API