Page MenuHomeFreeBSD

bnxt_en: VF ring reservation, HWRM registration, and PF-only operation guards
ClosedPublic

Authored by chandrakanth.patil_broadcom.com on Apr 3 2026, 11:44 AM.
Tags
None
Referenced Files
F167495673: D56232.id176701.diff
Sat, Aug 22, 7:01 AM
Unknown Object (File)
Thu, Aug 20, 2:49 AM
Unknown Object (File)
Tue, Aug 18, 11:47 AM
Unknown Object (File)
Mon, Aug 17, 3:47 AM
Unknown Object (File)
Tue, Aug 11, 6:19 PM
Unknown Object (File)
Mon, Aug 10, 11:57 AM
Unknown Object (File)
Mon, Aug 10, 9:00 AM
Unknown Object (File)
Sun, Aug 9, 5:28 PM
Subscribers

Details

Summary

VFs require separate HWRM commands for ring reservation and async
completion ring setup, so a common PF/VF dispatcher is introduced and
the async CR path is extended to handle both. The PF must populate the
VF request forwarding bitmap during driver registration so the firmware
correctly forwards VF-originated HWRM commands. VF reservation strategy
and min-guaranteed capability flags are now parsed for correct resource
partitioning, and PF-only operations (DCB, NVM, package version sysctl)
are guarded against VF invocation.

The short command buffer allocation is also reordered before the function
reset to ensure extended HWRM messages are available when needed, a
prerequisite uncovered during VF bring-up.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable