STRUCT MPI3MR_BSG_MPTCMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mpi3mr_bsg_mptcmd(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” yes that's the manual name, we're fancy now πŸŽ€ β€” and today's main character is struct mpi3mr_bsg_mptcmd. literally iconic. no cap.


🌸 NAME 🌸

struct mpi3mr_bsg_mptcmd β€” the generic bsg data structure for all MPI Passthrough requests 🫢 (yes, all of them, she's a universal queen πŸ‘‘).


✨ SYNOPSIS ✨

struct mpi3mr_bsg_mptcmd {
    __u8 mrioc_id;
    __u8 rsvd1;
    __u16 timeout;
    __u32 rsvd2;
    struct mpi3mr_buf_entry_list buf_entry_list;
 };

look at her. five fields. immaculate vibes πŸ’–


πŸ¦‹ Members πŸ¦‹

  • mrioc_id β€” the Controller ID 🎯 like, which controller are we even talking to, bestie
  • rsvd1 β€” Reserved πŸ™ˆ nothing to see here, move along
  • timeout β€” the MPI request timeout ⏰ she waits, but only for so long
  • rsvd2 β€” Reserved again πŸ’€ do not touch, do not perceive
  • buf_entry_list β€” the Buffer descriptor list πŸ“‹ a whole struct mpi3mr_buf_entry_list, living her best life inside this struct

🌈 SEE ALSO 🌈

Kernel file ./include/uapi/scsi/scsi_bsg_mpi3mr.h β€” that's the source of truth, go read her πŸ’œ

and the whole friend group, fr fr:

  • struct mpi3_driver_info_layout(9)
  • struct mpi3mr_bsg_in_adpinfo(9)
  • struct mpi3mr_bsg_adp_reset(9)
  • struct mpi3mr_change_count(9)
  • struct mpi3mr_device_map_info(9)
  • struct mpi3mr_all_tgt_info(9)
  • struct mpi3mr_logdata_enable(9)
  • struct mpi3mr_bsg_out_pel_enable(9)
  • struct mpi3mr_logdata_entry(9)
  • struct mpi3mr_bsg_in_log_data(9)
  • struct mpi3mr_hdb_entry(9)
  • struct mpi3mr_bsg_in_hdb_status(9)
  • struct mpi3mr_bsg_out_repost_hdb(9)
  • struct mpi3mr_bsg_out_upload_hdb(9)
  • struct mpi3mr_bsg_out_refresh_hdb_triggers(9)
  • struct mpi3mr_bsg_drv_cmd(9)
  • struct mpi3mr_bsg_in_reply_buf(9)
  • struct mpi3mr_buf_entry(9)
  • struct mpi3mr_buf_entry_list(9)
  • struct mpi3mr_bsg_packet(9)

bestie this is a UAPI struct, so those field names and the order are the whole vibe check β€” don't go renaming anything, the kernel will simply not be slaying about it 😭

okay that's the whole page, mwah πŸ’‹ β€” this came from ./include/uapi/scsi, dated October 2026, and the header up top said struct mpi3mr_bsg_mptcmd(9) just so you know where you are 🧚✨

πŸ“¦ where this page comes from