octep_ctrl_n...et_link_info(9)
πΈ NAME πΈ
okay so this page is octep_ctrl_n...et_link_info(9) from the Kernel API Manual, and the function itself is octep_ctrl_net_get_link_info β and it does exactly what it says: get link info from firmware. β¨ No cap.
β¨ SYNOPSIS β¨
int octep_ctrl_net_get_link_info (struct octep_device *oct , int vfid ,
struct octep_iface_link_info *link_info );
That's the whole signature, bestie β copy it exactly and you're golden. π
π ARGUMENTS π
octβ non-null pointer tostruct octep_device. It's giving "you gotta pass this" energy.vfidβ Index of virtual function. Lowkey just the VF number.link_infoβ non-null pointer tostruct octep_iface_link_info. This is where the link info lands. π«Ά
π DESCRIPTION π
So the return value is literally: 0 on success, -errno on failure. That's the whole mood. π
π¦ SEE ALSO π¦
The squad β the whole friend group of references β is right here, no skips:
./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.hoctep_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_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 π this lil page was brought to you by source/version ./drivers/net/ethernet/marvell..., dated October 2026, and the page tag octep_ctrl_n...et_link_info(9). Stay slaying, kernel bestie. π
π¦ 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