irdma_bld_termhdr_ctrl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to irdma_bld_termhdr_ctrl(9) from the Kernel API Manual ✨. This page is literally about one tiny-but-iconic job: setup terminate hdr control fields πŸ’…. It’s a section 9 kernel API moment, and the function is irdma_bld_termhdr_ctrl β€” small helper energy, but make it make sense.

🌸 SYNOPSIS 🌸

void irdma_bld_termhdr_ctrl (struct irdma_sc_qp *qp , struct
       irdma_terminate_hdr *hdr , enum irdma_flush_opcode opcode , u8
       layer_etype , u8 err );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • qp β€” the sc qp ptr for the pkt 🫢. That’s the qp pointer main character for this packet situation.
  • hdr β€” the term hdr. The terminate header struct that’s getting its control fields set up πŸ’–.
  • opcode β€” the flush opcode for the termhdr. Literally the opcode value for this terminate header.
  • layer_etype β€” error layer + error type, bundled into one argument. Yes bestie, both vibes in one parameter ✨.
  • err β€” the error cod ein the header 😭. The og page really says error cod ein, but it’s the error code value in the header, no cap.

πŸ‘‘ SEE ALSO πŸ‘‘

The see-also friend group is right here, plus the kernel file:


xoxo, this page comes from ./drivers/infiniband/hw/irdma, and the date/version vibe is October 2026 πŸ’–πŸ«Ά.

πŸ“¦ where this page comes from