arc_emac_get_drvinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… arc_emac_get_drvinfo

okay so real talk, this is a page straight out of the Kernel API Manual (that's the manual name bestie, we're in the big-leagues section 9), and honestly? it's a lil one. but it slays at the one thing it does, and i'm gonna walk you through it 🫢


✨ NAME ✨

arc_emac_get_drvinfo β€” literally just: get EMAC driver information. that's it. that's the whole gig πŸ‘‘


🌸 SYNOPSIS 🌸

void arc_emac_get_drvinfo (struct net_device *ndev , struct ethtool_drvinfo *info );

two pointers walk into a function and neither one of them comes back out with a return value. void queen behavior, we love a function that doesn't need to prove anything πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ndev β€” pointer to a net_device structure. your network device, your main character ✨
  • info β€” pointer to an ethtool_drvinfo structure. this is the lil container the driver info gets poured into πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

so what does it actually do? it implements the ethtool command for getting the driver information. that's the vibe check, and it passes βœ…

and like… how do you even trigger this bad boy? super easy, no cap. just issue

ethtool -i ethX

at the linux prompt and boom, this function gets executed. that's it. ethtool -i on your ethX interface = this function runs. iconic, lowkey πŸ¦‹

ngl bestie, that's the whole description. short manpage, but it ate and left no crumbs πŸ™ˆ

⭐ SEE ALSO ⭐

the kernel file to go peek at is ./drivers/net/ethernet/arc/emac_main.c β€” that's where the magic lives 🧚

and here's the whole friend group, no one left behind fr fr:


that's a wrap bestie!! this page lives at ./drivers/net/ethernet/arc, it's dated October 2026, and it's filed under arc_emac_get_drvinfo(9) β€” go forth, run ethtool -i ethX, and get that driver info πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from