pcie_get_mps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pcie_get_mps β€” get PCI Express maximum payload size

ok so real talk bestie, we're in the pcie_get_mps(9) page from the Kernel API Manual and it's short but it's iconic. Let's go ✨


🌸 NAME 🌸

pcie_get_mps β€” get PCI Express maximum payload size

Like, it literally gets the MPS. That's the whole job. She's focused, she's employed, she's booked and busy πŸŽ€


✨ SYNOPSIS ✨

int pcie_get_mps (struct pci_dev *dev );

That's it. One call, one arg, no drama πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the PCI device to query. bestie you hand her the device you're curious about and she does the rest 🫢

πŸ’– DESCRIPTION πŸ’–

Returns maximum payload size in bytes.

that's the whole description, no cap. she returns the MPS in bytes, you get your number, you move on with your life 🌈 short king behaviour and we respect it


πŸ‘‘ SEE ALSO πŸ‘‘

Okay so the kernel file we're living in is ./drivers/pci/pci.c β€” like, that's the home address 🏑 and honestly this function has the biggest friend group in the entire PCI directory, it's giving main character energy. Here's every single one of them, in order, zero skips, no leaving anyone out πŸ’€:

like… she knows everyone at the PCI party and honestly? queen behaviour πŸ‘‘βœ¨ iykyk

friendly reminder bestie: pcie_get_mps has a sibling, pcie_set_mps(9) β€” she's right there in the list, go say hi πŸ₯°

🧚 sign-off 🧚

this lil page lives in ./drivers/pci and it's dated October 2026 β€” so she's from the future, she's timeless, she's that girl πŸ’œ

bye bestie, go read pcie_get_mps's docs responsibly and hydrate πŸŒΈπŸ“

πŸ“¦ where this page comes from