STRUCT MPT3_IOCTL_COMMAND(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for struct mpt3_ioctl_command β€” the generic mpt firmware passthru ioctl. it’s giving β€œone struct, lots of pointer fields,” and every single field is right here:

  • @hdr β€” generic header.
  • @timeout β€” command timeout in seconds. (if zero then use driver default value).
  • @reply_frame_buf_ptr β€” reply location.
  • @data_in_buf_ptr β€” destination for read.
  • @data_out_buf_ptr β€” data source for write.
  • @sense_data_ptr β€” sense data location.
  • @max_reply_bytes β€” maximum number of reply bytes to be sent to app.
  • @data_in_size β€” number bytes for data transfer in (read).
  • @data_out_size β€” number bytes for data transfer out (write).
  • @max_sense_bytes β€” maximum number of bytes for auto sense buffers.
  • @data_sge_offset β€” offset in words from the start of the request message to the first SGL.

and the NAME line wraps up with @mf[1]; β€” yes, semicolon included, no cap πŸ’…


✨ SYNOPSIS ✨

the shape is literally this, copied exactly, no edits:

       struct mpt3_ioctl_command {
           struct mpt3_ioctl_header hdr;
           uint32_t timeout;
           void __user *reply_frame_buf_ptr;
           void __user *data_in_buf_ptr;
           void __user *data_out_buf_ptr;
           void __user *sense_data_ptr;
           uint32_t max_reply_bytes;
           uint32_t data_in_size;
           uint32_t data_out_size;
           uint32_t max_sense_bytes;
           uint32_t data_sge_offset;
           uint8_t mf[1];
        };

🌟 Members 🌟

the original page has this heading and then nothing under it. it’s giving mystery, but there are no member notes to add here, periodt.


πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/scsi/mpt3sas/mpt3sas_ctl.h

all the struct besties, none skipped:

  • struct mpt3_ioctl_header(9)
  • struct mpt3_ioctl_diag_reset(9)
  • struct mpt3_ioctl_pci_info(9)
  • struct mpt3_ioctl_iocinfo(9)
  • struct mpt3_ioctl_eventquery(9)
  • struct mpt3_ioctl_eventenable(9)
  • struct MPT3_IOCTL_EVENTS(9)
  • struct mpt3_ioctl_eventreport(9)
  • struct mpt3_ioctl_btdh_mapping(9)
  • struct mpt3_diag_register(9)
  • struct mpt3_diag_unregister(9)
  • struct mpt3_diag_query(9)
  • struct mpt3_diag_release(9)
  • struct mpt3_diag_read_buffer(9)
  • struct mpt3_addnl_diag_query(9)
  • struct mpt3_enable_diag_sbr_reload(9)
  • struct mpt3_passthru_command(9)

source/version: ./drivers/scsi/mpt3sas Β· date: October 2026 Β· page: struct mpt3_ioctl_command(9) β€” bye bestie, stay iconic πŸ’–

πŸ“¦ where this page comes from