RDMA_DESTROY_SRQ(3)

πŸ“¦
version 65.0 Β· 2 versions
  • 65.0 Β· alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 15.1 Β· freebsd 14.5, freebsd 15.1
, in alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– RDMA_DESTROY_SRQ πŸ’–

okay bestie, welcome to the librdmacm programmer's manual ✨ this one's a shortie but a goodie, and it lives in section 3 of the manual (that's the library-calls section, iykyk).


🌸 NAME 🌸

rdma_destroy_srq β€” deallocate a SRQ 🫢

like. it destroys it. it's gone. bye girl πŸ’…


✨ SYNOPSIS ✨

#include <rdma/rdma_verbs.h>

void rdma_destroy_srq (struct rdma_cm_id *id);

πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” the RDMA identifier. that's the whole vibe, she's just one parameter and she knows it πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? You're destroying an SRQ that was allocated on the rdma_cm_id. That's it. That's the whole function. She's giving short and efficient, no notes, ate and left no crumbs πŸ’…βœ¨


πŸ’€ RETURN VALUE πŸ’€

None. Not a thing. Zero. Nada. She returns void and she's not sorry about it πŸ™ˆ


🌈 NOTES 🌈

okay this part is IMPORTANT, listen up bestie: users should destroy any SRQ associated with an rdma_cm_id before destroying the ID. Like, clean up your room before you move out fr fr πŸ§ΉπŸ’– don't leave that SRQ hanging.

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, no cap. this iconic little entry came to you courtesy of librdmacm, dated 2011-06-15 β€” she's been serving correct SRQ destruction since way before it was cool πŸ’œβœ¨ mwah, go forth and free your memory responsibly 🫢🌈

πŸ“¦ where this page comes from