srp_map_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is srp_map_data(9) from the Kernel API Manual, and it's literally the function that maps a SCSI data buffer onto an SRP request. no cap. ✨

✨ SYNOPSIS ✨

       int srp_map_data (struct scsi_cmnd *scmnd , struct srp_rdma_ch *ch ,
       struct srp_request *req );

πŸŽ€ ARGUMENTS πŸŽ€

  • scmnd β€” the SCSI command to map. this is the thing getting mapped, main character behavior πŸ’…
  • ch β€” the SRP RDMA channel. think of it as the lane this request is rolling through πŸ¦‹
  • req β€” the SRP request. yes bestie, the request itself πŸŽ€

πŸ’– DESCRIPTION πŸ’–

It returns the length in bytes of the SRP_CMD IU, or a negative value if the mapping failed 😭. and important: the size of any immediate data is not included in the return value β€” not even a little, periodt πŸ™ˆ.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/infiniband/ulp/srp/ib_srp.c β€” that's the source-file bestie for this whole vibe πŸ”₯


made with πŸ’– from the ./drivers/infiniband/ulp/srp source, stamped October 2026, and it's the srp_map_data(9) page β€” catch u later, bestie 🫢

πŸ“¦ where this page comes from