STRUCT RVT_UD_WR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct rvt_ud_wr(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this one's a little struct with big main character energy, and honestly? it's giving "small but mighty." let's get into it 🫢


🌸 NAME 🌸

struct rvt_ud_wr β€” the IB UD work request plus its AH cache, periodt πŸ’–


✨ SYNOPSIS ✨

struct rvt_ud_wr {
    struct ib_ud_wr wr;
    struct rdma_ah_attr *attr;
 };

like, that's the whole vibe. two fields. clean. iconic. no cap πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • wr β€” a valid IB work request. literally the actual work, the moment, the main event πŸ‘‘
  • attr β€” a pointer to an allocated AH attribute. it's a pointer, she points, that's her job πŸ’…

🌈 Description 🌈

so basically this is the special-case version of the UD WR, and the whole reason it exists is so we can keep track of the AH attributes ✨ it's a dedicated lil home for them, and we're obsessed.


πŸ’€ NOTE πŸ’€

bestie. listen. this data structure is stricly ordered wr then attr. i.e. the attr MUST come after wr. 🚨

like, do not reorder them, do not pass go, do not collect $200 πŸ™ˆ the ib_ud_wr is sized and copied in rvt_post_one_wr, and that copy assumes that wr is first. so the layout is not a suggestion, it's the law πŸ’―


🧚 SEE ALSO 🧚

Kernel file ./include/rdma/rdmavt_qp.h β€” and then the whole squad, fr fr:


and that's the whole page, bestie β€” no crumbs left behind πŸ“

signing off from ./include/rdma, dated October 2026, on struct rvt_ud_wr(9) πŸŽ€ slay, stay ordered, and keep wr first πŸ’–βœ¨

πŸ“¦ where this page comes from