bnx2i_set_sq_info(9)
π NAME π
Okay so this is bnx2i_set_sq_info(9) from the Kernel API Manual, and its whole little job is updating the send queue (SQ) size parameter. That's it, that's the vibe. β¨
π SYNOPSIS π
ssize_t bnx2i_set_sq_info (struct device *dev , struct device_attribute
*attr , const char *buf , size_t count );
πΈ ARGUMENTS πΈ
devβ device pointer. Literally the device pointer, bestie.attrβ device attribute (unused). It's giving decorative, because it's unused.bufβ buffer to return current SQ size parameter.countβ parameter buffer size.
β¨ DESCRIPTION β¨
This is the interface for a user to change the shared queue size allocated for each conn. It must be within SQ limits and a power of 2. The power-of-2 thing is needed because of how libiscsi preallocates tasks β so no cap, that part is not optional. π
Bestie, seriously: within SQ limits and a power of 2. The libiscsi task preallocation is why the latter matters, iykyk. π«Ά
π¦ SEE ALSO π¦
Go check these out:
- Kernel file
./drivers/scsi/bnx2i/bnx2i_sysfs.c bnx2i_dev_to_hba(9)bnx2i_show_sq_info(9)bnx2i_show_ccell_info(9)bnx2i_set_ccell_info(9)
π Cute little sign-off time: this page's source/version is ./drivers/scsi/bnx2i, dated October 2026. Stay slay and keep those SQ sizes power-of-2. π
π¦ 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