srp_map_data(9)
πΈ 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 π₯
srp_destroy_fr_pool(9)srp_create_fr_pool(9)srp_fr_pool_get(9)srp_fr_pool_put(9)srp_destroy_qp(9)srp_del_scsi_host_attr(9)srp_connected_ch(9)srp_claim_req(9)srp_free_req(9)srp_post_send(9)srp_tl_err_work(9)srp_change_queue_depth(9)srp_conn_unique(9)srp_parse_in(9)
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
- 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