qed_pglueb_set_pfid_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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