qla2x00_prep_ct_fdmi_req(9)
π qla2x00_prep_ct_fdmi_req(9) π
okay so this is a page from the Kernel API Manual, and honestly? it's a little one. a short king. but we're gonna give it the full main character treatment anyway π«Ά
β¨ NAME β¨
qla2x00_prep_ct_fdmi_req β bestie, this one gets the common CT request fields all set up and ready for the SNS query π
πΈ SYNOPSIS πΈ
struct ct_sns_req * qla2x00_prep_ct_fdmi_req (struct ct_sns_pkt *p ,
uint16_t cmd , uint16_t rsp_size );
like, it hands you back a struct ct_sns_req * and it takes three things. that's the whole vibe check β¨
π¦ ARGUMENTS π¦
pβ the CT request buffer. this is where the magic happens, it's the canvas πcmdβ the GS command. literally the instruction, iykyk π- rsp_size β response size in bytes. yes it's bytes, we're counting them, we're being precise about it β
π DESCRIPTION π
so here's the tea β: it returns a pointer to the initialized ct_req. that's it. that's the whole function. it preps the thing, you get the pointer, everybody slays π
no cap, sometimes the little functions are the ones holding the entire operation together π₯
π SEE ALSO π
the kernel file lives at ./drivers/scsi/qla2xxx/qla_gs.c β go say hi to it, it's iconic π§
and here's the whole friend group, alphabet-adjacent chaos and all:
qla2x00_prep_ms_iocb(9)qla24xx_prep_ms_iocb(9)qla2x00_prep_ct_req(9)qla2x00_ga_nxt(9)qla2x00_gid_pt(9)qla2x00_gpn_id(9)qla2x00_gnn_id(9)qla2x00_rft_id(9)qla2x00_rff_id(9)qla2x00_rnn_id(9)qla2x00_rsnn_nn(9)qla2x00_prep_sns_cmd(9)qla2x00_sns_ga_nxt(9)qla2x00_sns_gid_pt(9)qla2x00_sns_gpn_id(9)qla2x00_sns_gnn_id(9)qla2x00_sns_rft_id(9)qla2x00_sns_rnn_id(9)qla2x00_mgmt_svr_login(9)qla2x00_prep_ms_fdmi_iocb(9)qla24xx_prep_ms_fdmi_iocb(9)qla2x00_hba_attributes(9)qla2x00_port_attributes(9)qla2x00_fdmi_rhba(9)qla2x00_fdmi_rprt(9)qla2x00_fdmi_rpa(9)qla2x00_fdmi_register(9)qla2x00_gfpn_id(9)qla2x00_gff_id(9)
ngl bestie, if you're here you're probably already deep in the qla2xxx trenches. proud of you. drink some water π
and that's the page!! shoutout to ./drivers/scsi/qla2xxx for bringing us together, dated October 2026 β see you in the next release, mwah ππ
π¦ 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