qp_to_sdma_engine(9)
π qp_to_sdma_engine(9) β like, the Kernel API Manual entry you didn't know you needed π
okay so bestie, welcome to the glow-up of qp_to_sdma_engine(9) from the Kernel API Manual. this one's short and sweet but it's lowkey important, so let's get into it fr fr β¨
β¨ NAME β¨
qp_to_sdma_engine β map a qp to a send engine π¦
like, you hand it a qp, it hands you back the send engine. matchmaker energy honestly π
πΈ SYNOPSIS πΈ
struct sdma_engine * qp_to_sdma_engine (struct rvt_qp *qp , u8 sc5 );
that's the whole thing, no cap. one function, two args, one send engine (or a NULL, we'll get there π).
π«Ά ARGUMENTS π«Ά
qpβ the QP π like, the queue pair in question, the main character of this whole operationsc5β the 5 bit sc β exactly five bits of sc, not four, not six, five. we love a specific queen
π₯ RETURN π₯
a send engine for the qp π« β¦ or NULL for SMI type qp π
so yeah β if it's an SMI type qp, you get NULL. that's not an error bestie, that's just how it is, don't come for me π
π SEE ALSO π
- Kernel file
./drivers/infiniband/hw/hfi1/qp.cπ hfi1_setup_wqe(9)_hfi1_schedule_send(9)hfi1_schedule_send(9)qp_to_send_context(9)qp_iter_print(9)hfi1_qp_iter_cb(9)hfi1_error_port_qps(9)
go read those too, iykyk πβ¨
and that's the whole page bestie, you ate that π
this iconic little number lives over in ./drivers/infiniband/hw/hfi1 and the manual's dated October 2026 β so yeah, slightly future-coded of it, but we stan a forward-thinking manpage π§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms