mpi3mr_tran...t_linkerrors(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for mpi3mr_transport_get_linkerrors β€” yes, the title line up top gets all squished like mpi3mr_tran...t_linkerrors(9) because terminals are dramatic, but the real name is the full one ✨ β€” and what it does is literally just: return phy error counters. that's the whole gig πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int mpi3mr_transport_get_linkerrors (struct sas_phy *phy );

like, one function, one argument, returning an int. she's lowkey minimalist πŸ’…


🌸 ARGUMENTS 🌸

  • phy β€” this is the SAS transport layer phy object, aka the little guy whose phy error log we're about to go read. main character of this whole operation fr fr 🫢

✨ DESCRIPTION ✨

so the way that this works: mpi3mr_transport_get_linkerrors retrieves the phy error log information of the HBA or expander that the phy belongs to. that's it. that's the function. she goes and gets the error log, no cap πŸ’―

whether it's an HBA or an expander, doesn't matter β€” wherever that phy belongs, that's whose phy error log info we're pulling. iconic behaviour honestly πŸ‘‘


πŸ”₯ RETURN πŸ”₯

  • 0 β€” success, we ate πŸ’…
  • non-zero β€” failure, and yes it's giving "something went wrong" energy 😭

πŸ’œ SEE ALSO πŸ’œ

okay this list is LONG, bestie, but every single one of these is required reading, so I'm not skipping a single one 😀 grab a snack:

like I said. LONG. but we read all of them πŸ’ͺπŸ“š


heads up bestie: this page is from the ./drivers/scsi/mpi3mr directory, dated October 2026, and the footer still spells the page mpi3mr_tran...t_linkerrors(9) β€” adorable truncation, keep it in your heart 🌈

and that's the whole page!! go read your phy error logs, you absolute icon πŸ‘‘πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from