qed_vf_check_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_vf_check_mac(9) β€” the "can this VF have a MAC or not" check ✨

Okay bestie, so this one is a kernel API manual page β€” yes, like the real one, from the Kernel API Manual set β€” and the function living its main character life here is qed_vf_check_mac. Its whole job? Finding out whether a VF is allowed to set a MAC address. That's it. That's the vibe check. πŸŽ€


🌸 NAME 🌸

qed_vf_check_mac β€” literally just checks if the VF can set a MAC address, no cap.


✨ SYNOPSIS ✨

bool qed_vf_check_mac (struct qed_hwfn *p_hwfn , u8 *mac );

That's the whole signature, bestie β€” copy it exactly, don't get creative with it 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

Two of them, both kind of important ngl:

  • p_hwfn β€” the HW device data. This is the hardware function thingy (the struct qed_hwfn *), your main character struct πŸ’œ
  • mac β€” the Mac. Yep, that's the u8 * right there. The MAC. πŸ“

⭐ RETURN ⭐

bool.

That's it. That's the return type. A bool β€” true-or-false energy, iconic, no further elaboration in the source and we're not about to invent some πŸ™ˆ


🧚 SEE ALSO 🧚

Everything below is exactly what the original lists, so scroll responsibly β€” there are like thirty of these and every single one is staying πŸ’€

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_vf.h β€” the hive, the mothership, the place where it all lives πŸ‘‘

And then the whole friend group, in order:

Lowkey the double-underscore ones are the introvert versions of the link getters, iykyk 🌈


That's the whole page, bestie β€” slay πŸ’…

Sign-off time: this cutie lives in ./drivers/net/ethernet/qlogic/qed, it's dated October 2026, and the page you just read is qed_vf_check_mac(9). Obsessed. πŸ¦‹βœ¨

πŸ“¦ where this page comes from