rvt_ruc_loopback(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rvt_ruc_loopback β€” from the Kernel API Manual, bestie ✨

Okay so this is rvt_ruc_loopback(9), straight out of the Kernel API Manual β€” and no cap, it's a little function with a very specific job. Let's get into it πŸŽ€


✨ NAME ✨

rvt_ruc_loopback β€” the one that handles UC and RC loopback requests πŸ¦‹


🌸 SYNOPSIS 🌸

void rvt_ruc_loopback (struct rvt_qp *sqp );

πŸ’– ARGUMENTS πŸ’–

  • sqp β€” literally just the sending QP. That's it. The main character of this whole function 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜•: this gets called from rvt_do_send to forward a WQE addressed to the same HFI. Iconic behavior, honestly.

Now, the part you need to know: even though we're single threaded due to the send engine, we still have to protect against post_send. Like, yes, it feels like we should be safe, but nope β€” gotta keep that guard up πŸ’…

And the good news? We don't have to worry about receive interrupts, because this is a connected protocol and all packets will pass through here. Every single one. Slay for us, honestly 😭✨


🌈 SEE ALSO 🌈

The kernel file lives at ./drivers/infiniband/sw/rdmavt/qp.c β€” and here's the whole friend group πŸ§šπŸ’œ:


Lowkey a whole squad, right? Go read them if you're curious β€” they're all in ./drivers/infiniband/sw/rdmavt. πŸ’€πŸ“š

Okay bye bestie 🫢 this page came from ./drivers/infiniband/sw/rdmavt, dated October 2026, and it's filed under rvt_ruc_loopback(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from