hns_xgmac_get_info(9)
π hns_xgmac_get_info β get xgmac information π
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the page for hns_xgmac_get_info(9), and honestly it's giving "small function, big friend group" energy. Let's get into it β¨
π¦ SYNOPSIS π¦
void hns_xgmac_get_info (void *mac_drv , struct mac_info *mac_info );
like, that's the whole signature. no return value (void, so it gives you nothing back β it's a giver in a different way, it fills in your struct π
). periodt.
πΈ ARGUMENTS πΈ
mac_drvβ the mac driver π«Ά this is the thing you hand over so it knows whose tea to spill.mac_infoβ the mac information π this is the pretty little container that gets the info poured into it.
π SEE ALSO π
bestie, the whole squad is here, no cap β every single one of these is a real one:
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.cβ hns_xgmac_tx_enable(9)hns_xgmac_rx_enable(9)hns_xgmac_lf_rf_insert(9)hns_xgmac_lf_rf_control_init(9)hns_xgmac_enable(9)hns_xgmac_disable(9)hns_xgmac_pma_fec_enable(9)hns_xgmac_init(9)hns_xgmac_config_pad_and_crc(9)hns_xgmac_pausefrm_cfg(9)hns_xgmac_set_tx_auto_pause_frames(9)hns_xgmac_config_max_frame_length(9)hns_xgmac_free(9)hns_xgmac_get_pausefrm_cfg(9)hns_xgmac_get_link_status(9)hns_xgmac_get_regs(9)hns_xgmac_get_stats(9)hns_xgmac_get_strings(9)hns_xgmac_get_sset_count(9)hns_xgmac_get_regs_count(9)
like, twenty whole functions. the group chat is popping ππ₯
lowkey a note to self, bestie: this page lives in the kernel API manual under the source path ./drivers/net/ethernet/hisilic... β yes it's cut off like that in the original, don't @ me π
and that's the vibe check, we're done!! π§ it's the October 2026 edition of the kernel API manual, sourced from ./drivers/net/ethernet/hisilic..., and I'm obsessed with how tidy that was πππ
π¦ 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