can_link_change(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk, this is a (9) page out of the Kernel API Manual, and it's a tiny one but it ate. it does exactly one thing and it's not sorry about it: it answers the question "can this instance change the link or not?" πŸŽ€


✨ NAME ✨

can_link_change β€” can the instance change the link or not. that's it. that's the whole job. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

bool can_link_change (struct qed_dev *cdev );

yep, one function, one argument, returns a bool. short and iconic, honestly. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” Qed dev pointer. it's the qed device pointer you're handing over, that's the whole vibe of it. 🫢

⭐ RETURN ⭐

returns true if link-change is allowed, and false otherwise. no in-between, no "it depends", no situationships β€” just true or false, periodt. πŸ”₯


🌈 SEE ALSO 🌈

okay this is the part where the page goes full group-chat-tag-everyone energy, because there are so many friends to bring in 😭

Kernel file ./include/linux/qed/qed_if.h β€” that's the home base, go look there first. 🧚

and then the whole crew:

selftest_interrupt(9), selftest_memory(9), selftest_register(9), selftest_clock(9), selftest_nvram(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)

like, a whole friend group. say hi to all of them for me πŸ’–


lowkey reminder: every one of those references is written exactly as it lives in the page, so you can look them up letter for letter. no guessing, no vibes-based spelling. πŸ‘‘

okay that's the whole page, bestie β€” signing off 🫢

this came from ./include/linux/qed, dated October 2026, and honestly? iconic of it. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from