axienet_device_reset(9)
π» axienet_device_reset(9) β your Kernel API Manual bestie π»
okay so weβre in the Kernel API Manual, and this is the page for axienet_device_reset(9). itβs giving βhardware reset but make it Axi Ethernet,β and Iβm obsessed. letβs get into it π«Ά
πΈ NAME πΈ
axienet_device_reset β reset and initialize the Axi Ethernet hardware. periodt. π
β¨ SYNOPSIS β¨
int axienet_device_reset (struct net_device *ndev );
π ARGUMENTS π
ndevβ pointer to thenet_devicestructure. thatβs the whole argument, bestie. no extra lore. π¦
π DESCRIPTION π
okay so axienet_device_reset is the function you call to reset and initialize the Axi Ethernet core. itβs typically called during initialization, which lowkey makes sense: youβre setting things up before the main character era begins. β¨
what it does, specifically: it does a reset of the Axi DMA Rx/Tx channels and initializes the Axi DMA BDs. and because the Axi DMA reset lines are connected to the Axi Ethernet reset lines, this in turn resets the Axi Ethernet core. so no separate hardware reset is done for the Axi Ethernet core β that part is literally handled by the connection. no cap. π₯
bestie, keep that hardware relationship in mind: the reset travels through the connected reset lines, and the function does not do a separate hardware reset for the Axi Ethernet core. π
π RETURN π
0on success π- a negative error number otherwise π
π¦ SEE ALSO π¦
the Kernel file, plus a whole group chat of friends:
- 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_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_regs(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)
π«Ά kisses from ./drivers/net/ethernet/xilinx Β· October 2026 Β· axienet_device_reset(9) Β· Kernel API Manual π«Ά
π¦ 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