bnx2i_set_sq_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:


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