selftest_nvram(9)
π selftest_nvram β the kernel API manual, bestie edition β¨
okay so real talk: this is selftest_nvram(9), from the Kernel API Manual, and it does exactly one iconic thing β it runs the nvram test. that's the whole vibe. no cap.
β¨ NAME β¨
selftest_nvram β perform nvram test. literally it. she tests the nvram, she slays, she leaves. π
π¦ SYNOPSIS π¦
int selftest_nvram (struct qed_dev *cdev );
πΈ ARGUMENTS πΈ
cdevβ the Qed dev pointer. that's your girl right there, the one you're handing over so she can do her little nvram test. π«Ά
π RETURN π
0on success π- error otherwise π
like, that's it. zero means we ate. anything else means something went sideways.
ngl bestie, there's no in-between here β it's 0 or it's an error, pick your fighter.
π SEE ALSO π
the whole friend group shows up for this one, iykyk:
- kernel file
./include/linux/qed/qed_if.hβ that's the source of truth, go look at her π selftest_interrupt(9)selftest_memory(9)selftest_register(9)selftest_clock(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)get_affin_hwfn_idx(9)read_nvm_cfg(9)read_nvm_cfg_len(9)set_grc_config(9)qed_sb_ack(9)
and that's the whole page, periodt. π
π§ sign-off time: this one lives in ./include/linux/qed, and it's dated October 2026. go off, 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