axienet_ethtools_get_regs(9)
π 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 thenet_devicestructure, aka the whole vibe of your network device πregsβ pointer to theethtool_regsstructure, she's the one holding the regs situation togetherretβ avoidpointer 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
axienet_dma_in32(9)axienet_dma_bd_release(9)axienet_calc_cr(9)axienet_coalesce_params(9)axienet_dma_start(9)axienet_dma_bd_init(9)axienet_set_mac_address(9)netdev_set_mac_address(9)axienet_set_multicast_list(9)axienet_setoptions(9)axienet_dma_stop(9)axienet_device_reset(9)axienet_free_tx_chain(9)axienet_check_tx_bd_space(9)axienet_dma_tx_cb(9)axienet_start_xmit_dmaengine(9)axienet_tx_poll(9)axienet_start_xmit(9)axienet_dma_rx_cb(9)axienet_rx_poll(9)axienet_tx_irq(9)axienet_rx_irq(9)axienet_eth_irq(9)axienet_rx_submit_desc(9)axienet_init_dmaengine(9)axienet_init_legacy_dma(9)axienet_open(9)axienet_stop(9)axienet_change_mtu(9)axienet_poll_controller(9)axienet_ethtools_get_drvinfo(9)axienet_ethtools_get_regs_len(9)axienet_ethtools_get_pauseparam(9)axienet_ethtools_set_pauseparam(9)axienet_update_coalesce_rx(9)axienet_dim_coalesce_count_rx(9)axienet_rx_dim_work(9)axienet_update_coalesce_tx(9)axienet_ethtools_get_coalesce(9)axienet_ethtools_set_coalesce(9)axienet_dma_err_handler(9)axienet_probe(9)
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
- 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