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.
Details
Details
- Reviewers
alc kbowling - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) - Commits
- rGed31e4eca057: ixgbe: fix compilation for VF
rGdcf7b92d48b6: ixgbe: fix compilation for VF
rG267f223f622f: ixgbe: fix compilation for VF
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Thank you this is the right fix. I will commit it now with your authorship as I would otherwise commit the same thing now to fix the tree.