irdma_sc_del_hmc_obj(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– irdma_sc_del_hmc_obj πŸ’–

ok so bestie, this is a page from the Kernel API Manual and we're talking about irdma_sc_del_hmc_obj(9) β€” the little function that says bye-bye to your pe hmc objects ✨


🌸 NAME 🌸

irdma_sc_del_hmc_obj β€” remove pe hmc objects πŸŽ€

✨ SYNOPSIS ✨

int irdma_sc_del_hmc_obj (struct irdma_sc_dev *dev , struct
       irdma_hmc_del_obj_info *info , bool reset );

literally that's the whole signature, no cap 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” pointer to the device structure. the main character of this whole operation ngl πŸ’…
  • info β€” pointer to irdma_hmc_del_obj_info struct. this is where the deets live πŸ“
  • reset β€” true if called before reset. so like, yes if you're pre-reset, otherwise no πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

ok so here's the vibe: this function will de-populate the SDs and PDs β€” yep, both of them, it's giving thorough πŸ’€ It frees the memory for PDS and backing storage.

and listen, after this function is returned, the caller should deallocate memory allocated previously for book-keeping information about PDs and backing storage. like, that's on you, bestie β€” the function does its part and then hands the baton back 🫑

no skips, no shortcuts β€” every single word above is load-bearing, fr fr πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/infiniband/hw/irdma/hmc.c β€” the source, the origin story, iykyk ⭐

and the whole friend group:

like, a whole squad 🌈


aaand that's the page! 🧚 she lives in ./drivers/infiniband/hw/irdma, dated October 2026, and this whole thing is irdma_sc_del_hmc_obj(9) β€” slay, go free those objects, bestie πŸ’–πŸŒΈ

πŸ“¦ where this page comes from