wx_change_mtu(9)
π wx_change_mtu β the kernel API manual, bestie edition
okay so real quick, before we dive in: this is a page from the Kernel API Manual (section 9, kernel land, iykyk) and it's literally all about one lil' function. let's go π«Ά
β¨ NAME β¨
wx_change_mtu β Change the Maximum Transfer Unit
like... that's the whole vibe. it changes the MTU. iconic behavior honestly.
πΈ SYNOPSIS πΈ
int wx_change_mtu (struct net_device *netdev , int new_mtu );
yes bestie, exactly like that, spaces and all. don't @ me, that's how it's written π
π ARGUMENTS π
netdevβ the network interface device structure. your actual lil' network baby, the thing you're poking at π¦new_mtuβ the new value for maximum frame size. the glow-up number you're assigning β¨
π DESCRIPTION π
Returns 0 on success, negative on failure. that's it. that's the whole description. no cap, she's a short queen π
so when your call comes back 0? slay, it worked. comes back negative? it's giving failure, go check yourself π
π₯ SEE ALSO π₯
okay so this is the part where the manpage just dumps the entire friend group on you. like a group chat roster. every single one, no skips:
the kernel file:
./drivers/net/ethernet/wangxun/libwx/wx_hw.cβ
and then, in order:
wx_irq_disable(9)wx_mng_present(9)wx_release_sw_sync(9)wx_acquire_sw_sync(9)wx_host_interface_command(9)wx_read_ee_hostif_data(9)wx_read_ee_hostif(9)wx_read_ee_hostif_buffer(9)wx_init_eeprom_params(9)wx_get_mac_addr(9)wx_set_rar(9)wx_clear_rar(9)wx_clear_vmdq(9)wx_init_uta_tables(9)wx_init_rx_addrs(9)wx_write_uc_addr_list(9)wx_mta_vector(9)wx_set_mta(9)wx_update_mc_addr_list(9)wx_write_mc_addr_list(9)wx_set_mac(9)wx_set_rxpba(9)wx_hpbthresh(9)wx_lpbthresh(9)wx_pbthresh_setup(9)wx_disable_sec_rx_path(9)wx_enable_sec_rx_path(9)wx_configure_tx(9)wx_configure_rx(9)wx_disable_pcie_master(9)wx_stop_adapter(9)wx_get_pcie_msix_counts(9)wx_init_rss_key(9)wx_find_vlvf_slot(9)wx_set_vlvf(9)wx_set_vfta(9)wx_clear_vfta(9)wx_update_stats(9)wx_clear_hw_cntrs(9)wx_start_hw(9)
forty of them. that's not a typo, that's a whole squad ππ
quick reminder bestie: everything above that starts withwx_is a manpage in section 9, so go read them with the section number or themancommand will ghost you π
and that's the page!! π this lil' beauty comes from ./drivers/net/ethernet/wangxun... (that's the source/version tag, she's long, she's beautiful, she got truncated mid-path) and it's dated October 2026. signed, sealed, wx_change_mtu(9) β 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