hns_mac_get_info(9)
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:
hns_mac_need_adjust_link(9)hns_mac_get_inner_port_num(9)hns_mac_change_vf_addr(9)hns_mac_port_config_bc_en(9)hns_mac_vm_config_bc_en(9)hns_mac_get_autoneg(9)hns_mac_get_pauseparam(9)hns_mac_set_autoneg(9)hns_mac_set_pauseparam(9)hns_mac_init_ex(9)hns_mac_get_mode(9)hns_mac_get_cfg(9)hns_mac_init(9)
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
- 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