qla_req_ring_slot(9)
β¨ qla_req_ring_slot(9) β¨
okay so bestie, welcome to the Kernel API Manual β today's main character is qla_req_ring_slot(9) and honestly? she's a little sleeper hit π
πΈ NAME πΈ
qla_req_ring_slot β hands you back the current producer slot on the request ring π«
π¦ SYNOPSIS π¦
void * qla_req_ring_slot (struct qla_hw_data *ha , struct req_que *req
);
π ARGUMENTS π
haβ the HBA pointer, aka your hardware baddie π«Άreqβ the request queue, the whole vibe of this function tbh
β¨ DESCRIPTION β¨
So here's the tea β β this one behaves differently depending on which adapter you're on, and she does <emphasis>not</emphasis> do the same thing twice:
- On 29xx, the firmware-visible ring uses 128-byte-strided entries referenced by
ring_ext_ptrπ₯ - On earlier adapters, it's the 64-byte ring referenced by
ring_ptrinstead π
The pointer you get back is layout-compatible with request_t for common header writes β so if you're just doing the usual header stuff, you're chilling π
but listen bestie, if you need the 29xx-specific fields you have to cast to struct request_ext. no cap, don't skip that π¨
π SEE ALSO π
Kernel file ./drivers/scsi/qla2xxx/qla_inline.h and the whole friend group:
qla24xx_calc_iocbs(9)qla29xx_calc_iocbs(9)qla_req_entry_size(9)qla_rsp_entry_size(9)qla_sts_cont_data_size(9)qla_logio_set_vp_index(9)qla_rsp_ring_advance(9)qla_req_ring_advance(9)qla_rsp_ring_rewind_to(9)
and that's the whole page, periodt π brought to you by the lovely people over at ./drivers/scsi/qla2xxx, dated October 2026, and yes the page itself is still called qla_req_ring_slot(9) β slay π§β
π¦ 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