hns_xgmac_rx_enable(9)
π hns_xgmac_rx_enable(9) β like, the Kernel API Manual page, bestie π
okay so real talk: this is a page straight out of the Kernel API Manual, and it's about one (1) lil function that flips the receive side of an xgmac port on. that's the whole vibe. it's giving "small but essential," and honestly? we love a single-purpose icon. β¨
πΈ NAME πΈ
hns_xgmac_rx_enable β xgmac port rx enable, no cap π
β¨ SYNOPSIS β¨
void hns_xgmac_rx_enable (struct mac_driver *drv , u32 value );
she takes two things and returns literally nothing (void, main character energy: does her job, doesn't report back π«Ά).
π¦ ARGUMENTS π¦
drvβ the mac driver. yes, the actualstruct mac_driver *. that's your girl right there πvalueβ the value of enable. that's it, that's the whole description, and we respect the brevity π
π SEE ALSO π
the whole friend group, one big group chat, all in Kernel file ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c β go say hi to:
hns_xgmac_tx_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_info(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)
twenty besties. twenty. iykyk π₯
ngl there's a tx_enable sibling in there too β rx's other half β so if you're flipping receive you already know who to call for send. π
and that's the page!! π§π signed off from ./drivers/net/ethernet/hisilic... (yes it's truncated like that, don't come for me π) β dated October 2026, which is basically the future but whatever, slay βπ
π¦ 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