STRUCT MPI3MR_BUF_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mpi3mr_buf_entry(9) β€” a Kernel API Manual moment

okay bestie, so this is a page from the Kernel API Manual and it's about struct mpi3mr_buf_entry β€” literally the tiny little descriptor that describes your userspace buffer when you're sending MPI Passthrough requests. it's giving "small struct, big responsibilities" and honestly? iconic. πŸ‘‘


✨ NAME ✨

struct mpi3mr_buf_entry β€” user buffer descriptor for MPI Passthrough requests. that's it, that's the whole job, and she does it slayfully. πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole struct, laid out exactly as it lives, no cap:

struct mpi3mr_buf_entry {
    __u8 buf_type;
    __u8 rsvd1;
    __u16 rsvd2;
    __u32 buf_len;
 };

look at her. four fields. zero drama. perfectly aligned (okay mostly aligned, the closing brace is doing its own thing and we respect it). ✨


πŸ¦‹ Members πŸ¦‹

  • buf_type β€” the buffer type πŸ’– like, what kind of buffer are we even talking about here, y'know?
  • rsvd1 β€” reserved πŸ™ˆ nothing to see here, hands off, don't touch, it's not for you bestie
  • rsvd2 β€” reserved 🫢 same energy, also off-limits, also not for you
  • buf_len β€” the buffer length 🌈 how long the thing is, so the kernel knows where the vibe ends
no but fr β€” those rsvd fields are reserved. you don't get to be creative with them. leave them exactly as they are, that's the whole assignment. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

  • the kernel file itself, right here: ./include/uapi/scsi/scsi_bsg_mpi3mr.h πŸ‘‘ yes she's the source of truth, go read her
  • 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_list(9)
  • struct mpi3mr_bsg_mptcmd(9)
  • struct mpi3mr_bsg_packet(9)

like, the whole friend group is here 🧚 and yes they all ate. go say hi to each of them, they're all in ./include/uapi/scsi, same neighborhood, same vibe. πŸ’œ


okay that's the page!! πŸ“ this beauty lives in ./include/uapi/scsi, dated October 2026, and that's the tea. mwah, go forth and describe your buffers correctly. πŸ©·πŸ’…βœ¨

πŸ“¦ where this page comes from