rpcrdma_rn_unregister(9)
π 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 π
- Kernel file
./net/sunrpc/xprtrdma/ib_client.c rpcrdma_rn_register(9)rpcrdma_add_one(9)rpcrdma_remove_one(9)rpcrdma_ib_client_unregister(9)rpcrdma_ib_client_register(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms