srpt_queue_response(9)
πΈ srpt_queue_response(9) β Kernel API Manual πΈ
okay bestie, welcome to the Kernel API Manual, page srpt_queue_response(9) β yes the header is doing a cute little mirror thing where the title is also the manual name, we stan a symmetrical queen π
. This one's a short page but it's important, so like, pay attention for two seconds.
β¨ NAME β¨
srpt_queue_response β transmit the response to a SCSI command π
π« SYNOPSIS π«
void srpt_queue_response (struct se_cmd *cmd );
literally the whole signature, nothing else, she's concise π
π ARGUMENTS π
cmdβ SCSI target command. that's the thing you're responding to, bestie, that's the whole vibe π«Ά
π DESCRIPTION π
so this is a callback function β meaning you don't go calling her, she gets called by the TCM core. main character energy honestly, she does not chase, she gets summoned β¨.
and here's the big warning in this very short page:
It must not block. no cap. do not block in here.
why? because it can be invoked on the context of the IB completion handler π so like, keep it quick, keep it snappy, don't be out here napping in a completion handler. the manpage does not elaborate further and ngl neither will I, because that's literally all she wrote π₯
π¦ SEE ALSO π¦
the kernel file lives at ./drivers/infiniband/ulp/srpt/ib_srpt.c β go read the source, iykyk π
and then there's the extended friend group, the whole srpt squad, all (9) sections, all of them, no skipping, we're listing every single one because that's what the page does π§:
srpt_event_handler(9)srpt_srq_event(9)srpt_qp_event(9)srpt_set_ioc(9)srpt_get_class_port_info(9)srpt_get_iou(9)srpt_get_ioc(9)srpt_get_svc_entries(9)srpt_mgmt_method_get(9)srpt_mad_send_handler(9)srpt_mad_recv_handler(9)srpt_refresh_port(9)srpt_unregister_mad_agent(9)srpt_alloc_ioctx(9)srpt_free_ioctx(9)srpt_alloc_ioctx_ring(9)srpt_free_ioctx_ring(9)srpt_set_cmd_state(9)srpt_test_and_set_cmd_state(9)srpt_post_recv(9)srpt_zerolength_write(9)srpt_get_desc_tbl(9)srpt_init_ch_qp(9)srpt_ch_qp_rtr(9)srpt_ch_qp_rts(9)srpt_ch_qp_err(9)srpt_get_send_ioctx(9)srpt_abort_cmd(9)srpt_rdma_read_done(9)srpt_build_cmd_rsp(9)srpt_build_tskmgmt_rsp(9)srpt_handle_cmd(9)srpt_handle_tsk_mgmt(9)srpt_handle_new_iu(9)srpt_send_done(9)srpt_create_ch_ib(9)srpt_close_ch(9)srpt_cm_req_recv(9)srpt_cm_rtu_recv(9)srpt_cm_handler(9)srpt_release_sport(9)srpt_lookup_port(9)srpt_add_one(9)srpt_remove_one(9)srpt_close_session(9)srpt_parse_i_port_id(9)srpt_make_tpg(9)srpt_drop_tpg(9)srpt_make_tport(9)srpt_drop_tport(9)srpt_init_module(9)
fifty-one entries. I counted. you're welcome π
and that's the page!! π this icon was living at source ./drivers/infiniband/ulp/srpt, dated October 2026 β so like, mark your calendars bestie, she's from the future π¦β¨π and remember: transmit the response, do not block, periodt π
π¦ 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