ixgbe_disable_pcie_primary(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_disable_pcie_primary β€” a little field guide πŸŽ€

okay so bestie, welcome to the Kernel API Manual ✨ this one's about ixgbe_disable_pcie_primary, and honestly? the name is giving exactly what it does. no plot twists. let's go πŸ¦‹


🌸 NAME 🌸

ixgbe_disable_pcie_primary β€” literally just Disable PCI-express primary access. that's it. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

int ixgbe_disable_pcie_primary (struct ixgbe_hw *hw );

like, it returns an int and it takes one pointer. iconic minimalism πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to hardware structure 🫢 (yes, that's the whole description, and honestly? she said what she said.)

πŸ’– DESCRIPTION πŸ’–

so what she does is: disables PCI-Express primary access and then verifies there are no pending requests. very "turn it off and double-check that it's actually off" of her. πŸ”₯

and here's the return tea, iykyk: -EALREADY gets returned if the primary disable bit hasn't caused the primary requests to be disabled 😭 β€” like the bit tried but the requests said "no ma'am." otherwise you get 0 returned, which signifies primary requests disabled. slay βœ…πŸ’…

ngl, if you see -EALREADY it's not a "you broke it" situation, it's a "the thing is still pending" situation. read the room. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

the source-of-truth file lives at: ./drivers/net/ethernet/intel/ixgbe/ixgbe_common.c πŸ“ and here's the whole extended friend group β€” every single one of them, no cap:

like… that's a whole friend group and every single one made the guest list πŸ’€πŸ«Ά


and that's the page, bestie ✨ this lil guy came from the source ./drivers/net/ethernet/intel/i... and the date on the tin is October 2026 πŸ“… β€” go forth and disable that primary access, you absolute main character πŸ‘‘πŸ’–πŸŒΈ

πŸ“¦ where this page comes from