STRUCT LEAPRAID_ADAPTER_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct leapraid_adapter_attr(9) πŸ’–

okay so this is a page from the Kernel API Manual, and bestie, we are about to get so cozy with the adapter attributes struct. it's giving "the ultimate vibe check card for your LeapRAID adapter" ✨


🌸 NAME 🌸

struct leapraid_adapter_attr β€” literally the adapter attributes and capabilities. that's the whole thing. it's the struct that tells you what your adapter is and what it can do. no cap. πŸ‘‘


✨ SYNOPSIS ✨

struct leapraid_adapter_attr {
    u8 id;
    u8 raid_support;
    u32 bios_version;
    u8 enable_mp;
    u32 wideport_max_queue_depth;
    u32 narrowport_max_queue_depth;
    u32 sata_max_queue_depth;
    u32 raid_volume_max_queue_depth;
    struct leapraid_adapter_features features;
    u32 adapter_total_qd;
    u32 io_qd;
    u32 rep_msg_qd;
    u32 rep_desc_qd;
    u32 rep_desc_q_seg_cnt;
    u16 rq_cnt;
    u32 task_desc_dma_size;
    u8 use_32_dma_mask;
    char name[LEAPRAID_NAME_LENGTH];
    char board_name[LEAPRAID_BOARD_NAME_LENGTH];
 };

look at her. flawless. not a single field out of place. πŸ’…


πŸ¦‹ Members πŸ¦‹

okay so every single member, one by one, no skipping, we don't do that here 🫢

  • id β€” the adapter identifier. it's the adapter's little name tag at the party. πŸŽ€
  • raid_support β€” tells you whether RAID is supported or not. yes/no energy.
  • bios_version β€” the version of the adapter BIOS. her firmware era. ⭐
  • enable_mp β€” says whether multipath (MP) support is enabled. squad goals, but for paths.
  • wideport_max_queue_depth β€” the maximum queue depth for wide ports.
  • narrowport_max_queue_depth β€” the maximum queue depth for narrow ports. (yes, she has both. range.)
  • sata_max_queue_depth β€” the maximum queue depth for SATA.
  • raid_volume_max_queue_depth β€” the maximum queue depth for RAID volumes.
  • features β€” the detailed features of the adapter, bundled up all nicely in a struct leapraid_adapter_features. the main character of the capability department πŸ‘‘
  • adapter_total_qd β€” the total queue depth available on the adapter. the whole bag. πŸ’°
  • io_qd β€” the queue depth allocated for I/O operations.
  • rep_msg_qd β€” the queue depth for reply messages.
  • rep_desc_qd β€” the queue depth for reply descriptors.
  • rep_desc_q_seg_cnt β€” the number of segments in a reply descriptor queue.
  • rq_cnt β€” the number of request queues. count 'em.
  • task_desc_dma_size β€” the size of the task descriptor DMA memory. DMA memory said "size matters" and honestly? valid. 😭
  • use_32_dma_mask β€” says whether the 32-bit DMA mask is used. it's a whole little flag about it.
  • name β€” the adapter name string. char name[LEAPRAID_NAME_LENGTH] β€” that's her name, in a fixed-size little box. πŸŽ€
  • board_name β€” the board name, and this one is specifically retrieved from manufacturing page 0. like, it's sourced. iykyk. πŸ“‹

🌈 SEE ALSO 🌈

the kernel file lives right here, no cap:

Kernel file ./drivers/scsi/leapraid/leapraid_func.h struct

and then the whole extended family shows up. literally the entire friend group, all invited to the group chat πŸ’œ

  • leapraid_adapter_features(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)

ngl bestie, that's a lot of cross-references. but every single one of them is here, because we keep the facts and only change the vibe. periodt. πŸ’…

<div align="center">🌸 that's the whole page, bestie 🌸</div>

this one came straight out of ./drivers/scsi/leapraid and it's dated October 2026 β€” so like, yeah, she's from the future and she's still iconic. πŸ¦‹ mwah πŸ’–

πŸ“¦ where this page comes from