rvt_qp_iter_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

rvt_qp_iter_next β€” return the next QP in iter. Okay bestie, this is the rvt_qp_iter_next(9) page from the Kernel API Manual, and it's literally the little iterator step that hands you the next QP. πŸ“


πŸ¦‹ SYNOPSIS πŸ¦‹

int rvt_qp_iter_next (struct rvt_qp_iter *iter );

πŸŽ€ ARGUMENTS πŸŽ€

  • iter β€” the iterator. That's the whole argument, no cap. 🫢

🌸 DESCRIPTION 🌸

This is a fine grained QP iterator that's suitable for use with debugfs seq_file mechanisms. It's giving very focused, very debug-friendly energy. ✨

When the return value is 0, it updates iter->qp with the current QP. So yeah, that's the main-character move right there. πŸ’…


⭐ RETURN ⭐

Vibe check on the return values:

  • 0 β€” iter->qp is valid. Slay, you got one. πŸ’–
  • 1 β€” no more QPs. That's the end, bestie. 😭

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/infiniband/sw/rdmavt/qp.c, plus the whole squad:


Mwah πŸ’‹ β€” cute little sign-off from the footer: source path ./drivers/infiniband/sw/rdmavt, date October 2026, and the page signs itself rvt_qp_iter_next(9). 🫢

πŸ“¦ where this page comes from