axienet_ethtools_get_regs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axienet_ethtools_get_regs(9)

okay bestie, welcome to the Kernel API Manual β€” this one's a little function with main character energy, and she's about to spill all the register tea β˜•βœ¨


🌸 NAME 🌸

axienet_ethtools_get_regs β€” literally just dumps the contents of all the registers chilling inside the AxiEthernet core. Every single one. No cap. 🫢


✨ SYNOPSIS ✨

void axienet_ethtools_get_regs (struct net_device *ndev , struct
       ethtool_regs *regs , void *ret );

πŸŽ€ ARGUMENTS πŸŽ€

  • ndev β€” pointer to the net_device structure, aka the whole vibe of your network device πŸ’–
  • regs β€” pointer to the ethtool_regs structure, she's the one holding the regs situation together
  • ret β€” a void pointer used to hand back the contents of the registers. it's giving "here's your stuff, you're welcome" πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

So the way this actually works: this bad girl implements the ethtool command for getting the Axi Ethernet register dump πŸ‘‘

Wanna see it in action? Just issue this iconic little line:

ethtool -d ethX

and boom, that's what executes this function. that's the whole plot. periodt πŸ’…


🌈 SEE ALSO 🌈

the whole group chat is here, and yes we're tagging everyone:

Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c


okay that's the whole page bestie, go forth and dump those registers πŸ’–

and like, credit where credit's due β€” this lil masterpiece comes from ./drivers/net/ethernet/xilinx, dated October 2026, and it's filed under axienet_ethtools_get_regs(9). slay, honestly. πŸ§šπŸ’œ

πŸ“¦ where this page comes from