STRUCT LEAPRAID_SEP_REQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is struct leapraid_sep_req, bestie β€” it's the SEP (SCSI Enclosure Processor) request struct. that's it, that's the whole name. no cap.


✨ SYNOPSIS ✨

here's the whole shape of it, literally verbatim, don't @ me:

struct leapraid_sep_req {
    __le16 dev_hdl;
    u8 chain_offset;
    u8 func;
    u8 act;
    u8 flg;
    u8 r1;
    u8 msg_flag;
    u8 r2[4];
    __le32 slot_status;
    u8 r3[12];
    __le16 slot;
    __le16 enc_hdl;
 };

🌸 MEMBERS 🌸

okay so let's go member by member, no skips, we're doing the whole tour 🫢

  • dev_hdl β€” the device handle. that's the whole vibe, it's how you know which device we're talking about πŸ’…
  • chain_offset β€” offset for the chained SGE. chained. SGE. yep ✨
  • func β€” function code. the what are we even doing field.
  • act β€” action to perform. the okay but actually do it field πŸŽ€
  • flg β€” flags.
  • r1 β€” reserved. as in, hands off, it's not for you πŸ™ˆ
  • msg_flag β€” message flags.
  • r2 β€” reserved again. yes there's more of them.
  • slot_status β€” slot status.
  • r3 β€” reserved. again. there are a lot of these, it's giving "we saved seats for our friends" πŸ’€
  • slot β€” the slot number.
  • enc_hdl β€” enclosure handle. the enclosure in question πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

it's in the kernel file ./drivers/scsi/leapraid/leapraid.h β€” that's the home of this whole friend group. and here's literally every single struct and union it hangs out with (yes, all of them, i counted, i'm not skipping one, obsessed with thoroughness ngl):

  • struct leapraid_reg_base(9)
  • struct leapraid_atomic_req_desc(9)
  • union leapraid_rep_desc_union(9)
  • struct leapraid_req(9)
  • struct leapraid_rep(9)
  • struct leapraid_sge_simple32(9)
  • struct leapraid_sge_simple64(9)
  • struct leapraid_sge_simple_union(9)
  • struct leapraid_sge_chain_union(9)
  • struct leapraid_ieee_sge_simple32(9)
  • struct leapraid_ieee_sge_simple64(9)
  • union leapraid_ieee_sge_simple_union(9)
  • union leapraid_ieee_sge_chain_union(9)
  • struct leapraid_chain64_ieee_sg(9)
  • union leapraid_ieee_sge_io_union(9)
  • union leapraid_simple_sge_union(9)
  • union leapraid_sge_io_union(9)
  • struct leapraid_cfg_pg_header(9)
  • struct leapraid_cfg_ext_pg_header(9)
  • struct leapraid_cfg_req(9)
  • struct leapraid_cfg_rep(9)
  • struct leapraid_boot_dev_format_sas_wwid(9)
  • struct leapraid_boot_dev_format_enc_slot(9)
  • struct leapraid_boot_dev_format_dev_name(9)
  • union leapraid_boot_dev_format(9)
  • struct leapraid_manufacturing_p0(9)
  • struct leapraid_bios_page2(9)
  • struct leapraid_bios_page3(9)
  • struct leapraid_raidvol0_phys_disk(9)
  • struct leapraid_raidvol_p0(9)
  • struct leapraid_raidvol_p1(9)
  • struct leapraid_raidpd_p0(9)
  • struct leapraid_sas_io_unit0_phy_info(9)
  • struct leapraid_sas_io_unit_p0(9)
  • struct leapraid_exp_p0(9)
  • struct leapraid_exp_p1(9)
  • struct leapraid_sas_dev_p0(9)
  • struct leapraid_sas_phy_p0(9)
  • struct leapraid_enc_p0(9)
  • struct leapraid_raid_cfg_p0_element(9)
  • struct leapraid_raid_cfg_p0(9)
  • union leapraid_mpi_scsi_io_cdb_union(9)
  • struct leapraid_mpi_scsiio_req(9)
  • union leapraid_scsi_io_cdb_union(9)
  • struct leapraid_scsiio_req(9)
  • struct leapraid_scsiio_rep(9)
  • struct leapraid_scsi_tm_req(9)
  • struct leapraid_scsi_tm_rep(9)
  • struct leapraid_sep_rep(9)
  • struct leapraid_adapter_init_req(9)
  • struct leapraid_rep_desc_q_arr(9)
  • struct leapraid_adapter_init_rep(9)
  • struct leapraid_adapter_log_req(9)
  • struct leapraid_adapter_log_rep(9)
  • struct leapraid_adapter_features_req(9)
  • struct leapraid_adapter_features_rep(9)
  • struct leapraid_scan_dev_req(9)
  • struct leapraid_scan_dev_rep(9)
  • struct leapraid_evt_notify_req(9)
  • struct leapraid_evt_notify_rep(9)
  • struct leapraid_evt_data_sas_dev_status_change(9)
  • struct leapraid_evt_data_ir_change(9)
  • struct leapraid_evt_data_sas_disc(9)
  • struct leapraid_evt_sas_topo_phy_entry(9)
  • struct leapraid_evt_data_sas_topo_change_list(9)
  • struct leapraid_evt_data_sas_enc_dev_status_change(9)
  • struct leapraid_io_unit_ctrl_req(9)
  • struct leapraid_io_unit_ctrl_rep(9)
  • struct leapraid_raid_act_req(9)
  • struct leapraid_raid_act_rep(9)
  • struct leapraid_smp_passthrough_req(9)
  • struct leapraid_smp_passthrough_rep(9)
  • struct leapraid_sas_io_unit_ctrl_req(9)

ok and one last thing before you go β€” this whole page lives in ./drivers/scsi/leapraid, and it's dated October 2026. so it's from the future, kind of iconic of it honestly πŸ‘‘βœ¨ go read the header file, it ate πŸ’…
πŸ“¦ where this page comes from