qla29xx_calc_iocbs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 hold NUM_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:


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