octep_ctrl_n..._link_status(9)
β¨ NAME β¨
okay bestie, welcome to the octep_ctrl_net_get_link_status(9) page from the Kernel API Manual π. This is the one that gets the link status from firmware β yes, it literally asks firmware whatβs up with the link, no cap.
octep_ctrl_net_get_link_status β get link status from firmware.
πΈ SYNOPSIS πΈ
int octep_ctrl_net_get_link_status (struct octep_device *oct , int vfid
);
π ARGUMENTS π
octβ non-null pointer tostruct octep_device. Like, the page says non-null, so do not come in here with a null pointer, bestie π.vfidβ index of virtual function.
π¦ DESCRIPTION π¦
This section is short and iconic: the return value is the link status, with 0=down and 1=up. Thatβs the whole vibe β¨.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h octep_ctrl_net_init(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_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)
okay thatβs the whole page, ily π«Άπ
. Cute little sign-off: the footerβs source/version bit says ./drivers/net/ethernet/marvell... and the date is October 2026 β and yeah, the truncated title octep_ctrl_n..._link_status(9) is hanging out down there too. byeee πβ¨
π¦ 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