srp_fr_pool_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– srp_fr_pool_put(9) πŸ’–

okay so bestie, this page is from the Kernel API Manual, and it’s literally about putting an FR descriptor back in the free list. group-chat recap time 🫢

🌸 NAME 🌸

srp_fr_pool_put β€” put an FR descriptor back in the free list ✨

✨ SYNOPSIS ✨

void srp_fr_pool_put (struct srp_fr_pool *pool , struct srp_fr_desc **desc , int n );

that’s the signature, no cap πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • pool β€” the pool the descriptor was allocated from. it’s giving β€œwhere did this come from?” energy.
  • desc β€” pointer to an array of fast registration descriptor pointers. yes, pointer-to-an-array-of-pointers, iconic behavior, stay with me πŸ¦‹
  • n β€” number of descriptors to put back. basically the count, periodt.

🚨 NOTE 🚨

okay so this is the serious bit: the caller must already have queued an invalidation request for desc->mr->rkey before calling this function. do not skip this, bestie, fr fr 😭

πŸ‘€ SEE ALSO πŸ‘€

kernel file: ./drivers/infiniband/ulp/srp/ib_srp.c

the whole friend group:


signed off from ./drivers/infiniband/ulp/srp, October 2026, on the srp_fr_pool_put(9) page β€” bye bestie, slay responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from