rpcrdma_rn_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rpcrdma_rn_unregister β€” a Kernel API Manual moment

okay so bestie, welcome to rpcrdma_rn_unregister(9), the Kernel API Manual page that's basically the "unsubscribe" button of device-removal notifications. it's giving closure. it's giving goodbye text. let's get into it ✨


🌸 NAME 🌸

rpcrdma_rn_unregister β€” stop device removal notifications πŸ›‘

like literally, you're telling the notification system "i'm done, please stop texting me about device removal" and honestly? respect.


πŸ¦‹ SYNOPSIS πŸ¦‹

void rpcrdma_rn_unregister (struct ib_device *device , struct
rpcrdma_notification *rn );

no return value, bestie β€” it's a void function, so there's nothing to catch, nothing to check, just vibes and a clean exit πŸ’œ


πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the monitored device πŸ‘€ like, this is the device you were keeping tabs on. the one whose removal notifications you were subscribed to.
  • rn β€” the notification object that no longer wishes to be notified πŸ™ˆ fr fr, this is the object raising its hand and going "i'd like to be removed from the list please."

⭐ DESCRIPTION ⭐

okay so here's the part that's genuinely iconic: it is safe to call this on an rn whose registration never completed or failed. 😭 like, you don't have to worry about whether the registration actually finished β€” you can just call it anyway.

specifically β€” and this is the detail, don't miss it β€” rn_done == NULL is treated as never-registered, and the call is a no-op. 🫢 so if it was never registered to begin with, nothing happens. no crash, no drama, no main character meltdown. just a quiet no-op and you move on with your life πŸ’…

ngl this is the "cancel my subscription" that actually works even if you never successfully subscribed. we love a defensive API 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

like, go read the whole friend group honestly, they all make sense together 🧚


and that's the page!! πŸ“ brought to you from ./net/sunrpc/xprtrdma, dated October 2026, and yes the footer still says rpcrdma_rn_unregister(9) because we keep the important things. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from