qed_hw_prepare(9)
π qed_hw_prepare(9) β the Kernel API Manual moment
okay so bestie, welcome to qed_hw_prepare from the Kernel API Manual, section 9 ofc. this is the glow-up ritual where we literally get the Qed hardware ready to slay. no cap, that's the whole vibe. β¨
πΈ NAME πΈ
qed_hw_prepare β prepare Qed hardware. that's it, that's the tweet. she gets the hardware prepped and pretty. π
π¦ SYNOPSIS π¦
int qed_hw_prepare (struct qed_dev *cdev , int personality );
like, look at her. iconic signature. int going in, int coming out, a struct qed_dev * and an int in the middle. periodt.
π ARGUMENTS π
cdevβ the Qed dev pointer, aka the main character of this whole operation. hand her over and let her cook. πpersonalityβ the personality to initialize. yes literally, that's the name, we don't make the rules. she's getting a whole personality assigned. π
π RETURN π
Returns an Int. that's the whole return section, she's mysterious like that. π
π SEE ALSO π
grab a snack, this list is long and we're getting through all of it, no skipping, i don't make the rules:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_dev_api.hβ the sacred text, go read it iykyk qed_init_dp(9)qed_init_struct(9)qed_resc_free(9)qed_resc_alloc(9)qed_resc_setup(9)qed_hw_init(9)qed_hw_timers_stop_all(9)qed_hw_stop(9)qed_hw_stop_fastpath(9)qed_hw_start_fastpath(9)qed_hw_remove(9)qed_ptt_acquire(9)qed_ptt_acquire_context(9)qed_ptt_release(9)qed_dmae_host2grc(9)qed_dmae_host2host(9)qed_fw_l2_queue(9)qed_fw_vport(9)qed_fw_rss_eng(9)qed_llh_get_num_ppfid(9)qed_llh_set_ppfid_affinity(9)qed_llh_set_roce_affinity(9)qed_llh_add_mac_filter(9)qed_llh_remove_mac_filter(9)qed_llh_add_protocol_filter(9)qed_llh_remove_protocol_filter(9)qed_final_cleanup(9)qed_get_queue_coalesce(9)qed_set_queue_coalesce(9)qed_pglueb_set_pfid_enable(9)qed_db_recovery_add(9)qed_db_recovery_del(9)
all of them. every single one. we ate and left no crumbs. π
and that's the page bestie!! this lil masterpiece lives in ./drivers/net/ethernet/qlogic/qed and the version/date stamp on her is October 2026, with the page name qed_hw_prepare(9) β go forth and prepare some hardware, 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