STRUCT LEAPRAID_ADAPTER_FEATURES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

struct leapraid_adapter_features β€” literally the whole vibe of an adapter's features and capabilities, bestie. This is the page from the Kernel API Manual, and it's lowkey just a struct that holds all the "what can this card even do" receipts. ✨


🌸 SYNOPSIS 🌸

Ok so here's the actual shape of it, no cap, copied exactly:

struct leapraid_adapter_features {
    u16 req_slot;
    u16 hp_slot;
    u32 adapter_caps;
    u32 fw_version;
    u8 max_msix_vectors;
    u8 max_volumes;
    u16 max_dev_handle;
    u16 min_dev_handle;
    u16 msg_ver;
    u16 product_id;
 };

πŸ’… MEMBERS πŸ’…

Every field gets its moment, periodt:

  • req_slot β€” how many request slots the adapter supports. Like, its slot budget. πŸ’–
  • hp_slot β€” how many high-priority slots the adapter supports. The VIP section of slots, honestly. πŸ‘‘
  • adapter_caps β€” the adapter's capabilities. Yes the name is doing all the work, and yes it ate. ✨
  • fw_version β€” the firmware version of the adapter. Gotta know what it's running, always. πŸ¦‹
  • max_dev_handle β€” the maximum device handle the adapter supports.
  • min_dev_handle β€” the minimum device handle the adapter supports. (Yes, they're a matched set, we stan. 🫢)
Not me noticing the struct also has max_msix_vectors, max_volumes, msg_ver and product_id up in the synopsis with no lil description attached 😭 β€” they're 100% in the struct above, character for character, the page just doesn't break them down. So don't come for me, I'm only telling you what it says, fr fr. πŸ’€

🌈 SEE ALSO 🌈

Go read these next, iykyk β€” first up is the kernel file itself:

  • Kernel file ./drivers/scsi/leapraid/leapraid_func.h
  • struct leapraid_adapter_attr(9)
  • struct leapraid_io_req_tracker(9)
  • struct leapraid_task_tracker(9)
  • struct leapraid_rep_desc_maint(9)
  • struct leapraid_rep_desc_seg_maint(9)
  • struct leapraid_mem_desc(9)
  • enum LEAPRAID_CB_INDEX(9)
  • struct leapraid_default_reply(9)
  • struct leapraid_sense_buffer(9)
  • struct leapraid_driver_cmd(9)
  • struct leapraid_driver_cmds(9)
  • struct leapraid_dynamic_task_desc(9)
  • struct leapraid_fw_evt_work(9)
  • struct leapraid_fw_evt_struct(9)
  • struct leapraid_rq(9)
  • struct leapraid_int_rq(9)
  • struct leapraid_blk_mq_poll_rq(9)
  • struct leapraid_notification_desc(9)
  • struct leapraid_overheat_desc(9)
  • struct leapraid_reset_desc(9)
  • struct leapraid_scan_dev_desc(9)
  • struct leapraid_access_ctrl(9)
  • struct leapraid_fw_log_desc(9)
  • struct leapraid_card_port(9)
  • struct leapraid_card_phy(9)
  • struct leapraid_topo_node(9)
  • struct leapraid_dev_topo(9)
  • struct leapraid_boot_dev(9)
  • struct leapraid_boot_devs(9)
  • struct leapraid_adapter(9)
  • struct leapraid_enc_node(9)
  • struct leapraid_raid_volume(9)
  • struct leapraid_starget_priv(9)
  • struct leapraid_sdev_priv(9)
  • struct leapraid_sas_dev(9)
  • struct leapraid_sas_port(9)
  • struct leapraid_vphy(9)
  • struct leapraid_tgt_rst_list(9)
  • struct sense_info(9)
  • struct leapraid_fw_log_info(9)
  • enum reset_type(9)
  • struct leapraid_card_port_feature(9)

That's the whole page, bestie β€” and before you go, the source lives in ./drivers/scsi/leapraid and this lil gem is dated October 2026. Slay, go read your structs πŸ’œβœ¨

πŸ“¦ where this page comes from