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)
Sun, Nov 10, 12:06 AM
Unknown Object (File)
Thu, Oct 24, 9:37 AM
Unknown Object (File)
Sat, Oct 19, 8:26 PM
Unknown Object (File)
Oct 11 2024, 3:56 AM
Unknown Object (File)
Oct 10 2024, 10:25 AM
Unknown Object (File)
Sep 29 2024, 7:27 AM
Unknown Object (File)
Sep 26 2024, 7:08 AM
Unknown Object (File)
Sep 25 2024, 7:53 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

Lint
Lint Skipped
Unit
Tests Skipped