STRUCT LEAPRAID_ADAPTER_ATTR(9)
π 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 astruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms