rvt_post_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual β€” this is rvt_post_send(9), and her whole job is literally post a send on a QP. that's the tweet, that's the vibe, it's giving queue-pair main character energy. πŸ’…

✨ SYNOPSIS ✨

int rvt_post_send (struct ib_qp *ibqp , const struct ib_send_wr *wr , const struct ib_send_wr **bad_wr );

πŸŽ€ ARGUMENTS πŸŽ€

  • ibqp β€” the QP to post the send on. the queue pair in question, lowkey the main character here.
  • wr β€” the list of work requests to post. all the WRs lined up and ready for their moment.
  • bad_wr β€” the first bad WR is put here. if something's not giving, the first bad one gets parked right here, no cap.

πŸ’… DESCRIPTION πŸ’…

The whole description is literally: This may be called from interrupt context. yes bestie, interrupt context β€” she said "I can do that," and that's the entire paragraph. not me being obsessed with how concise this is. periodt. 🫢

🌈 RETURN 🌈

0 on success, else errno β€” that's the vibe check: zero means slay, anything else is the errno situation. fr fr. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/infiniband/sw/rdmavt/qp.c β€” and the whole friend group is here: init_qpn_table(9), free_qpn_table(9), rvt_driver_qp_init(9), rvt_free_qp_cb(9), rvt_free_all_qps(9), rvt_qp_exit(9), alloc_qpn(9), rvt_clear_mr_refs(9), rvt_swqe_has_lkey(9), rvt_qp_sends_has_lkey(9), rvt_qp_acks_has_lkey(9), rvt_qp_mr_clean(9), rvt_remove_qp(9), rvt_alloc_rq(9), rvt_init_qp(9), _rvt_reset_qp(9), rvt_reset_qp(9), rvt_free_qpn(9), get_allowed_ops(9), free_ud_wq_attr(9), alloc_ud_wq_attr(9), rvt_create_qp(9), rvt_error_qp(9), rvt_modify_qp(9), rvt_destroy_qp(9), rvt_query_qp(9), rvt_post_recv(9), rvt_qp_valid_operation(9), rvt_qp_is_avail(9), rvt_post_one_wr(9), rvt_post_srq_recv(9), get_rvt_head(9), rvt_get_rwqe(9), rvt_comm_est(9), rvt_add_rnr_timer(9), rvt_stop_rc_timers(9), rvt_stop_rnr_timer(9), rvt_del_timers_sync(9), rvt_qp_iter_init(9), rvt_qp_iter_next(9), rvt_qp_iter(9), rvt_copy_sge(9), rvt_ruc_loopback(9). iykyk. πŸ”₯

mwah πŸ’‹ β€” source/version corner: ./drivers/infiniband/sw/rdmavt, dated October 2026, all on rvt_post_send(9).

πŸ“¦ where this page comes from