qla29xx_calc_iocbs(9)
π qla29xx_calc_iocbs π
okay bestie, welcome to the Kernel API Manual β¨ this one is all about qla29xx_calc_iocbs, and itβs here to figure out how many Command-Type and Continuation IOCBs you need to allocate for the 29xx extended (128-byte) IOCB ring π
πΈ NAME πΈ
qla29xx_calc_iocbs β Determine number of Command-Type and Continuation IOCBs to allocate for the 29xx extended (128-byte) IOCB ring.
β¨ SYNOPSIS β¨
uint16_t qla29xx_calc_iocbs (scsi_qla_host_t *vha , uint16_t dsds , uint8_t iocb_dsds );
π ARGUMENTS π
vhaβ HA context. Thatβs the host adapterβs little home base π«Άdsdsβ number of data segment descriptors needed. The actual count youβre trying to carry π¦iocb_dsdsβ number of DSDs embedded in the first (command) IOCB. The remaining DSDs ride on Continuation Type 1 Ext IOCBs which holdNUM_CONT1_DSDS(10) each. Yes, ten per continuation, periodt π§
π DESCRIPTION π
Returns the total number of IOCB entries needed to carry dsds. Thatβs the whole vibe check: you give it the DSD situation, it tells you how many IOCB entries the ring has to hold π₯
π SEE ALSO π
Kernel file ./drivers/scsi/qla2xxx/qla_inline.h plus the whole friend group:
qla24xx_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_slot(9)qla_req_ring_advance(9)qla_rsp_ring_rewind_to(9)
and thatβs the whole page, bestie β mwah π source/version ./drivers/scsi/qla2xxx, dated October 2026, and itβs serving qla29xx_calc_iocbs(9) energy π
π¦ 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