octep_ctrl_net_get_mtu(9)
πΈ NAME πΈ
okay so bestie, this is octep_ctrl_net_get_mtu, straight from the Kernel API Manual π β the function that gets the max MTU from firmware. literally that's the whole name, no cap β¨
β¨ SYNOPSIS β¨
int octep_ctrl_net_get_mtu (struct octep_device *oct , int vfid );
π«Ά ARGUMENTS π«Ά
octβ a non-null pointer tostruct octep_device. non-null, bestie β don't be passing a NULL and acting surprised πvfidβ index of virtual function. the VF index, iykyk π¦
π DESCRIPTION π
return value: mtu on success, -errno on failure. that's it, that's the vibe check β success gives you the mtu, failure gives you -errno πΈ
π¦ SEE ALSO π¦
the kernel file to peek at is ./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h π
and the related besties are:
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_set_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)
mwah π source/version: ./drivers/net/ethernet/marvell..., date: October 2026, manual: octep_ctrl_net_get_mtu(9) β byeeee, slay responsibly π
π¦ 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