hns_xgmac_rx_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 actual struct 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:

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