hns_mac_get_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hns_mac_get_info(9) πŸŽ€

okay so bestie, welcome to the hns_mac_get_info(9) page from the Kernel API Manual β€” yes, we are deep in kernel API land and it is giving very niche, very iconic πŸ’…


✨ NAME ✨

hns_mac_get_info β€” get mac information from device node. that's the whole assignment, no cap 🫢

🌸 SYNOPSIS 🌸

int hns_mac_get_info (struct hns_mac_cb *mac_cb );

πŸ’– ARGUMENTS πŸ’–

  • mac_cb β€” mac device. literally the mac device, bestie πŸ¦‹

⭐ RETURN ⭐

vibe check on what comes back:

0 --success, negative --fail

so 0 is the success case, and a negative value is the fail case 😭

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is right here, bestie:

./drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c

and these function girlies are all in the SEE ALSO squad:


that's the page, bestie! the footer says source/version ./drivers/net/ethernet/hisilic... and date October 2026 β€” bye, mwah πŸ’–πŸŽ€

πŸ“¦ where this page comes from