srpt_ch_qp_err(9)
π srpt_ch_qp_err β yes bestie, we're in the kernel API manual
okay so real talk, this is srpt_ch_qp_err(9), straight out of the Kernel API Manual, and it's a tiny little function with one job and honestly? it ate. it's giving "one line of prose, zero notes." let's get into it π«Ά
β¨ NAME β¨
srpt_ch_qp_err β sets the channel queue pair state to 'error'
that's it. that's the whole vibe. the queue pair gets told it's in its error era and we move on π
πΈ SYNOPSIS πΈ
int srpt_ch_qp_err (struct srpt_rdma_ch *ch );
so she takes one argument, a pointer, and hands you back an int. no cap, that's the whole signature β¨
π ARGUMENTS π
chβ the SRPT RDMA channel. as in, the channel. the main character. you hand her over and she gets her queue pair state flipped to'error'.
lowkey there is exactly one argument here and i respect that so much. no optional extras, no "just in case" params, just vibes and a channel π
π¦ SEE ALSO π¦
okay bestie buckle up, this is the long part, and i mean long. the kernel file herself lives right here:
- Kernel file
./drivers/infiniband/ulp/srpt/ib_srpt.c
and now the whole friend group, in the exact order they showed up, no skipping, no gatekeeping π
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_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. all 49 of them. i counted so you don't have to π
that's the page babes, hope it slayed π
sign-off szn π§: this little icon came from ./drivers/infiniband/ulp/srpt, dated October 2026, and answers to the name srpt_ch_qp_err(9). mwah. π
β¨
π¦ 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