srpt_unregister_mad_agent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… srpt_unregister_mad_agent β€” like, the kernel-API-manual girlies know ✨

okay so bestie, this one's from the Kernel API Manual, section 9, and it's genuinely one of the chiller ones. no cap.


🌸 NAME 🌸

srpt_unregister_mad_agent β€” unregister MAD callback functions. that's it. that's the whole vibe. you're taking the callbacks back off the shelf πŸ’…


✨ SYNOPSIS ✨

void srpt_unregister_mad_agent (struct srpt_device *sdev , int port_cnt
);

she takes two things and returns absolutely nothing (void, my beloved β€” no return value to obsess over) 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • sdev β€” the SRPT HCA pointer. like, the device. the main character of this whole situation πŸ‘‘
  • port_cnt β€” the number of ports with registered MAD. that's how many ports we're talking about here, fr fr πŸ¦‹

πŸ’€ NOTE πŸ’€

It is safe to call this function more than once for the same device. yes bestie, double-calling is FINE. call it twice, call it three times, she does not care. no crash, no drama, no tears. iconic behaviour honestly 😭

πŸ”₯ SEE ALSO πŸ”₯

okay this list is LONG and I refuse to skip a single one of them because every one of these icons deserves their moment. we're going alphabetically-ish by vibes, exactly as the manpage gives them:

every single one, bestie. we ate and left no crumbs πŸ“


and that's the whole page!! 🧚 this lil cutie lives in ./drivers/infiniband/ulp/srpt and the version/date stamp on the original is October 2026, so like… future girlie behaviour honestly. anyway mwah, go unregister those MAD callbacks responsibly πŸ’œπŸŽ€β­

πŸ“¦ where this page comes from