bnx2i_cpy_scsi_cdb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to bnx2i_cpy_scsi_cdb(9) β€” a page straight outta the Kernel API Manual, and it's all about one lil helper doing its formatting thing in the bnx2i iSCSI world. πŸ’…

bnx2i_cpy_scsi_cdb β€” copies the LUN & CDB fields in the required format to sq wqe. That's the whole vibe: fields go in, correct format comes out, sq wqe gets what it needs. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void bnx2i_cpy_scsi_cdb (struct scsi_cmnd *sc , struct bnx2i_cmd *cmd );

It's a void function, so no return value to catch, bestie β€” just vibes and field-copying. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

Two args, both little besties:

  • sc β€” the SCSI-ML command pointer. It's the SCSI command's main character. 🌟
  • cmd β€” the iscsi cmd pointer. That's the iSCSI-side command buddy. πŸ’œ

🌈 SEE ALSO 🌈

Obvi you're gonna want the rest of the bnx2i crew, plus the kernel file where this lives:


made with πŸ’– under ./drivers/scsi/bnx2i β€’ October 2026 β€’ that's the source/date combo, bestie, and this page is officially done. πŸ’…βœ¨

πŸ“¦ where this page comes from