octep_ctrl_n...et_link_info(9)
π octep_ctrl_n...et_link_info(9) β Kernel API Manual
okay bestie, welcome to the octep_ctrl_n...et_link_info(9) page β¨ the header got chopped in the middle (octep_ctrl_n...et_link_info) but that's just the man page name being cute and mysterious, the actual function is the icon below, i promise π«Ά
β¨ NAME β¨
octep_ctrl_net_set_link_info β sets the link info up in firmware. that's it, that's the whole job π
π¦ SYNOPSIS π¦
int octep_ctrl_net_set_link_info (struct octep_device *oct , int vfid ,
struct octep_iface_link_info *link_info , bool wait_for_response );
here's the whole squad in one line, no cap π₯
π ARGUMENTS π
octβ a non-null pointer</> tostruct octep_device. literally cannot be null, bestie, that's the whole vibe check πvfidβ the index of the virtual function. which VF we're talking about, iykyk πlink_infoβ a non-null pointer</> tostruct octep_iface_link_info. yes, also non-null. both pointers are non-null. the man page said it twice so i'm saying it twice π«Άwait_for_responseβ poll for response. it's abool, so it's giving "yes queen, wait" or "no ma'am, we're not waiting" β
π DESCRIPTION π
the return value is the whole tea, so let me spill it: 0 on success, -errno on failure. that's the description. that's literally it. no extra lore, no hidden side quests π
ngl this is the shortest description section i've ever seen and honestly? iconic. main character energy in how little it needs to say π
π SEE ALSO π
the kernel file that owns all this lore lives right here:
./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h
and here's the whole group chat of sibling functions, all friends of octep_ctrl_net_set_link_info, all slaying in their own way π
β¨
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_set_mtu(9)octep_ctrl_net_get_if_stats(9)octep_ctrl_net_get_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)
go read all of them, i'm obsessed with a completionist queen πΈπ§
and that's the page, bestie π this came from the source path ./drivers/net/ethernet/marvell... and it's dated October 2026, so like... futuristic manpage but make it fashion ππ bye bestie, go set that link info π¦
π¦ 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