get_affin_hwfn_idx(9)
β¨ get_affin_hwfn_idx β¨
okay so we're reading the get_affin_hwfn_idx(9) page, straight out of the Kernel API Manual β yes the actual kernel docs, we're fancy now π
don't worry, it's a short one, you got this π«Ά
πΈ NAME πΈ
get_affin_hwfn_idx β literally just gets you the affine HW function β¨
π¦ SYNOPSIS π¦
u8 get_affin_hwfn_idx (struct qed_dev *cdev );
bestie look at that signature, it's giving one argument, one return, zero drama π
π ARGUMENTS π
cdevβ the Qed dev pointer π that's it, that's the whole argument list, iconic behaviour honestly
β RETURN β
u8. that's the whole answer π it returns a u8, no cap, that's what it is π
π₯ SEE ALSO π₯
okay this is the part where the page goes absolutely feral with cross-references, so buckle up bestie π you get the kernel file itself plus a whole friend group of related calls:
- Kernel file
./include/linux/qed/qed_if.hπ (that's where the magic lives)
and then the icons themselves:
selftest_interrupt(9)selftest_memory(9)selftest_register(9)selftest_clock(9)selftest_nvram(9)can_link_change(9)set_link(9)get_link(9)drain(9)update_msglvl(9)nvm_flash(9)nvm_get_image(9)set_coalesce(9)set_led(9)attn_clr_enable(9)db_recovery_add(9)db_recovery_del(9)recovery_process(9)recovery_prolog(9)update_drv_state(9)update_mac(9)update_mtu(9)update_wol(9)read_module_eeprom(9)read_nvm_cfg(9)read_nvm_cfg_len(9)set_grc_config(9)qed_sb_ack(9)
like, twenty-eight of them?? the way this one tiny function has the biggest social circle ππ but honestly, go read them, they're all slaying in their own way π
lowkey reminder: everything above is exactly what the page says β I'm not adding lore, I'm just hyping it up π
and that's a wrap!! π this page ships out of ./include/linux/qed in the Kernel API Manual, dated October 2026 β mwah, go get that u8 bestie πβ¨π¦
π¦ 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