Page MenuHomeFreeBSD

bnxt: Report SR-IOV VF status
Needs ReviewPublic

Authored by kbowling on Sun, Aug 9, 6:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 21, 2:45 PM
Unknown Object (File)
Fri, Aug 21, 5:03 AM
Unknown Object (File)
Thu, Aug 20, 8:59 PM
Unknown Object (File)
Thu, Aug 20, 6:30 PM
Unknown Object (File)
Thu, Aug 20, 5:16 PM
Unknown Object (File)
Thu, Aug 20, 7:34 AM
Unknown Object (File)
Thu, Aug 20, 7:05 AM
Unknown Object (File)
Thu, Aug 20, 5:25 AM
Subscribers

Details

Summary
Expose the effective per-VF MAC and policy state through the iflib VF
status method.  Snapshot the state under the SR-IOV lock so concurrent
trust and anti-spoof sysctl updates cannot produce a torn report.

Record completion of the per-VF configuration callback separately from
firmware resource allocation.
Test Plan

I don't have HW, can you route to the right Broadcom folks?

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.