octep_ctrl_net_set_mtu(9)
π octep_ctrl_net_set_mtu β setting the MTU in firmware, bestie edition π
okay so this is a page from the Kernel API Manual, section 9 (kernel API, iykyk), and it's all about octep_ctrl_net_set_mtu β literally the function that sets the MTU in firmware. β¨
β¨ NAME β¨
octep_ctrl_net_set_mtu β Set mtu in firmware. π
πΈ SYNOPSIS πΈ
int octep_ctrl_net_set_mtu (struct octep_device *oct , int vfid , int
mtu , bool wait_for_response );
π¦ ARGUMENTS π¦
octβ a non-null pointer tostruct octep_device. Non-null, bestie, we're not playing games here. πvfidβ Index of virtual function.mtuβ mtu. that's it. that's the whole description. iconic minimalism tbh πwait_for_responseβ poll for response. π«Ά
π DESCRIPTION π
return value: 0 on success, -errno on failure. no cap β zero means slay, negative errno means the vibe check failed. π
π SEE ALSO π
The kernel file lives at ./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h β go read it, it's giving main character energy. π
and then the whole friend group, fr fr:
octep_ctrl_net_init(9)octep_ctrl_net_get_link_status(9)octep_ctrl_net_set_link_status(9)octep_ctrl_net_set_rx_state(9)octep_ctrl_net_get_mac_addr(9)octep_ctrl_net_set_mac_addr(9)octep_ctrl_net_get_mtu(9)octep_ctrl_net_get_if_stats(9)octep_ctrl_net_get_link_info(9)octep_ctrl_net_set_link_info(9)octep_ctrl_net_recv_fw_messages(9)octep_ctrl_net_get_info(9)octep_ctrl_net_dev_remove(9)octep_ctrl_net_set_offloads(9)octep_ctrl_net_uninit(9)
π reminder that these all live in the same header, so if you're poking around one of them you're gonna trip over the others. it's giving family reunion.
and that's the page, bestie! π§ this one's from the source ./drivers/net/ethernet/marvell... and it's dated October 2026 β so like, mark your calendars, octep_ctrl_net_set_mtu(9) said see you then πβ
π¦ 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