srpt_zerolength_write(9)
π srpt_zerolength_write(9) π
okay so real talk, bestie β this one's a page out of the Kernel API Manual, section 9, and it's short but she's iconic. it's giving "tiny function, huge spec energy". let's get into it β¨
πΈ NAME πΈ
srpt_zerolength_write β perform a zero-length RDMA write π
π¦ SYNOPSIS π¦
int srpt_zerolength_write (struct srpt_rdma_ch *ch );
yeah, that's the whole thing. one function, one argument, no drama π«Ά
π ARGUMENTS π
chβ the SRPT RDMA channel. that's it, that's the entire parameter list. low maintenance queen π
β¨ DESCRIPTION β¨
so here's the vibe: this one comes with a direct quote from the InfiniBand specification, and we're just gonna let the spec speak for itself, no cap:
C9-88: For an HCA responder using Reliable Connection service, for each zero-length RDMA READ or WRITE request, the R_Key shall not be validated, even if the request includes Immediate data.
that's the whole description, bestie. fr fr the manpage is not gonna elaborate. it said what it said and it moved on π periodt.
π SEE ALSO π
first up, the kernel file itself, in case you want to go read the actual source like a true main character:
./drivers/infiniband/ulp/srpt/ib_srpt.c
and then, buckle up buttercup, the entire friend group π β every single one of these:
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_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_queue_response(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)
like I said. the whole group chat. add them to the study playlist, they all ate ππ₯
and that's the page!! thank you for coming to my TED talk π§ββοΈ this little gem lives down in ./drivers/infiniband/ulp/srpt and it's dated October 2026, and yes it's still srpt_zerolength_write(9) all the way to the end because the title card never changes, bestie π byeee π
π¦ 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