qla2x00_start_scsi(9)
π« qla2x00_start_scsi(9) π«
okay bestie, welcome to the Kernel API Manual β this one's a little function from the qla2xxx driver, and yes it's giving lowkey legendary β¨
πΈ NAME πΈ
qla2x00_start_scsi β send a SCSI command to the ISP π That's the whole vibe. You hand it a command, it ships it off to the ISP. periodt.
π¦ SYNOPSIS π¦
int qla2x00_start_scsi (srb_t *sp );
Literally the whole signature. Short, sweet, iconic π
π ARGUMENTS π
spβ the command you're sending to the ISP. that's it. that's the argument. main character energy fr fr π«Ά
β DESCRIPTION β
So here's the tea: it returns non-zero if a failure occurred, and zero otherwise. no cap, that's the whole behavior contract π Keep an eye on that return value, bestie β nonzero means something went sideways π
π SEE ALSO π
Kernel file ./drivers/scsi/qla2xxx/qla_iocb.c β that's where the magic lives π
and the whole friend group of related functions, all here so you can go down the rabbit hole:
qla2x00_get_cmd_direction(9)qla2x00_calc_iocbs_32(9)qla2x00_calc_iocbs_64(9)qla2x00_prep_cont_type0_iocb(9)qla2x00_prep_cont_type1_iocb(9)qla2x00_build_scsi_iocbs_64(9)qla2x00_start_iocbs(9)__qla2x00_marker(9)qla24xx_build_scsi_iocbs(9)qla24xx_build_scsi_crc_2_iocbs(9)qla24xx_start_scsi(9)qla24xx_dif_start_scsi(9)qla2xxx_start_scsi_mq(9)qla2xxx_dif_start_scsi_mq(9)qla_start_scsi_type6(9)qla2900_prep_cont_type1_iocb(9)qla29xx_build_scsi_type_6_iocbs(9)qla29xx_build_scsi_iocbs(9)qla29xx_build_scsi_crc_2_iocbs(9)qla29xx_copy_dif_iocb_data(9)
like, that's a whole squad π§ go read them, iykyk π
π cute lil sign-off π β this whole page lives under./drivers/scsi/qla2xxxand it's dated October 2026, page nameqla2x00_start_scsi(9). slay, go ship some SCSI commands π¦π₯
π¦ 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