axienet_open(9)
β¨ axienet_open(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this is the page for axienet_open(9), and honestly it's giving "first day of school energy" for a network driver. let's get into it π
πΈ NAME πΈ
axienet_open β the driver open routine. yep, that's the whole vibe. it's the one that shows up and gets everything started. π
π¦ SYNOPSIS π¦
int axienet_open (struct net_device *ndev );
π ARGUMENTS π
ndevβ pointer to astruct net_devicestructure. that's your net device bestie, the whole main character of this function π«Ά
π RETURN π
0on success. slay. β¨- a non-zero error value on failure π β so like, if you get not-zero back, something went sideways, no cap.
π₯ DESCRIPTION π₯
so this is the driver open routine, periodt. here's the lil to-do list it runs through:
- it calls
phylink_startto start the PHY device β gotta wake the PHY up before anything else happens π - it also allocates interrupt service routines, enables the interrupt lines and ISR handling π§
- the Axi Ethernet core gets reset through the Axi DMA core π
- and the buffer descriptors get initialized β
that's it, that's the whole glow-up sequence. one function, four jobs, all iconic π
π SEE ALSO π
- 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_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)
iykyk, that's a lot of friends β go read them too, bestie ππ
ngl the whole friend group lives in ./drivers/net/ethernet/xilinx β that's where the source hangs out πΈ
and that's the page!! mwah ππ«Ά
β signed off with love from ./drivers/net/ethernet/xilinx, October 2026, brought to you by the 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