qed_pglueb_set_pfid_enable(9)
π qed_pglueb_set_pfid_enable π
okay so bestie, welcome to the Kernel API Manual β section 9, the driver-functions corner of the kernel, where all the qed hardware glue lives. this page is about one lil function that flips the PCI BUS MASTER bit on or off. yes, that bit. no cap, it's kind of a big deal π«Ά
β¨ NAME β¨
qed_pglueb_set_pfid_enable β literally just enable or disable PCI BUS MASTER. that's the whole vibe. main character energy for one single bit π
πΈ SYNOPSIS πΈ
int qed_pglueb_set_pfid_enable (struct qed_hwfn *p_hwfn , struct qed_ptt
* p_ptt , bool b_enable );
so you hand it a HW function pointer thingy, a PTT, and a bool, and it gives you back an int. iconic signature, no notes β¨
π¦ ARGUMENTS π¦
p_hwfnβ HW device data. this is the hardware function struct, your whole device's little soul, bestie πp_pttβ P_ptt. yes, that's the description, and yes, it's literally just "P_ptt". that's the PTT handle you gotta have (iykyk π§)b_enableβ True/False.true= turn it on,false= turn it off. simple as that, slay π
π₯ RETURN π₯
Returns an Int. that's it. that's the return section. it's giving minimalist π
π SEE ALSO π
first up, the source file it lives in β go touch grass in the kernel tree:
Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dev_api.h
and now the whole friend group, fr fr β every single one of these, in order, no skips:
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_prepare(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_db_recovery_add(9)qed_db_recovery_del(9)
ngl that's a lot of friends. read them all, bestie, they're all part of the same qed saga π
that's the whole page, beautiful. this absolute baddie of a manpage came out of ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it's filed under section 9 β qed_pglueb_set_pfid_enable(9) β in the Kernel API Manual. periodt. πππ¦
π¦ 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