Page MenuHomeFreeBSD

ixgbe: fix compilation for VF
ClosedPublic

Authored by dougm on Sep 20 2024, 6:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 9:14 PM
Unknown Object (File)
Sat, Jan 18, 5:56 PM
Unknown Object (File)
Sat, Jan 11, 6:21 AM
Unknown Object (File)
Fri, Jan 10, 4:46 AM
Unknown Object (File)
Dec 18 2024, 7:21 AM
Unknown Object (File)
Nov 29 2024, 3:56 PM
Unknown Object (File)
Nov 29 2024, 3:03 AM
Unknown Object (File)
Nov 25 2024, 2:03 PM
Subscribers

Details

Summary

Adding the mailbox API to ixgbe has broken compilation. A comment in ixgbe_mbx.h says "VF: Only the very first (0) set should be used" right before an array of 64 ops is defined. However, in some vf-related code, "ops" is used without an array index and compilation fails. This change adds a [0] index to "ops" in enough places to allow compilation to complete.

Diff Detail

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