axienet_change_mtu(9)
π axienet_change_mtu(9) β like, the MTU glow-up routine
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for axienet_change_mtu, and honestly? it's short, it's sweet, it does exactly one job and it does it flawlessly. main character energy fr fr π
πΈ NAME πΈ
axienet_change_mtu β the driver's change-MTU routine. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
int axienet_change_mtu (struct net_device *ndev , int new_mtu );
like, you hand it a device and a number and it just... handles it. no drama. π¦
π«Ά ARGUMENTS π«Ά
ndevβ a pointer to thenet_devicestructure. yes, that one. the one we've all been texting. πnew_mtuβ the brand-new MTU value you want applied. the whole reason you knocked on the door, ngl.
π RETURN π
always returns 0 (success). no cap. every single time. it's giving "i don't miss" β πβ
π DESCRIPTION π
so this is the change-MTU driver routine. here's the tea: it checks whether the Axi Ethernet hardware actually supports jumbo frames before it goes and changes the MTU. no vibes-based MTU changes here, we verify first. π
β οΈ lowkey important: this can be called only when the device is not up. like, device-down only. do not @ me if you ignore this. π
π₯ SEE ALSO π₯
kernel file: ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c
and the whole friend group, in order because we're respectful like that:
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_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)
k bye bestie, go change that MTU responsibly π§π β this page came from the source path ./drivers/net/ethernet/xilinx, dated October 2026, and yes that's the whole signature, mwah π
π¦ 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