octep_ctrl_net_get_mtu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 to struct 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:


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