tg3_io_error_detected(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tg3_io_error_detected(9) πŸ’–

okay so this is a page from the Kernel API Manual bestie, and we're talking about tg3_io_error_detected β€” the function that gets called when a PCI error shows up. yes THAT one. let's get into it 🫢


✨ NAME ✨

tg3_io_error_detected β€” called when PCI error is detected 🌸


✨ SYNOPSIS ✨

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

like, that's the whole vibe. it returns a pci_ers_result_t, it takes a struct pci_dev *pdev and a pci_channel_state_t state. periodt πŸ’…


✨ ARGUMENTS ✨

  • pdev β€” Pointer to PCI device πŸ‘‘ this is literally the device we're talking about, bestie
  • state β€” The current pci connection state πŸ¦‹ the situation it's in right now, iykyk

✨ DESCRIPTION ✨

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 already happened, the bus already clocked it, and now this function gets the call 😭

it's giving "main character energy at the cleanup party." the error is detected, and tg3_io_error_detected is the one they ring up πŸ”₯


✨ SEE ALSO ✨

these three are a little trio fr fr, they go together πŸ’œ


ok quick vibe check: this whole thing lives under ./drivers/net/ethernet/broadcom β€” that's the source location, remember it πŸ’–

and that's the page!! πŸŽ€ source/version: ./drivers/net/ethernet/broadcom, dated October 2026, and the page is tg3_io_error_detected(9) β€” slay, go forth and handle your PCI errors responsibly bestie πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from