qede_io_error_detected(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qede_io_error_detected β€” like, the Kernel API Manual (section 9) page you didn't know you needed πŸŽ€

okay bestie, so this is qede_io_error_detected, and it lives in the Kernel API Manual, section 9. Yes, section 9. We love a niche little corner of the docs, no cap. πŸ¦‹


✨ NAME ✨

qede_io_error_detected β€” this is the function that gets called when a PCI error is detected. That's it, that's the whole vibe check. πŸ’…


🌸 SYNOPSIS 🌸

pci_ers_result_t qede_io_error_detected (struct pci_dev *pdev ,
       pci_channel_state_t state );

literally the whole signature, copy it exactly, do not come for me about the spacing, that's how it's written in the source, periodt. 🫢


🧚 ARGUMENTS 🧚

  • pdev β€” pointer to the PCI device. like, the device. main character energy, honestly. πŸ‘‘
  • state β€” the current pci connection state. that's the state of the pci connection, bestie, keep up. πŸ’€

⭐ RETURN ⭐

pci_ers_result_t. that's the return type, and it's giving "I return a value and you should probably care about it". no extra details given, so I'm not gonna invent any, iykyk. πŸ“


🌈 DESCRIPTION 🌈

okay so here's the tea: this function is called after a PCI bus error affecting this device has been detected. not before, not during β€” after. the error detection already happened, and now this lil function gets its moment. πŸ’–

think of it as the "so... that happened" function. the bus errored, the device is affected, and this is where you land. slay. πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

the kernel file, in all its glory:

./drivers/net/ethernet/qlogic/qede/qede_main.c

go read it, bestie, that's where the actual code lives. πŸŽ€


lowkey a reminder: the original page doesn't say anything else about behaviour, side effects or error handling, so I'm not gonna make stuff up. facts only, always. ✨

alright, that's the page!! 🌸 this one came from the source path ./drivers/net/ethernet/qlogic/... and it's dated October 2026, so yeah, it's a whole little time capsule, and now you know everything the manpage knows. mwah, bye! πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from